Skip to content

fix: keep the profbench grader-prompt list out of the dataset module - #215

Merged
abhinav-pola merged 2 commits into
mainfrom
devin/1796404545-profbench-grader-prompts
Dec 4, 2026
Merged

abhinav-pola merged 2 commits into
mainfrom
devin/1796404545-profbench-grader-prompts

Conversation

@abhinav-pola

@abhinav-pola abhinav-pola commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR

benchmark-config.ts no longer imports profbench/dataset.ts, so importing the config schemas doesn't pull in @google-cloud/storage or Node built-ins.

What changed?

  • Moved PROFBENCH_GRADER_PROMPTS and ProfbenchGraderPrompt into a new dependency-free src/benchmarks/profbench/grader-prompts.ts.
  • benchmark-config.ts, profbench/dataset.ts and profbench/benchmark.ts import them from there.

Why?

dataset.ts imports the dataset cache store, which imports @google-cloud/storage and google-auth-library. Browser bundles that import benchmark-config.ts for its schemas then fail to resolve fs, child_process, net and tls.

How to test

CI. src/benchmarks/benchmark-config.ts should no longer reach datasets/cache-store.ts through its imports.

Reviewer focus

  • This is a move only, with no behavior change.

Checklist

  • Tests cover changed behavior (no behavior change)
  • Public API or configuration changes are backward compatible, or the break is documented
  • Benchmark changes document dataset provenance and licensing
  • No credentials, private results, or restricted dataset contents are included
  • Documentation is updated where needed

Link to Devin session: https://openrouter.devinenterprise.com/sessions/fbd67defdf2a48f18fc887b4f873b4d5
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/fbd67defdf2a48f18fc887b4f873b4d5?variant=devin
Requested by: @abhinav-pola


🟢 Devin Review found nothing to fix · View findings

Devin Review

benchmark-config.ts imported PROFBENCH_GRADER_PROMPTS from profbench/dataset.ts, which pulls in the dataset cache store and @google-cloud/storage. Browser bundles that import benchmark-config.ts failed to build on Node built-ins. Move the list and its type to a dependency-free grader-prompts.ts.
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from Abhinav

SYSTEM:
<latest_message>
Abhinav Pola (U090K0G7JF3) [ts=1796404374.536959]: @Devin what happened
</latest_message>

=== BEGIN THREAD HISTORY (in #changelog) ===
Release Train (U09VAAZMNTD) [ts=1796404110.961839]: :trains: Now departing · 33b0224

conductor: hourly schedule · 28 commits since last release · <https://github.com/OpenRouterTeam/openrouter-web/actions/runs/47383629500|View run>

• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/e798621|e798621&gt;  fix: give ori stalled-runs and disk-pressure monitors a recovery threshold so one incident posts once (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/72405|`#`72405&gt;) (Josh Milburn)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/66872ec|66872ec&gt;  fix(server-tools): keep a partly funded credit pool's share for checkpoint billing (PLA-9596) (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/71539|`#`71539&gt;) (Damjan Kužnar)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/7644169|7644169&gt;  perf(mission-control): redesign endpoint regression grid with collapsible column groups (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/71802|`#`71802&gt;) (Cole McIntosh)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/ea0b8cb|ea0b8cb&gt;  fix: send Cohere open models the reasoning efforts their vLLM accepts (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/72445|`#`72445&gt;) (abhinav-pola)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/7069809|7069809&gt;  fix: stop publishing a pcm default for timed speech response_format (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/71769|`#`71769&gt;) (emi higgins)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/474a652|474a652&gt;  fix: chart Substrate operation durations from duration_ms (&lt;https://github.com/OpenRouterTeam/openrouter-web/pull/72356|`#`72356&gt;) (Anish Ravipati)
• &lt;https://github.com/OpenRouterTeam/openrouter-web/commit/f6a6313|f6a6313&gt;  chore(monitors): promote quiet ClickHouse app monitors and res... (8326 chars truncated...)

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@abhinav-pola
abhinav-pola merged commit 77d9ef0 into main Dec 4, 2026
4 checks passed
@abhinav-pola
abhinav-pola deleted the devin/1796404545-profbench-grader-prompts branch December 4, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants