Repository navigation
feat(assaybench): add AssayBench phenotypic CRISPR screen prediction … - #3475
Merged
bxyu-nvidia merged 1 commit intoSep 17, 2026
Merged
Conversation
lilithgrigoryan
force-pushed
the
lgrigoryan/assay-bench
branch
from
September 17, 2026 12:50
17d926e to
f7d8407
Compare
Contributor
|
🌿 Preview your docs: https://nvidia-preview-lgrigoryan-assay-bench.docs.buildwithfern.com/nemo/gym Here are the markdown pages you've updated: |
lilithgrigoryan
force-pushed
the
lgrigoryan/assay-bench
branch
11 times, most recently
from
September 17, 2026 16:32
66e89a1 to
3ab8106
Compare
…benchmark AssayBench (arXiv:2605.10876, Genentech) casts each of 1,920 BioGRID ORCS CRISPR screens as a gene-ranking task: given a plain-text description of the screen, return the 100 most likely hits, ranked. Headline metric is adjusted nDCG@100. Resources server `assaybench`: - reward = AnDCG@100 computed by the authors' `assaybench==0.2.0` PyPI package (RankingMetrics with its defaults: HGNC gene mapper on, k in 5/10/20/50/100), so the score is the same computation as in the paper; precision@100, fdr@100 and the normalized variants ride along, plus a per-phenotype breakdown. The paper's "Precision@k" is the package's normalized_precision@k (its §3.2 divides by min(k, #hits)); the key metrics point at that key. - replies are read the way the reference harness read them: DSPy ChatAdapter `[[ ## answer ## ]]` field, then the harness's own comma parser (vendored, MIT); DSPy parse failures fall back to its raw-reply scan and are counted. - flat rows (question + relevance_genes/relevance_scores) prepared from the pinned Hugging Face revision with single-threaded pyarrow; the rendered question and ground truth were checked row for row against upstream's loader on the 334 test screens. Benchmark `assaybench` covers the paper's three cohorts, which share one row format: the temporal test split (334 screens, default), and via `+prepare_script_args.split=` the validation split (218) and LaTest (19). The prompt config `benchmarks/prompts/eval/assaybench/paper.yaml` reproduces all three layers of the harness's messages byte for byte: the Appendix A.4 template, the collection-time suffix, and DSPy's chain-of-thought framing (captured from dspy 3.3.1 and pinned by a test). Baselined with three models at the paper's protocol (5 runs per screen); test split AnDCG@100 vs published: GPT-OSS-120B 0.1204 (0.1211), DeepSeek-V3.2 0.1127 (0.1076), Gemini 3 Flash 0.1524 (0.1446). Details, per-model sampling settings and every divergence from the harness are in the server README. Co-Authored-By: Claude Fable 5.1 <[email protected]> Signed-off-by: Lilit Grigoryan <[email protected]>
lilithgrigoryan
force-pushed
the
lgrigoryan/assay-bench
branch
from
September 17, 2026 16:33
3ab8106 to
a184f7b
Compare
bxyu-nvidia
approved these changes
Sep 17, 2026
Contributor
|
/ok to test a184f7b |
This branch was previously deployed
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.
…benchmark
AssayBench (arXiv:2605.10876, Genentech) casts each of 1,920 BioGRID ORCS CRISPR screens as a gene-ranking task: given a plain-text description of the screen, return the 100 most likely hits, ranked. Headline metric is adjusted nDCG@100.
Resources server
assaybench:assaybench==0.2.0PyPI package (RankingMetrics with its defaults: HGNC gene mapper on, k in 5/10/20/50/100), so the score is the same computation as in the paper; precision@100, fdr@100 and the normalized variants ride along, plus a per-phenotype breakdown. The paper's "Precision@k" is the package's normalized_precision@k (its §3.2 divides by min(k, #hits)); the key metrics point at that key.[[ ## answer ## ]]field, then the harness's own comma parser (vendored, MIT); DSPy parse failures fall back to its raw-reply scan and are counted.Benchmarks
assaybench(temporal test, 334),assaybench-val(218) andassaybench-latest(LaTest, 19) share the server and the prompt configbenchmarks/prompts/eval/assaybench/paper.yaml, which reproduces all three layers of the harness's messages byte for byte: the Appendix A.4 template, the collection-time suffix, and DSPy's chain-of-thought framing (captured from dspy 3.3.1 and pinned by a test).Baselined with three models at the paper's protocol (5 runs per screen); test split AnDCG@100 vs published: GPT-OSS-120B 0.1204 (0.1211), DeepSeek-V3.2 0.1127 (0.1076), Gemini 3 Flash 0.1524 (0.1446). Details, per-model sampling settings and every divergence from the harness are in the server README.
What does this PR do?
Validation
Rollouts
Compatibility and benchmark impact
Checklist
pre-commit run --all-files) (so CI lint/format checks pass).git commit -s) (so the DCO check passes).