Skip to content

LEC: the verdict names the miter log this run wrote - #269

Open
oharboe wants to merge 1 commit into
keplertech:mainfrom
oharboe:lec-log-names-miter-log
Open

oharboe wants to merge 1 commit into
keplertech:mainfrom
oharboe:lec-log-names-miter-log

Conversation

@oharboe

@oharboe oharboe commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

The LEC verdict says "Difference was found. Please refer to the log(miter_log_x.txt)" with a literal x. The miter log is actually miter_log_<n>.txt with the first free n, or the configured log_file, so a user has to guess which file it is. The three LEC verdicts (whole design, scopes, compact snapshots) now name MiterStrategy::getActualLogFileName().

Test: KeplerCliSubprocessTests.LecDifferenceNamesTheMiterLogItWrote in MiterTests runs the binary on a differing pair. It reads the file name from the verdict and checks that the file exists and holds the miter's lines. It passes under bazel test in about a second.

🤖 Generated with Claude Code

"Difference was found. Please refer to the log(miter_log_x.txt)" named
a placeholder: the miter log is miter_log_<n>.txt with the first free n,
or the configured log_file. The three LEC verdicts (whole design, scopes,
compact snapshots) now name MiterStrategy::getActualLogFileName().

LecDifferenceNamesTheMiterLogItWrote runs a differing pair, finds the
named file and checks it holds the miter's lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oharboe
oharboe force-pushed the lec-log-names-miter-log branch from aa44e76 to e4982cc Compare October 6, 2026 08:00
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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