Repository navigation
construct_map: take paragraph->method from the translator's paragraph_methods sidecar (Part of #8488) - #8703
Merged
Conversation
…aragraph_methods sidecar (Part of #8488) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Nov 19, 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.
Part of #8488 (remaining slice 2: feed
stats["paragraph_methods"]into the alignment tools).What changed
tests/tools/construct_map.py:det_methods(java, provenance=None)uses the translator's own map when a<Service>.paragraph_methods.jsonsidecar sits beside the det service (scancopies it); otherwise the Javadoc regex fallback. Newread_provenance,provenance_drift;analyzerecordsprovenance_driftandunmapped_paragraphsper program (keys only when non-empty).tests/cobol_mainframe/test_construct_map.py: provenance wins, fallback, drift, bad/empty sidecar, named andpNmethods.docs/language_status/construct_correspondence.md: one paragraph on the sidecar.Class sweep
Class: an alignment tool re-parses det Java text for the paragraph->method map the translator already states. Same-mechanism sibling in scope:
analyzesilently skipping unmapped paragraphs (now reported).Sibling gaps: none needing a burned-estate program. Nothing writes the sidecar yet: committed ports carry no stats, so
det_port.py run(orport_runner) emitting it beside the service is a follow-up.Remaining slices
tests/tools/det_port.py/port_runner.py: write<Service>.paragraph_methods.jsonnext to the service fromstats["paragraph_methods"](2 files + test), thenconstruct_map.py scanpicks it up.Gates: pytest (construct_map + provenance_8488: 25 passed),
audit_check.pyall clear,ruff format. No golden change (no engine code).Cross-repo: none.
🤖 Generated with Claude Code