Repository navigation
docs: add a readme for running the dabstep benchmark - #9
Merged
Merged
Conversation
Covers fetching the data and official scorer, loading the context into D1, the Artifacts and Vectorize resources, running the harness Worker locally or deployed (HARNESS_TOKEN), the self-test, both arms of the full run (flags, time, cost, resumability), scoring and leaderboard submission, the paired comparison and learning curve, and the smaller slices.
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.
Adds
benchmarks/dabstep/README.md, a step-by-step guide to running the benchmark, linked from the root README's layout section.What it covers
baseline,codemode-git-examples), the defaults (glm-5.3-flash, 20 steps), and thedabstep-full1tag for the reported run.scripts/fetch.shgets the context, the task splits and Adyen's official scorer (CC BY 4.0, gitignored).build_sql.py,cf d1 create, and loading the SQL. Notes that the repo's D1 id belongs to the original database.cf dev --port 8790, or deployed withHARNESS_TOKENset through--secrets-fileso it's never open. Plus the/selftestcheck.score.pyand submitting to the leaderboard.compare.pyandlearning_curve.py.Verification
scripts/*,src/index.tsandcloudflare.config.ts. Wall time comes from thefull1results; cost from docs/experiments.md.npm test --workspace benchmarks/dabsteppasses (7 tests). Thedabstep-full1tag exists.cf d1 migrations apply; only a dry run was checked. The original database was loaded before this README existed. The README says so and giveswrangler d1 execute --remote --fileas the fallback.