Menu Degelmann Solutions DeltaRecon documentation v0.2.0
DeltaRecon product page

Stage 3 · Work with it

Single commands

Every command of DeltaRecon explained: what it does, an example to copy, its options, and the files it reads and writes.

Start a single command

Windows

Open PowerShell in the package folder. Every command begins with the launcher .\deltarecon.cmd, followed by the name of the command. Paths are written with \.

Linux

Open a terminal in the package folder. Every command begins with the launcher ./deltarecon, followed by the name of the command.

The exit status of a command

request: say what is to be computed

Synopsis

deltarecon request --revision REVISION [--stage STAGE] --label LABEL
                   --run-id RUN_ID --output OUTPUT
                   [--subset MODEL_POINT_ID [MODEL_POINT_ID ...]]
                   [--enable CHANGE_ID [CHANGE_ID ...]]
                   [--manifest MANIFEST] [--engine MODULE:CLASS]
                   [--engine-path DIR] [--engine-option KEY=VALUE]
                   [--repositories DIR]

Windows PowerShell

.\deltarecon.cmd request --revision fa368575a66d97c94e96dffc62b273ec95511b12 --label N --run-id run-n-full --output runs\n-full\request.json

Linux

./deltarecon request --revision fa368575a66d97c94e96dffc62b273ec95511b12 --label N --run-id run-n-full --output runs/n-full/request.json
  1. The release--revision

    required
  2. A label for the release--label

    required
  3. A name for the run--run-id

    required
  4. Where the request is written--output

    required
  5. The stage--stage

  6. Some model points only--subset

  7. Changes to enable--enable

  8. The change manifest of these changes--manifest

  9. Shared options

Reads

  1. The history of the modeldelib-history/

  2. A change manifest

Writes

  1. The requestrequest.json

run: compute a request

Synopsis

deltarecon run [--workers N] [--engine MODULE:CLASS] [--engine-path DIR]
               [--repositories DIR]
               request

Windows PowerShell

.\deltarecon.cmd run runs\n-full\request.json

Linux

./deltarecon run runs/n-full/request.json
  1. Shared options

Reads

  1. The requestrequest.json

  2. The history of the modeldelib-history/

Writes

  1. The responseresponse.json

  2. The resultsresults.csv

  3. The recordrun-record.json

replay: repeat a recorded run

Synopsis

deltarecon replay [--tolerance FILE] [--workers N] [--engine MODULE:CLASS]
                  [--engine-path DIR] [--repositories DIR]
                  run_record

Windows PowerShell

.\deltarecon.cmd replay runs\n-full\run-record.json

Linux

./deltarecon replay runs/n-full/run-record.json
  1. Shared options

Reads

  1. The recordrun-record.json

  2. The history of the modeldelib-history/

  3. A tolerance profile

Writes

  1. The repeated runreplay/

  2. The comparisonreplay-compare.request.json

  3. The values that deviatereplay-compare.deviations.csv

  4. The record of the replayreplay-record.json

compare: compare two runs

Synopsis

deltarecon compare request

Windows PowerShell

.\deltarecon.cmd compare runs\n-full\replay-compare.request.json

Linux

./deltarecon compare runs/n-full/replay-compare.request.json

Reads

  1. The compare request

Writes

  1. The resultcompare.result.json

  2. The values that deviatecompare.deviations.csv

  3. The signature tablesignature-table.json

  4. The record of the comparisoncompare.run-record.json

regression: check a recorded run against a newer revision

Synopsis

deltarecon regression --revision REVISION --output OUTPUT [--label LABEL]
                      [--tolerance FILE] [--workers N]
                      [--engine MODULE:CLASS] [--engine-path DIR]
                      [--engine-option KEY=VALUE] [--repositories DIR]
                      run_record

Windows PowerShell

.\deltarecon.cmd regression runs\n-full\run-record.json --revision 887b7181d22550eda2fb52fa1a6bd77376d4eb2e --output runs\regression-n

Linux

./deltarecon regression runs/n-full/run-record.json --revision 887b7181d22550eda2fb52fa1a6bd77376d4eb2e --output runs/regression-n
  1. The newer release--revision

    required
  2. The folder to write--output

    required
  3. A label for the newer release--label

  4. Shared options

Reads

  1. The record of the older runrun-record.json

  2. The history of the modeldelib-history/

  3. A tolerance profile

