Map exact c8 TypeScript if arms to EtsIR coverage - #409
Draft
CaelmBleidd wants to merge 1 commit into
Draft
CaelmBleidd wants to merge 1 commit into
CaelmBleidd wants to merge 1 commit into
Conversation
CaelmBleidd
force-pushed
the
caelmbleidd/pbt-382-branch-feedback
branch
from
October 1, 2026 11:32
f2ac7df to
5b55c65
Compare
CaelmBleidd
changed the base branch from
main
to
caelmbleidd/iccq-runtime-limitations
October 1, 2026 11:33
This was referenced Oct 1, 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.
Pinned c8 produces independent one-arm Istanbul records, which cannot identify a TypeScript
ifor its true/false CFG successors. This change reconstructs ordered arms from the same concrete run only when TypeScript AST spans, exact source-map round trips, and V8 counters agree. Unsupported or ambiguous cases retain statement hits and are reported separately.ifwithoutelse, require a single terminating true arm and an observable following false successor.This branch now builds on #394 so Calls and PBT share the existing runtime models, source closure handling, and this coverage implementation. Both
coverage-branchesandlocal-source-closureNode test suites remain enabled. Review order: #391 → #410 → #394 → this PR → #412 (shared engine infrastructure).Validation of the combined stack (local JDK 21, composite JacoDB tree identical to merged UnitTestBot/jacodb#367):
FastCheckCoverageTesttests passed, including exact source-to-EtsIR branch mapping and nested conditions.git diff --checkpassed. The adapter dependency/converter files are unchanged from the previously validated implementation apart from retaining the Calls test command during rebase.This PR supplies branch artifacts and CFG mapping for the documented TypeScript subset. It does not feed branch evidence into symbolic target selection; that belongs to #399/#355. The converter runs as a separate bounded process (10 seconds plus shutdown grace) after the concrete run; #354 must account for that cost in the total campaign deadline. Unsupported cases are not evidence of zero uncovered edges. #382 remains open pending review and integration evidence.
Refs #382, #345.