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
det/cobolrt: factor out per-service duplicated runtime shims (40.9% of CardDemo methods) #8486
Scanning 30 deterministic (det) CardDemo *Service.java ports (tests/equivalence/carddemo-*/port/service/) with galaxyscope + structural-fingerprint-scanner (composition mode, min_loc=3) shows 380 of 929 Java methods (40.9%, 2,150 LOC) are exact cross-file structural duplicates appearing in >= 3 services.
Evidence
Repeated boilerplate helpers emitted inside each *Service.java include copyOf, edited, chunks, digitsKey, fill, loadCommarea, handleLink, alnumToUnsigned, fit, nz, etc.
Removing cross-file structural duplicates cuts intra-service Java call edges in CardDemo by more than half (1,773 → 752 edges), leaving 502 unique-structure methods (13,270 LOC).
Explains the cics-fidelity observation that det Java ports cluster tightly with each other (0.60–0.62 Java–Java distance) and obscure per-program structure.
Proposed Change
Hoist cross-service invariant cobolrt helper methods into shared cobolrt utility/base classes instead of emitting duplicate copies inside every generated *Service.java.
Claimed by promoter-bot host melek, lease renewed 2026-11-21T19:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.
Activity
cobolrt: fast paths (#4717), CobolProfile (#4714), RuleTelemetry (#4713/
squid-protocol commentedon Nov 21, 2026
Claimed by promoter-bot host
melek, lease renewed 2026-11-21T19:51Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:meleklabel.det: abended, store, paragraph, condition and lastAnswer/lastLinkByte…