Skip to content

Reject ambiguous program paths in translate comparisons - #1

Open
MichaelSmithAI wants to merge 1 commit into
Pablo-Barros:cli/translate-comparefrom
MichaelSmithAI:fix/compare-ambiguous-paths
Open

MichaelSmithAI wants to merge 1 commit into
Pablo-Barros:cli/translate-comparefrom
MichaelSmithAI:fix/compare-ambiguous-paths

Conversation

@MichaelSmithAI

Copy link
Copy Markdown

Two files in the same listing can share a basename, record offset, program name and stage. In a synthetic comparison where the UI program loses validation and the world program gains it, the existing CLI combines the two and reports zero gains and zero losses.

This change keeps the original source path for each comparison key within a listing. When two distinct paths produce that key, the CLI exits with a diagnostic naming both paths. A uniquely named file can still move between the before and after directories. Multiple outcome lines for the same program continue to combine.

Donald verified the collision using two source-built containers and the normal listing output. All six comparison tests passed on Linux with the Marvisak#235 Linux build changes. The submitted comparator is byte-identical to the one tested and the asset policy passed on this branch. The collision has not been established in the published title results.

Related issue: Marvisak#787. AI assistance was used for implementation and testing.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06efde5d-7346-4e71-924b-90fee78e2828

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant