Repository navigation
[TS PBT] Preserve runtime limitation diagnostics in property search - #560
Open
CaelmBleidd wants to merge 1 commit into
Open
CaelmBleidd wants to merge 1 commit into
CaelmBleidd wants to merge 1 commit into
Conversation
| @Test | ||
| fun `supported counterexample and its native replay survive an excluded path`() { | ||
| val program = defineProperty(id = "runtime.mixed-counterexample") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported counterexample and its native replay survive an excluded path`() { | ||
| val program = defineProperty(id = "runtime.mixed-counterexample") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported counterexample and its native replay survive an excluded path`() { | ||
| val program = defineProperty(id = "runtime.mixed-counterexample") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported counterexample and its native replay survive an excluded path`() { | ||
| val program = defineProperty(id = "runtime.mixed-counterexample") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported counterexample and its native replay survive an excluded path`() { | ||
| val program = defineProperty(id = "runtime.mixed-counterexample") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported successful paths do not hide excluded model paths`() { | ||
| val program = defineProperty(id = "runtime.mixed-no-violation") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported successful paths do not hide excluded model paths`() { | ||
| val program = defineProperty(id = "runtime.mixed-no-violation") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported successful paths do not hide excluded model paths`() { | ||
| val program = defineProperty(id = "runtime.mixed-no-violation") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported successful paths do not hide excluded model paths`() { | ||
| val program = defineProperty(id = "runtime.mixed-no-violation") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
| @Test | ||
| fun `supported successful paths do not hide excluded model paths`() { | ||
| val program = defineProperty(id = "runtime.mixed-no-violation") { | ||
| val write = function<(Double) -> Double>(module = "runtime-limitations.ts", exportName = "supportedOrSparse") |
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A sparse indexed write can exclude every symbolic path while PBT reports an unexplained engine failure, or hide excluded paths behind a successful no-violation result. Subscribe to the existing runtime-limitation observer and retain the reason, original source range and EtsIR statement in the existing diagnostics field.
Keep at most 64 distinct runtime diagnostics plus an explicit truncation record. A search with excluded paths and no candidate reports
UNSUPPORTED; reached candidates, property errors, timeouts and solver UNKNOWN keep their existing classifications and retain the diagnostic. No result schema or selector API changes.Validation: 35 focused PBT/DSL tests passed, including native TypeScript confirmation of the retained candidate. All three new DSL regressions fail on the original searcher and pass with the fix. PBT Detekt main/test, FastCheck Detekt test and
git diff --checkpass. Campaign artifact serialization uses the same diagnostics field in #542; the integrated roundtrip remains a separate #542 verification.Refs #555. Sparse indexed growth itself remains #388.