Repository navigation
Add draft SEC and WRENCH extraction queries - #50
Merged
Merged
Conversation
SEC-7 extracts from every filing the whole sentence that states the event the filing reports. The other SEC extractions return a name, a date, or a short passage, so this is the SEC query whose answers run long. The SEC prompts drop the clauses the shared extraction instruction already states, such as writing none when the document has no answer, and say the departure rule once in fewer words. The regenerated plans carry the new text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CBiewvFmXMUz6dceujmMey
Match the other query families: a short corpus note, one table of questions and operators, and the load instructions. Move it after the sales call queries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtZ4CLzq12XSVfZos1Gc9R
SEC-4 makes three ai_extract calls, like CUAD-10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtZ4CLzq12XSVfZos1Gc9R
WRENCH-6 extracts the command or edit that exploits the verifier from each run WRENCH-1 flags. WRENCH-7 extracts the file or check that each exploit step tampers with. Neither has reference answers yet, so both are drafts outside the default 85 queries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtZ4CLzq12XSVfZos1Gc9R
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PtZ4CLzq12XSVfZos1Gc9R
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.
Add nine draft queries: SEC-1 to SEC-7 over 100,000 8-K filings, and WRENCH-6 and WRENCH-7 over the Terminal Wrench runs. A draft query has a plan but no reference answers. It is not part of the default 85 queries, and you load it by ID with
accuracy=False.ai_filterai_extractai_extractai_filter, then threeai_extractsai_filter, then 3 labelsGROUP BY,COUNTai_extractof a long sentenceai_extractai_extractSEC inputs
The SEC filings are not in the published corpus.
tools/make_sec_corpus.pydownloads them from TeraflopAI/SEC-EDGAR at a pinned revision and selects a fixed sample across all 217 source files. The loader checks the sample against its manifest. SEC queries run only on their own, atscale_factor=1.0. WRENCH-6 and WRENCH-7 use the published Terminal Wrench tables at any scale factor.How drafts work
draftflag in the catalog keeps a query out ofqueries()but letsget_queryandload_benchmarkfind it by ID.unpublished, so asking for its reference source raises an error.accuracy=Trueand no labels,load_benchmarkraises an error that namesaccuracy=False.Checks
Quail still needs to move its
quail_bpin and add a runner path for unscored queries.🤖 Generated with Claude Code
https://claude.ai/code/session_01PtZ4CLzq12XSVfZos1Gc9R