Repository navigation
AWI-ISSUE-60: Exa snippets + URL equivalence for every provider, offline rescore (#60) - #63
Merged
Merged
Conversation
…provider; url_exact equivalence (v2 rules + logged redirects); offline rescore (#60)
Contributor
Author
|
SHIP (Weatherman r1) at head 6169445, merge-commit method, no admin bypass. gate.sh GATE-OK, and the independent test-run is READY at this head (594/4: 3 failures pre-existing on main, 1 latest.json grader-version until publish). The rescore re-runs byte-identical, Kes's befores are confirmed, and W42–W47 news shows 0 flips. Note: Kes's #61 overlaps this change and is handled in the cycle record. |
This was referenced Nov 23, 2026
Contributor
Author
fredhazelton
added a commit
that referenced
this pull request
Nov 23, 2026
merge after #63: AWI-ISSUE-60 snippet-rerun workflow (Exa highlights + Tavily control, 43 items, artifact only)
This was referenced Nov 24, 2026
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.
Refs #60 (reported by Kes, who disclosed he works at Exa). Ticket AWI-ISSUE-60. Fred approved the fix and rescore on Nov 23, 2026 at 2:03 PM ET (relayed by chief). Do not close #60 until there's a Weatherman SHIP and the merge.
What changes
1. Snippets: one budget for every provider.
_exa_searchnow requestscontents.highlightsand passes the joined highlights intosnippet.util.snippet_textand is capped at 300 chars: Tavily, Firecrawl, Apify (now falls back tometadata.description), context.dev, Keenable and TinyFish. Logged Firecrawl descriptions ran up to 22,306 chars, so this was a second asymmetry.snippet_containsgrades the title plus the first 300 chars of the snippet./searchbase price covers up to 10 results, sobilled_unitsstays 1.2. URL equivalence: one deterministic rule. It is the new
awibench/urlmatch.py, documented in SPEC-bench §3a.1.?highlight=, query sort,index.html, arXiv abs/pdf, RFC text mirrors and golang.org/pkg stdlib.bench/sets/url_redirects.jsonrecords how each expected URL resolved (python -m awibench.redirects resolve).rfc-editor.org/rfc/rfcNnow 301s to/info/rfcN/, and the MDNflex-directionand Pythonstdtypespages have moved.GRADER_VERSIONis nowcanon-2026-11-23.3. Offline rescore.
bench/tools/rescore.pywrites before/after CSVs plusREADME.mdtobench/rescores/2026-11-23-issue-60/.Before → after (logged results, no provider calls)
How Kes's numbers check out:
Full table, commands and input hashes:
bench/rescores/2026-11-23-issue-60/README.md(same content as the cycle's RESCORE.md).Week 47 / news: regrading every committed news log (W42–W48) flips 0 lines. The published W47 numbers don't change; only the
grader_versionlabel moves on the next rebuild.data/benchmarks/latest.jsonand the staged files are not touched in this PR.Tests
tests/test_bench.py+ the newtests/test_issue60.pygive 594 passed and 4 failed:Run1Published::test_run1_counts_match_raw_logs. It asserts the published latest.json'sgrader_versionequals the live grader. It stays red until latest.json is regenerated in a publish ticket, the same staging class as the other two latest.json tests.Test coverage includes:
/infovia the logged redirect only, MDN move, Python query/move,.pdf/landing/refs/doi non-matches, the Rust/beta/negative, and NIST?cvs?h.Methodology note: hazeydata/agentwebindex-site#29. Cycle docs + RESCORE.md: hazeydata/agentwebindex-meta#79 (
cycles/2026-11-23-awi-issue-60/RESCORE.md).