System Design Atlas

Research data and reproducible analysis

02 / 10Worked example

Requirements

Which domain rule protects the analysis run, and how is its agreed limit checked?

The case boundary determines domain rules and measurable targets. For analysis run L-28, the central invariant is: a published result references immutable hashes of input, recipe and environment; new files create a new revision. This must hold after every completed operation. Quality targets describe measurable operational behaviour.

Starting point Provenance connects data, processing recipe and environment.

Assumptions for the example case

An original fictional design for a deterministic tabular analysis run with frozen input, recipe and environment. A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out. All figures and test targets are illustrative assumptions.

Business guarantee and measurable limit

Guarantee and preconditions

1
Run L-28binds input, recipe, environment and result hash
2
Data set D-28Immutable input hash with origin
3
Recipe R-28Executable analysis recipe and environment
Exact limitRuntime budget: 599 s allowed · timed out from 600 s

Published results bind immutable hashes for input, recipe, and environment.

A published result references immutable hashes of input, recipe, and environment; new files generate a new revision.

Business requirements (functional)

Further reading
Durable commitment
A published result references immutable hashes of input, recipe, and environment; new files generate a new revision.
Evidence and closure
Archive acknowledges the same artifact hashes.

Operational goals (non-functional)

Further reading
Local processing
Illustrative target: 95% of local commands complete in under 800 milliseconds during a 15-minute profile at 2 commands/s. External processing and human waiting time are measured separately.
Observable limit
A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out. The boundary test checks this design rule; operational performance remains to be measured.

Publication requires a reviewed result version

Publication requires a reviewed result version

Publication requires a reviewed result version.

A published result references immutable hashes of input, recipe, and environment; new files generate a new revision.

A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out. The exercise specifies input and expected outcome.

Alternative considered
A response-time target alone leaves invalid business states unchecked.
Trade-off
Strict validation can pause an operation for investigation.
Reassess
Measured processing times or new publication archive contracts require the targets to be reviewed.

Try it yourself

Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.

A hint for your attempt

Completing an operation quickly but incorrectly does not satisfy the business guarantee.

Compare with a possible solution
Business rule
A published result references immutable hashes of input, recipe, and environment; new files generate a new revision. The counterexample test checks the permitted state.
Operations and boundary
The 800-millisecond target applies to 95% of local commands in the assumed peak profile. A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out.

Apply to your project

Which rule of your project remains binding even with slow processing?

Next, job volume and computing budget are measured separately.