Writes

  1. A copy of the recorded runrecorded/

  2. The new runrun/

  3. The comparisoncompare.request.json

derive: list the changes between two recorded runs

Synopsis

deltarecon derive --output OUTPUT [--engine MODULE:CLASS]
                  [--engine-path DIR] [--repositories DIR]
                  older_record newer_record

Windows PowerShell

.\deltarecon.cmd derive runs\n-full\run-record.json runs\regression-n\run\run-record.json --output runs\changes.json

Linux

./deltarecon derive runs/n-full/run-record.json runs/regression-n/run/run-record.json --output runs/changes.json
  1. Where the change manifest is written--output

    required
  2. Shared options

Reads

  1. The two recordsrun-record.json

  2. The history of the modeldelib-history/

Writes

  1. The change manifestchanges.json

walk: compute every state between two recorded runs

Synopsis

deltarecon walk --output OUTPUT [--tolerance FILE] [--workers N]
                [--engine MODULE:CLASS] [--engine-path DIR]
                [--repositories DIR]
                older_record newer_record

Windows PowerShell

.\deltarecon.cmd walk runs\n-full\run-record.json runs\regression-n\run\run-record.json --tolerance profiles\tolerance-bruttobeitrag.json --output runs\walk

Linux

./deltarecon walk runs/n-full/run-record.json runs/regression-n/run/run-record.json --tolerance profiles/tolerance-bruttobeitrag.json --output runs/walk
  1. The folder to write--output

    required
  2. Shared options

Reads

  1. The two recordsrun-record.json

  2. The history of the modeldelib-history/

  3. A tolerance profile

Writes

  1. The resultwalk.result.json

  2. The record of the walkwalk.run-record.json

  3. Copies of the two recorded runsolder/

  4. The states and their comparisonsstate-00/

Synopsis

deltarecon search --output OUTPUT [--quantity NAME] [--periods FIRST-LAST]
                  [--walk FOLDER] [--reuse-walk] [--target-only]
                  [--tolerance FILE] [--workers N] [--engine MODULE:CLASS]
                  [--engine-path DIR] [--repositories DIR]
                  older_record newer_record

Windows PowerShell

.\deltarecon.cmd search runs\n-full\run-record.json runs\regression-n\run\run-record.json --quantity Bruttobeitrag --periods 0-59 --tolerance profiles\tolerance-bruttobeitrag.json --target-only --output runs\search

Linux

./deltarecon search runs/n-full/run-record.json runs/regression-n/run/run-record.json --quantity Bruttobeitrag --periods 0-59 --tolerance profiles/tolerance-bruttobeitrag.json --target-only --output runs/search
  1. The folder to write--output

    required
  2. A quantity of the target--quantity

  3. The periods of the target--periods

  4. A walk to check against--walk

  5. States from that walk--reuse-walk

  6. Inner states on the target alone--target-only

  7. Shared options

Reads

  1. The two recordsrun-record.json

  2. The history of the modeldelib-history/

  3. A tolerance profile

  4. The folder of a walk

Writes

  1. The resultsearch.result.json

  2. The record of the searchsearch.run-record.json

  3. The change manifestchanges.json

  4. Copies of the two recorded runsolder/

  5. The states and their comparisonsstate-00/

  6. The copy of the walkwalk/

quickstart: the guided demo

Synopsis

deltarecon quickstart [--no-pause] [--lang {de,en}] [--repositories DIR]

Windows PowerShell

.\quickstart.cmd

The starter ends with pause, so a window that a double click opened stays open until you press a key.

Linux

./quickstart

At the end the starter waits for Enter only when its input is a terminal.

  1. Without waiting--no-pause

  2. The language--lang

  3. Shared options

Reads

  1. The history of the modeldelib-history/

  2. The tolerance profiletolerance-bruttobeitrag.json

Writes

  1. The folder of the demoquickstart-<UTC time>/

  2. The run of release Nrelease-n/

  3. The regressionregression/

  4. The change manifestchanges.json

  5. The searchsearch/

Options that several commands share

  1. The tolerance profile--tolerance

  2. The number of worker processes--workers

  3. The engine--engine

  4. The folder of the engine--engine-path

  5. An option of the engine--engine-option

  6. The folder of the histories--repositories

Hint

The engine options are for an engine of your own