You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Call graph: read det-port dispatch (perform(int,int)) as paragraph calls; keep paragraph headers through refinement #8151
enhancementNew feature, sensor, or structural signaturepriority: mediumscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Found by temporal-crucible's registered WIRE study (2026-11-08; registration temporal-crucible#89, results temporal-crucible#90), which tests #7532's idea of measuring translation fidelity along the translator's own map.
Result: a COBOL program's paragraph call network survives det translation. With no names, it picks a structured port's own COBOL source 33 times in 138 (24%). Chance is 0.7%; whole-program sfs fingerprints managed 3 in 124.
Two gaps stop this from covering every port:
The engine can't see calls through the dispatcher. In dispatch-style ports, every PERFORM becomes perform(a, b) with paragraph numbers, routed through switch (i) { case i: return pN(); }. GitGalaxy's Java call graph records each paragraph calling perform, never each other: all 124 evaluable dispatch ports score 0. Resolving the integer literals with a small parser (in the study's scorer, tools/wire_eval.py) gives a 0.69 match against 0.09 shuffled, so the wiring is there.
This also hits --style structured ports that fall back to the dispatcher (GO TO, EXEC CICS HANDLE, SECTION). That's 57 of 125 evaluable programs, including every CBSA and GenApp program.
Fix options: resolve the det dispatch idiom in Java call extraction (perform(a, b) → the methods case a..b return), or have the translator write the paragraph call graph (it already names every paragraph) into its trace.
Refinement drops the map. The B2-refined ports in docs/benchmarks/det-refine-* replace the /** PARAGRAPH. */ headers with model Javadoc, so a refined port can no longer be traced paragraph by paragraph. Keeping the header line through det_refine.py would preserve traceability.
Acceptance:
The call graph of a dispatch-style det port lists paragraph → paragraph edges for perform(a, b) (a test on one dispatch port, e.g. a CBSA program).
A refined port keeps one /** PARAGRAPH. */ header per paragraph method (a check in det_refine.py or its tests).
Part of #7532 / #7533 (item 4, cross-language blueprint fidelity).
enhancementNew feature, sensor, or structural signaturepriority: mediumscope:frontierMapped, not yet built: eras/commands/regions the burned estates don't use (Gap Atlas)
Activity