[STG-2173] feat(evals): add EDGAR 10-Q multi-company extraction agent eval#2191
Draft
shrey150 wants to merge 1 commit into
Draft
[STG-2173] feat(evals): add EDGAR 10-Q multi-company extraction agent eval#2191shrey150 wants to merge 1 commit into
shrey150 wants to merge 1 commit into
Conversation
Long-horizon agent eval: for SNOW/DDOG/MDB, find the most recent 10-Q on EDGAR, open the primary document, extract revenue/YoY/RPO/top risk, and return a comparison table. Objective scoring requires the correct quarterly revenue for all three companies in the final answer (ground truth verified against SEC XBRL). Useful for measuring long-horizon task closure. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
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.
What
Adds a long-horizon agent eval to
packages/evals:agent/edgar_10q.For three companies (Snowflake / Datadog / MongoDB) the agent must:
It exercises long-horizon navigation (unknown number of pages, nested filing index → primary doc) plus multi-document synthesis.
Why
We needed a realistic long-horizon eval to measure task closure — does the agent actually finish and return the synthesized result, not just do the work. Scoring is objective: the agent's final answer must contain the correct quarterly revenue for all three companies (ground truth verified against SEC XBRL,
data.sec.gov/api/xbrl/companyconcept). Scoring the final answer (not intermediate tool output) is deliberate — an agent that extracts the data but reports only "task complete" has not finished the job, and this catches that.Notes for reviewers
defineBenchTaskpattern (auto-discovered fromtasks/bench/agent/, no registration).@browserbasehq/stagehand-evalsisprivate: true(not published).E2E Test Matrix
evals run agent/edgar_10q -e browserbase -t 5 --agent-mode hybrid(Opus 4.8)pnpm build:esmthenevals listagent/edgar_10qauto-discoveredGround-truth revenue independently confirmed against SEC XBRL (SNOW $1,390,951K, DDOG $1,006,426K, MDB $687,616K).
Linear: STG-2173
🤖 Generated with Claude Code
Summary by cubic
Adds
agent/edgar_10q, a long-horizon eval that tests multi-company 10‑Q extraction from SEC EDGAR and scores agents on returning the correct quarterly revenue. Addresses Linear STG-2173 by measuring task closure with objective, final-answer scoring.packages/evals/tasks/bench/agent/edgar_10q.ts, auto-discovered viadefineBenchTask.Written for commit 59501a7. Summary will update on new commits.