Skip to content

Report commands search eval scores against the base in CI - #108

Open
zmofei wants to merge 1 commit into
feat/commands-searchfrom
feat/commands-search-eval
Open

zmofei wants to merge 1 commit into
feat/commands-searchfrom
feat/commands-search-eval

Conversation

@zmofei

@zmofei zmofei commented Oct 21, 2026

Copy link
Copy Markdown
Member

Adds a commands search eval CI job that runs the commands search query sets on the PR and its base, and writes the scores, plus the queries the change fixed and broke, to the job summary. It never fails; the eval_set_* tests are the gate. Split out of #103 per review.

  • MAPBOX_SEARCH_EVAL_REPORT makes the eval_set_* tests write each query's result to a directory, even when they fail.
  • scripts/commands-search-report.py turns the head and base reports into the summary. The Required column shows the scores below which the tests fail (recorded score less the slack).
  • scripts/test-commands-search-report.sh checks the summary against hand-written reports, run in the shell job.

No PR comment: the summary needs no write token, so fork PRs get it too.

Testing: actionlint, shellcheck, the report test and the full suite pass locally, and I ran the eval with reports and rendered the summary. Not verified: the job on GitHub, including the base comparison.

Stacked on #103; retarget to main once it merges.

A search-eval job runs the eval sets on the PR and its base and writes the
scores, and the queries the change fixed and broke, to the job summary. It
never fails: the eval_set tests are the gate.
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