| Observed exhibit | Value |
|---|---|
| Requested worker-count settings |
1, 10, 30
|
| Old exact checks | 3/3 pass; returned 1, 10, 20
|
| Added requested setting |
requested=0
|
| Required minimum / returned setting |
1 / 0
|
| Recorded failure |
AssertionError; exit 1 |
Returning zero violates the minimum worker-count setting of one. The helper only returns a setting; it does not start workers. Recorded teaching-code replay: 28 October 2026, Python 3.14.7, assertions enabled. Inspect the replay identity, raw stdout and raw failure.
01 / What a passing result means
What does a green test actually establish?
A green report records acceptance under a particular runner, selection and assertion configuration. To use it as requirement evidence, check that the intended assertions actually ran, then examine the expected behavior's authority, selected inputs, call path and execution basis.
An oracle is the basis for judging an observed result. Generating more inputs does not supply the correct answer. Nor does copying yesterday's output establish that it remains approved behavior. Barr et al.
Use this review when a green suite conflicts with an approved rule, a bug survives existing tests, or a consequential change needs assessment. Extend the observations to committed state, later effects or timing when the requirement depends on them.
| Claim | Evidence needed |
|---|---|
| This failing instance is repaired | The same input and relevant starting state produce the required observation on the identified correction. |
| This requirement was reverified within a declared scope | The stated obligations, cases, interfaces and configurations have current results meeting their criteria; missing work remains visible. |
| This bounded defect class is closed | A defined class and an argument that the evidence addresses every obligation within its stated scope, with explicit assumptions and disposition of exceptions. Passing examples alone do not establish this claim. |
Confirmation of a repair and regression testing have different purposes: one checks the original defect; the other checks for adverse effects of the change. Neither automatically completes every obligation on the requirement. ISTQB §2.2.3
02 / Start with a usable record
Free worksheet: review one green result
Copy the complete record into an issue, repository document or review. Replace brackets with evidence or an explicit unresolved item and owner. Filling it in prepares the review; execution and acceptance need their own records.
Blank worksheet
GREEN RESULT REVIEW
Record ID / revision:
Decision this record supports:
Engineer / executor:
Requirement owner / oracle reviewer:
Acceptance authority / recorded disposition:
Initial evidence status: NOT RUN / NOT ASSESSED.
Initial acceptance status: NOT ACCEPTED.
REQUIREMENT AUTHORITY
Requirement ID, revision, authoritative wording and source:
Approval reference and who may change the rule:
Required behavior and consequence of violating it:
Unresolved policy questions, owner and decision needed:
ALLOWED INPUT DOMAIN
Callable input representation and units:
Allowed types, values, sizes and relevant starting state:
Bounds, inclusiveness and neighbor spacing:
Negative-input policy: allowed / rejected / unspecified; authority:
Zero, empty and exceptional-value policy where relevant:
Outside-precondition behavior and exclusions:
Parser/adapter transformations before the tested callable:
INDEPENDENT EXPECTATIONS
Case ID | input/state | required result/effects | basis | selection reason:
Expected values or properties derived independently of implementation:
Oracle review status and reviewer:
Exact equality, required type, tolerance or permitted normalization:
Observation point and how completion is detected:
ACTUAL IMPLEMENTATION AND HARNESS
Entrypoint/signature and implementation file:
Baseline revision/build/hash:
Candidate or corrected revision/build/hash:
Harness, adapter and dependency identities:
Call path showing that the intended implementation is invoked:
Runtime/tool versions, settings and relevant environment:
Prerequisites, setup/reset/isolation and working directory:
Exact command(s), including selection and output destination:
Expected command exit and what it means:
Blockers or conditions that invalidate a run:
SUITE SELECTION AND ASSERTION SENSITIVITY
Required cases/obligations and why each is selected:
Executed / omitted / skipped / disabled selections:
Exact asserted condition; separately recorded diagnostics:
Plausible wrong implementation or result the assertion must reject:
Control expectation / actual result / evidence:
Counting unit; repeated versus distinct inputs:
FAILING WITNESS
Smallest useful retained input and relevant state:
Requirement expectation:
Actual value, effects, exception and exit:
Baseline implementation/run identity:
Raw observation and failing assertion references:
Diagnosis: missing input / weak assertion / oracle / call path / stale result:
Unresolved alternative explanations:
IMPLEMENTED CORRECTION AND REPLAY
Actual change and corrected callable/revision/hash:
Status: PROPOSED / IMPLEMENTED / EXECUTED.
Replay command and same-witness expected/actual result:
Related checks rerun, selection and observed results:
Failures, omissions and regression evidence still needed:
CLAIM, FRESHNESS AND NEXT ACTION
Instance-repair claim supported by:
Declared requirement scope reverified:
Bounded defect-class definition and closure argument, if any:
Assumptions, exclusions and remaining evidence:
Evidence locations, commands, versions, configuration and hashes:
Stale-evidence triggers:
Rerun or justified reuse decision and authority:
Next action | assigned person/team | completion condition:
Reviewer / acceptance decision / unresolved exceptions:
Filled record for the worked evidence
This record describes the frozen worker-count setting exercise. It records no product approval or release decision. All project follow-up below is proposed.
GREEN RESULT REVIEW
Record: tests-pass-bugs-ship-clamp-v1.
Decision: What do the recorded passing clamp checks establish?
Authority: Authored fictional contract workers-clamp-teaching-v1.
Evidence status: Recorded fixture observations; project checks unperformed.
Project executor / oracle reviewer: UNASSIGNED.
Acceptance status: No project acceptance decision.
REQUIREMENT AUTHORITY
Source: contract.json; clauses W1, W2 and W3.
W1: requested < 1 returns 1.
W2: 1 <= requested <= 20 returns requested unchanged.
W3: requested > 20 returns 20.
Negative -> 1 is an explicitly new fictional rule, not recovered intent.
Adopter's unresolved decision: approve the real caller's domain and policy.
ALLOWED INPUT DOMAIN
Unit: scalar worker-count integer.
Precondition: type(requested) is int; bool is excluded.
All Python integers, including negatives, are allowed by this contract.
Bounds 1 and 20 are inclusive; integer neighbors differ by 1.
Pure helper; no retained state, parser, type validator or worker executor.
Outside-precondition behavior: unspecified and unperformed.
No caller integration, scheduling, concurrency or resource behavior observed.
INDEPENDENT EXPECTATIONS
Test-owned literal values in cases.json:
requested: -1 0 1 2 10 19 20 21 30
expected: 1 1 1 2 10 19 20 20 20
Six neighbors 0/1/2 and 19/20/21 are within those nine.
Existing-three selection: 1/10/30; expected 1/10/20.
Separate designed held-out case: 7 -> 7.
Literals implement the written W1/W2/W3 expectations; they do not call
the repaired min/max expression. Project oracle approval remains separate.
Observation: exact returned int immediately after each synchronous call.
Literal gate:
error is None and type(actual) is int and actual == case["expected"]
ACTUAL IMPLEMENTATION AND HARNESS
File: clamp.py; all baseline/correction/control functions coexist.
SHA256: e823d3b762acfff6103685882c732c5662fdb125f3c5f6a7faff6b32ad3f7bf1
Baseline: workers_upper_only(requested), returning min(requested, 20).
Correction: workers_corrected(requested),
returning max(1, min(requested, 20)).
Call path: reproduce.py -> child run_cases.py -> cases.json selection ->
IMPLEMENTATIONS[args.implementation](case["requested"]) ->
the imported clamp.py function.
Historical path: reproduce.py executes unchanged historical-snippet.py;
its function is workers, separate from the structured harness exports.
Harness/contract/oracle identities: PROVENANCE.json and manifest.json.
RUNTIME AND COMMANDS
Primary recorded runtime: Python 3.14.7; assertions enabled;
optimize_flag=0; PYTHONOPTIMIZE unset.
Recorded executable: /opt/homebrew/opt/python@3.14/bin/python3.14
Actual failing child command, from the kit root:
/opt/homebrew/opt/python@3.14/bin/python3.14 -B -u run_cases.py --implementation upper-only --selection original-zero --oracle literal
Actual corrected selected-nine child command:
/opt/homebrew/opt/python@3.14/bin/python3.14 -B -u run_cases.py --implementation corrected --selection selected-nine --oracle literal
All ten actual child command arrays are in observed/reproduction-summary.json.
Portable full reproduction, from a freshly extracted kit:
python3 reproduce.py
Preserve a previous output directory with:
python3 reproduce.py --output-dir another-run
Declared prerequisite: ordinary Python 3.10+ and its standard library.
Observed versions: primary 3.14.7; secondary portability replay 3.12.14,
with identical source hashes. The secondary raw capture is not in the kit.
Python 3.10+ is a prerequisite, not a tested version matrix.
Do not use -O or PYTHONOPTIMIZE. No packages, service or network required.
rerun-output must be absent/empty, or choose another absent/empty directory.
Wrapper exit 0 means expected passing AND failing observations reproduced.
SELECTION, SENSITIVITY AND OBSERVATIONS
Passes/calls, with the literal gate unless marked weak:
upper-only existing-three: 3/3; original-zero: 0/1.
upper-only six-neighbors, weak 0 <= actual <= 20 gate: 6/6,
with one separately recorded requirement mismatch at 0.
upper-only selected-nine: 7/9; fails -1 and 0.
corrected selected-nine: 9/9.
constant-one selected-nine: 3/9.
cap-nineteen selected-nine: 6/9.
interior-hole selected-nine: 9/9; held-out-seven: 0/1, actual 8.
corrected held-out-seven: 1/1, actual 7.
Ten structured gates; 57 helper calls; ten distinct integer values.
Separate historical-snippet replay: four calls, then AssertionError.
These controls are designed, not a randomized or mutation-tool campaign.
FAILING WITNESS AND IMPLEMENTED CORRECTION
Witness: requested=0; required exact int 1; baseline actual exact int 0.
Structured original-zero gate: exit 1.
Historical replay stdout: Existing cases: 3 passed
Historical replay stdout: Boundary case: requested=0, expected=1, actual=0
Historical replay: real AssertionError; exit 1.
Diagnosis: original selection omitted 0; weak gate admits its wrong result.
Correction status: IMPLEMENTED AND EXECUTED as workers_corrected.
Same witness: 0 -> 1 in corrected-selected-nine; selected nine all pass.
Separate 7 -> 7 replay passes. No mid-run source edit is implied.
CLAIM AND REMAINING EVIDENCE
Instance at 0: repaired on the identified corrected callable.
Requirement evidence: selected nine exact checks plus separate input 7.
All-input correctness and bounded defect-class closure: not established.
No outside-domain validation, parser, fixed-width overflow, real worker
execution, integration, concurrency, resource or production check performed.
No Proof command, solver run or certification result.
Earlier 2 October execution: attributed by the retained page;
original raw log/runtime unavailable. Current evidence is a new 28 October
2026 replay, not authentication of that earlier execution.
EVIDENCE
Kit: https://reqproof.com/assets/tests-pass-bugs-ship/tests-pass-bugs-ship-evidence-kit.zip
ZIP checksum: https://reqproof.com/assets/tests-pass-bugs-ship/tests-pass-bugs-ship-evidence-kit.zip.sha256
Base: https://reqproof.com/assets/tests-pass-bugs-ship/research-rerun/
Source/authority: clamp.py, run_cases.py, reproduce.py,
contract.json, cases.json, historical-snippet.py, historical-origin.json.
Identity: PROVENANCE.json, manifest.json, SHA256SUMS.
Results: observed/reproduction-summary.json and its named child files.
Failure: observed/upper-only-original-zero.stdout.json.
Repair: observed/corrected-selected-nine.stdout.json.
Historical failure: observed/historical-replay.stdout.txt and
observed/historical-replay.stderr.txt.
STALE-EVIDENCE TRIGGERS
Requirement/domain/negative policy, literal table, assertion, selection,
callable, harness, dependency, runtime, optimization or caller mapping changes.
Assess impact; rerun affected checks or record an authorized reuse decision.
Retain old observations as historical evidence.
PROPOSED ACCOUNTABLE NEXT ACTIONS
Adopting engineer: assign actual requirement owner and oracle reviewer.
Requirement owner: resolve real domain/policy before approving expectations.
Implementation owner: identify actual caller/revision and required effects.
Verifier: run the witness and declared related checks; retain raw results.
Reviewer/acceptance authority: assess remaining work and record disposition.
All project assignments and production checks remain unperformed here.
03 / An observed failure and an implemented correction
The worker-count clamp: challenge the input and the assertion
The retained snippet checks 1, 10, 30 before trying zero. In the recorded 28 October 2026 replay, three assertions pass, zero returns zero and a real AssertionError follows. Replay record
The new exercise contract makes the domain explicit: exact Python integers, excluding bool. Below 1 return 1; preserve 1 through 20 inclusive; above 20 return 20. Allowing negative integers and returning 1 is a newly authored fictional policy. The fixture implements no input validator or parser, and specifies no behavior outside that precondition.
Bind the result to the actual functions
These are the baseline and implemented correction in
clamp.py
:
def workers_upper_only(requested):
return min(requested, 20)
def workers_corrected(requested):
return max(1, min(requested, 20))
Both functions exist in the frozen file.
run_cases.py
imports them and calls the selected function directly. This is scalar helper execution, not actual worker creation.
The historical expected expression mirrors the repair. New checks read test-owned literal answers; review them against the contract rather than treating a separate file as proof of validity.
Inspect each required answer
| Requested | Required literal | Upper-only actual | Corrected actual |
|---|---|---|---|
| -1 | 1 | -1: fail | 1 |
| 0 | 1 | 0: fail | 1 |
| 1 | 1 | 1 | 1 |
| 2 | 2 | 2 | 2 |
| 10 | 10 | 10 | 10 |
| 19 | 19 | 19 | 19 |
| 20 | 20 | 20 | 20 |
| 21 | 20 | 20 | 20 |
| 30 | 20 | 20 | 20 |
The exact gate requires no exception, an exact int result and equality with the literal. The baseline passes 7/9; the correction passes 9/9, including the original failing input 0 → 1. Baseline rows · Corrected rows
Inspect the failing witness · Get the runnable evidence kit
Adding the input does not repair a weak assertion
The deliberately weak gate uses:
error is None and type(actual) is int and 0 <= actual <= 20
It passes all six neighbors, 0, 1, 2, 19, 20, 21, on the upper-only baseline. Zero was executed, but its wrong result was accepted. The report separately records passed: true and requirement_value_matched: false for that row. Inspect the weak-gate output
This is an assertion gap even though the disputed input ran.
Challenge the stronger checks too
| Deliberately seeded control or correction | Selected gate | Passes / calls | What the observation shows |
|---|---|---|---|
| Always return 1 | Nine literal cases | 3/9 | Exact expectations reject loss of in-range preservation and the upper result. |
| Cap at 19 | Nine literal cases | 6/9 | Inputs 20, 21 and 30 expose the wrong cap. |
| Return 8 at 7; otherwise use the correction | Nine literal cases | 9/9 | This selected table misses the seeded interior error. |
| Same interior-hole control | Separate 7 → 7 case |
0/1 | Actual 8 violates the literal expectation. |
| Corrected function | Separate 7 → 7 case |
1/1 | Actual 7 matches this additional check. |
All gate results and commands · Interior failure · Corrected seven
Input 7 was intentionally selected to expose the seeded variant. This is a designed sensitivity demonstration, not a randomized campaign, statistically independent holdout or measured mutation score. The identified correction returns one for request zero and passes the selected checks; those observations do not establish the rule for other allowed requests or real callers.
Reproduce the contrast
Download the evidence ZIP and checksum, extract into a fresh directory, and read its README. Use ordinary Python 3.10+ with assertions enabled. No packages, network service or Proof installation are needed after obtaining the kit.
From the extracted kit root:
python3 reproduce.py
A previous rerun-output/ must be absent or empty. To retain an earlier run, select another absent or empty directory:
python3 reproduce.py --output-dir another-run
Do not use -O or PYTHONOPTIMIZE: optimized Python can remove the retained snippet's assertions. The wrapper rejects an optimized interpreter before any helper invocation. The structured gates themselves use explicit comparisons. Python assert semantics · Wrapper source
Wrapper exit 0 means the expected passing and failing observations reproduced. It does not mean every implementation passed. Keep the new output separately from observed/; its runtime and timestamps belong to your new run.
Follow the green result through six checks
Download the complete video transcript.
Read the complete video transcript
This teaching helper chooses a worker-count setting without starting workers. Its fictional rule is to return one for requests below one, preserve one through twenty, and return twenty above twenty. The original function enforces only the maximum. Requests of one, ten and thirty pass its exact checks because none is below one. Zero returns zero instead of the minimum one. The recorded 28 October 2026 replay raised AssertionError.
Read the contract before accepting an answer. This fictional exercise allows exact Python integers, including negatives, and excludes booleans. It returns one below one, preserves one through twenty, and returns twenty above twenty. The negative-input rule is newly authored. Literal expected answers are stored separately from the implementation's calculation.
Now challenge the assertion. The deliberately weak check accepts any exact integer from zero through twenty. All six selected edge neighbors pass that gate, even though zero still returns zero. The recorded requirement comparison rejects that answer. Executing the missing input helps only when the assertion can detect its violation.
Inspect the implemented correction and its replay. The corrected helper applies both limits and passes all nine literal cases, including zero returning one. The always-one and cap-nineteen controls fail the exact checks. These results show sensitivity to those particular wrong implementations, with the callable and source identities retained.
Look beyond the selected edges. A deliberately seeded implementation returns eight for seven and otherwise uses the correction. It passes all nine selected cases, then fails the separately designed seven case. The corrected helper returns seven. This planned contrast demonstrates a selection limit, not random discovery or a mutation score.
The identified correction now returns the minimum setting one for request zero, and its selected input checks passed. Other allowed requests and real callers still need relevant evidence. For your project, keep the approved rule, green assertions, candidate revision and smallest failing input together. Assign the remaining checks and name who will decide whether the results support the change.
Read the text walkthrough
-
This teaching helper chooses a worker-count setting without starting workers. Its fictional rule is to return one for requests below one, preserve one through twenty, and return twenty above twenty. The original function enforces only the maximum. Requests of one, ten and thirty pass its exact checks because none is below one. Zero returns zero instead of the minimum one. The recorded 28 October 2026 replay raised AssertionError.
-
Read the contract before accepting an answer. This fictional exercise allows exact Python integers, including negatives, and excludes booleans. It returns one below one, preserves one through twenty, and returns twenty above twenty. The negative-input rule is newly authored. Literal expected answers are stored separately from the implementation's calculation.
-
Now challenge the assertion. The deliberately weak check accepts any exact integer from zero through twenty. All six selected edge neighbors pass that gate, even though zero still returns zero. The recorded requirement comparison rejects that answer. Executing the missing input helps only when the assertion can detect its violation.
-
Inspect the implemented correction and its replay. The corrected helper applies both limits and passes all nine literal cases, including zero returning one. The always-one and cap-nineteen controls fail the exact checks. These results show sensitivity to those particular wrong implementations, with the callable and source identities retained.
-
Look beyond the selected edges. A deliberately seeded implementation returns eight for seven and otherwise uses the correction. It passes all nine selected cases, then fails the separately designed seven case. The corrected helper returns seven. This planned contrast demonstrates a selection limit, not random discovery or a mutation score.
-
The identified correction now returns the minimum setting one for request zero, and its selected input checks passed. Other allowed requests and real callers still need relevant evidence. For your project, keep the approved rule, green assertions, candidate revision and smallest failing input together. Assign the remaining checks and name who will decide whether the results support the change.
04 / The working method
How to investigate a green suite
-
Freeze the claim and its authority. Record the requirement revision, approval and decision owner. Resolve whether disputed inputs are allowed, rejected or unspecified. Do not manufacture expected behavior from the current output.
-
Find what actually ran. Read the test command, selection, skips, runtime and source identities. Follow imports, adapters and mocks to the intended callable. If the report belongs to another candidate, first obtain current evidence.
-
Read the assertion as a rejection rule. Identify an output or effect that violates the requirement but could still pass. Check required types, state changes, exceptions, tolerances and observation timing. Write the independent expectation before changing the code.
-
Choose the smallest useful challenge. Preserve enough input and state to reproduce the discrepancy. Ordered boundaries suggest the boundary and its two neighbors, with spacing determined by the domain. Also challenge nominal behavior or another plausible error the edge selection would miss. ISTQB §4.2.2
-
Run the witness and retain the failure. Capture input, required result, actual observation, exception, exit and implementation identity. Distinguish a requirement failure from a harness that never reached the intended code. Try a known-wrong control when assertion sensitivity is uncertain.
-
Implement the correction and replay. Rerun the same witness against the identified correction, then the related obligations selected by change impact. Keep failed and omitted checks visible.
-
Write the narrowest supported conclusion. Name the repaired instance and declared requirement scope. If proposing class closure, define the class and justify the additional evidence. Assign remaining work, acceptance authority and stale-evidence triggers in the worksheet.
05 / Before trusting the result
Verification gates for the reviewer
- The authoritative rule and unresolved policy decisions are identifiable.
- The input is admissible, with negative and exceptional-value policy explicit.
- Expected observations have a basis independent of the candidate output.
- The harness reaches the intended callable and candidate revision.
- Required assertions run and reject a relevant known-wrong result.
- Selection, skips, runtime settings and raw observations are retained.
- The correction replays the witness and required related checks.
- Remaining work, freshness triggers and an accountable decision owner are recorded.
06 / Mistakes that preserve a misleading green result
Common mistakes and their repairs
| Mistake | Why the green result misleads | Repair |
|---|---|---|
| Approve a snapshot because the old version produced it | The baseline can preserve an old defect or superseded policy. | Review changed expectations against the requirement owner and revision. Oracle survey §5.3 |
| Test a copy of the function or a mock returning the expected answer | The intended implementation may never run. | Record the import/adapter path and a control that reaches the real callable. |
| Catch every exception and continue as success | An unavailable dependency can masquerade as acceptable rejection. | Distinguish expected domain errors from setup and harness failures. |
| Observe only the response | Required stored state or later effects can be wrong. | Capture the promised effects at a defined completion point. |
| Filter out a difficult input without changing the declared domain | The claimed scope exceeds the exercised scope. | Restore the input or obtain an explicit, justified scope change. |
| Use the demonstration wrapper as a release gate | This wrapper succeeds when designated faulty variants fail. | Judge the intended candidate's required checks with the project's actual policy. |
07 / Keep intent and execution connected
Use Proof without confusing the evidence layers
Proof's project workflow connects intended behavior, changes and retained evidence. For this task, attach the approved rule, failing witness, actual correction and current result to the same reviewable record.
When reading a Proof audit, keep these questions separate:
| Evidence question | What to inspect |
|---|---|
| Did the configured tests pass? |
tests_pass uses configured scope. A missing command can warn; affected-test selection can run a subset or take a no-op path. Inspect what actually ran. |
| Is required evidence structurally present? |
obligation_evidence_complete treats ordinary valid annotations differently from typed lemma, race and fuzz evidence, which requires fresh passing provenance. Neither establishes assertion sensitivity. |
| Was the witness grounded and its result observed? | Grounding can use a static symbol-reference shortcut. Joining a witness to observed results can remain unevaluated when configured results are absent. Neither validates the policy or oracle. |
| Does the audit status stop a merge or deployment? | Effective fail-level policy controls CLI failure status. Required provider checks, candidate binding, bypass rules and release authorization must be configured separately. |
For one unresolved written predicate, use free Spec Lab to review its interpretation and plan cases. Hosted Spec Lab does not execute this Python fixture or your repository. Run the resulting checks in an actual harness.
Preflight and realizability concern an authored model under its assumptions. A model counterexample is a different result from the concrete Python failure above. No Proof command or solver ran in this fixture.
08 / Choose the method for the question
Which next check will answer the uncertainty?
| What remains uncertain? | Useful next choice | What still needs judgment |
|---|---|---|
| Can this precise violation recur? | A literal regression case against the real callable. | The expectation's authority and the relevant environment. |
| Is a threshold misplaced or missing? | Boundary and neighbor selection. ISTQB | Ordered domain, units, inclusiveness and untested interior behavior. |
| Which other allowed inputs can refute the rule? | A generated property test, such as Hypothesis. Its strategy supplies inputs; your test supplies assertions. Documentation | Property strength, filters and the finite executed scope. |
| Would these tests notice a plausible wrong implementation? | Explicit controls or a configured mutation tool such as mutmut. Documentation | Mutated scope, surviving changes, equivalent behavior and oracle validity. |
| Do two paths disagree on the same promised behavior? | Differential testing with independent expectations. Oracle survey §5.1 | Shared state, comparison semantics and mistakes both paths may share. |
Hypothesis and mutmut are optional future workflows here; neither was run for this kit. The inspected mutmut documentation requires fork support and describes settings that narrow tests or mutated code. Record those restrictions before interpreting a result.
Mutation research supports investigating fault sensitivity, with limits on how artificial changes stand in for real defects. A high mutation or coverage score establishes neither oracle validity nor universal correctness. The hand-written controls above supply particular observations, not a benchmark or mutation score. Just et al. · Schuler and Zeller
09 / Inspect and reproduce
Primary sources and reproducible evidence
Original source and raw observations
The evidence kit contains 35 regular files, including the contract, literal cases, actual functions, harness, historical snippet and raw observations. The ZIP is 31,262 bytes, with SHA-256:
afb3425c08eb87ae6d20ef0423231c5875cbec8ed64774fcf5a1503124f4e310
Use the ZIP checksum, file manifest and file checksums to identify the bytes. The inner manifest excludes itself and SHA256SUMS; the checksum list excludes itself. Hashes identify artifacts; they do not establish their correctness.
| Inspect | Question it answers |
|---|---|
| Contract and literal cases | What rule, domain and selected expectations were authored? |
| Implementation, harness and wrapper | Which functions were called, how were they judged, and what does exit 0 mean? |
| Run summary and its named raw child files | Which commands ran, with what settings, counts, exits and observations? |
| Provenance and historical origin | Which source identities support the recorded observations, and what is unknown about the earlier attribution? |
The retained canonical attributes an earlier execution to 2 October 2026, but its original raw log and runtime are unavailable. The recorded 28 October 2026 replay executed the unchanged snippet and raised AssertionError; it does not authenticate the earlier run. Historical attribution · Replay record
Across the recorded structured results, ten gates made 57 helper invocations using ten distinct integer values. The historical-snippet replay made four separate calls. The optimized-interpreter guard made none and is outside these counts. Run summary
The primary observations use Python 3.14.7, assertions enabled, optimization flag 0 and PYTHONOPTIMIZE unset. A separately recorded portability replay used Python 3.12.14 with identical source hashes; its raw capture is not included in the public kit. Python 3.10+ is a declared prerequisite, not an executed version matrix. Follow the reproduction instructions and retain your own environment.
The helper has no parser, type validator or worker executor. Outside-precondition behavior, caller integration, concurrency, scheduling and resource limits remain unperformed. Python's arbitrary-precision integers do not exercise fixed-width overflow. Python numeric types
Research and official documentation
| Primary source | Used for | Interpretation limit |
|---|---|---|
| Barr et al., The Oracle Problem in Software Testing: A Survey | Correct-result judgment, independent comparisons and regression-oracle assumptions. | Does not approve this exercise's literal values or a project's policy. |
| Schuler and Zeller, Assessing Oracle Quality with Checked Coverage | Executing code versus checking its result. | Supports this distinction; no comparative effectiveness findings are applied here. |
| Just et al., Are Mutants a Valid Substitute for Real Faults in Software Testing? | Seeded faults as a sensitivity probe. | The study's Java-program findings are not a measured effectiveness result for this fixture. |
| ISTQB, CTFL syllabus v4.0.1, §§1.3, 2.2.3 and 4.2.2 | Requirements limits, confirmation versus regression, and boundary neighbors. | Engineering guidance here, not a certification or compliance claim. |
| Python, numeric types and assert semantics | Integer/Boolean semantics and optimization's effect on assertions. | The served 3.14 documentation identifies 3.14.10; that is distinct from the recorded runtimes. |
| Hypothesis quickstart and mutmut documentation | Optional generation and mutation workflows. | Documentation inspection, not tool installation or execution in this example. |
| Proof, Agents and MCP and Spec Lab | Project context and written-predicate planning. | Product workflow is separate from the local teaching observations. |
10 / Two more decisions worth exposing
Extra examples: missing policy and an unspecified instant
These are proposed reviews, with no executions claimed.
An empty operation needs an owner, not a guessed answer
A collection operation promises to process each supplied item. Existing tests use several items. Before adding [], ask whether an empty request is a successful no-op, an error or outside the interface contract. None follows merely from a loop returning normally.
Record the owner's decision, then specify both response and effects. A singleton case adds a different question: does one supplied item produce exactly its required effect? A no-op implementation can satisfy the empty case while violating the singleton obligation. These are checks to design and run after the policy is settled.
An expiry rule must settle equality
A rule says a credential works before expiry and is rejected after expiry. Those statements leave the exact expiry instant unspecified. Do not infer now < expiry or now <= expiry from whichever condition is already implemented.
Ask the owner to settle equality, the clock source, precision, units and observation point. Then select representable instants before, at and after expiry, with controlled time. Passing a scalar comparison would still leave the real request path and its timing behavior to verify.
11 / Questions developers ask
Questions about green tests and missing behavior
What if the expected value is disputed?
Keep the discrepancy, but mark the oracle decision unresolved. Name the requirement owner and record the competing interpretations. A new assertion should encode the authorized decision, not silently create it.
Can I replace all existing tests with the smallest failing input?
Keep the small witness for diagnosis and regression. Retain other checks whose obligations it does not cover, and assess the repair's effects on callers and related behavior. A smaller reproducer does not imply a smaller verification scope.
Does the wrapper's nonzero child exit mean reproduction failed?
Not necessarily. Several children are expected to reject deliberately wrong behavior. The wrapper returns zero only when its expected contrasts reproduce. Read the child identity and expected exit in the summary before interpreting the overall status.
When can passing tests support a class-closure claim?
When the claimed class and scope are explicit and the evidence justifies every obligation within that scope, with assumptions and exceptions recorded. That may require justified finite enumeration or analysis as well as tests. This kit supplies no such closure argument; adding one more passing input does not create one.