Repository navigation
docs(guides): drop bare uv run from code-index and eval commands - #6900
Conversation
The code-index test command and the eval backend command used bare uv run, which fails in a checkout without a project table. Use plain python so they run in the environment the guides already set up. Closes amd#3825
|
Verdict: Approve with suggestions This PR fixes two documented commands that fail when copied as written. In a checkout without an existing One thing to fix while you're in here: the second eval page (the Agent Eval Benchmark reference) has the same "Direct" tab with the same broken Real-world evidenceN/A: this PR only changes docs, so no evidence bundle was produced. The PR's test plan says the plain 🔍 Technical detailsIssues Found 🟡 Same broken command remains in the sibling eval page ( Not flagged: Strengths
|
|
Thanks for this fix! I pushed one more line: |
The code-index test command and the Direct tab of the eval guide used bare
uv run, which fails in a checkout with no project table. They now use plainpython -m, matching the rest of the dev docs.Closes #3825
Test plan
python -m pytest tests/unit/test_code_index.py tests/unit/test_code_index_sdk.py tests/unit/test_code_index_mixin.py tests/unit/test_code_index_parsers.py -xvspasses in an activated venv (140 passed)python -m gaia.ui.serverstarts the backend as described in the eval guide