Skip to content

[TS PBT] Use native witness results for coverage feedback - #572

Open
CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-dsl-deadline-retentionfrom
caelmbleidd/pbt-native-coverage-replay
Open

CaelmBleidd wants to merge 1 commit into
caelmbleidd/pbt-dsl-deadline-retentionfrom
caelmbleidd/pbt-native-coverage-replay

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Coverage feedback previously required a fabricated PBT-shaped result or another generator call to verify a symbolic input. Expose fixed-input native replay through the existing witness operation and accept its existing WitnessNativeReplay directly. Collect coverage from the first invocation, check repeatability with the same input, and retain admission, oracle and source diagnostics. A native callback never falls back to the legacy PBT callback, including on failure; existing callbacks remain source compatible. Scheduling policy is unchanged.

Own diff: 7 files, +212/-13, one commit. Immediate base is the DSL deadline-retention branch at 619d80f4b; that branch depends on #569 7e6d9b9c9 and its frozen assembly. After those dependencies merge, move only this own commit onto main and retarget. No dependency implementation is copied into this commit.

Validation: 10 real backend coverage contracts passed, including native edge confirmation with exactly one admitted coverage receipt, stale source rejection, preservation of uncovered goals after failure, no legacy fallback, and the absolute caller deadline. Portable trace serialization is provided by #569. Comparative performance or class coverage benefit is not established by these checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant