Repository navigation
docs: warn that --save-baseline overwrites the committed baseline - #6981
Merged
kovtcharov-amd merged 1 commit intoNov 9, 2026
Merged
Conversation
Contributor
|
Verdict: Approve This adds a warning to the eval guide: Real-world evidenceN/A: this PR only changes docs, so there was nothing to run. The verdict rests on reading the code. 🔍 Technical detailsWhat I checked
Issues found: none. Strengths
|
Merged
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.
Summary
Adds a warning to the Regression Testing section of the eval guide:
--save-baselineoverwrites the committedeval/results/baseline.json, even after a run where everything fails.Why
The guide says to save a baseline after a known-good run, but nothing enforces that. A 0% run replaces the tracked baseline and still exits 0, so it's easy to commit a broken baseline without noticing. Until there's a guard in the code, the docs should at least say so and show how to recover.
Linked issue
Closes #3461
Changes
docs/guides/eval.mdx: a<Warning>after the regression testing example explaining the overwrite, suggestinggit diffbefore committing, and showing how to restore the file.Test plan
python util/check_doc_links.py --internal-onlypassesmintlify validatebuilds, with no warnings forguides/eval.mdxEvidence
N/A for all surfaces: this is a docs-only change.
Checklist
Closes #N/Fixes #N/Refs #N).python util/lint.py --all,pytest tests/unit/). Docs-only change, so I ran the docs checks above instead.