feat: pin (or publish) the OpenRouter provider per run; enable prompt caching on the invariant prompt part
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
- 領域
- ai, backend, performance
調査の方向性
ベンチマークのリクエストがどこで構築され、responses.jsonl の provider データがどこで run または leaderboard のメタデータに入るのか、そして 3 部構成の prompt がどこで組み立てられるのかを追跡します。まずそれらのエントリポイントを特定し、次に、ベンチマークに既存の outputs とコスト測定結果を基準として、provider の可視性、キャッシュの動作、seeded run の再現性を検証します。
索引モデルが issue の本文から書いたものです。
説明
1. Provider variance is folded into model variance
The response logs in the CC0 dataset show extra_body with
provider: {sort: "throughput"}, which scattered generations across upstreams —
we saw Amazon Bedrock, Google, SiliconFlow, AtlasCloud, and DeepInfra serving
runs of the same model. Upstreams differ in quantization and sampling defaults,
so part of the leaderboard's run-to-run variance is provider variance, not
model variance.
Suggestions, in increasing order of effort:
- Surface the served provider (already present in
responses.jsonl) in the
leaderboard/run metadata. - Pin
provider.order/provider.onlyper model for benchmark runs.
2. Prompt caching is off — roughly a 3× cost saving available
The ~42k-char invariant part 0 (game manual + strategy) is re-sent on every one
of ~200 calls per game (cache_control is unset on all three content parts) —
about 10.5k tokens of identical input per call, which matches the measured 14k$5.60/game → under $2 at Sonnet-class pricing), with
input tokens/call. The three-part message split is already exactly the right
shape for caching: adding cache_control to part 0 (Anthropic-style caching,
which OpenRouter passes through) cuts per-game cost roughly 3× for
caching-capable models (
no behavioral change.
3. Minor: seeded runs are not perfectly reproducible across game launches
Some SMODS-rebuilt pools are iterated in per-launch order before being fed to
the seeded RNG — we confirmed this for To Do List's target hand and Orbital
Tag's hand choice (same seed + identical action trace → different outcome after
a game relaunch, stable within one launch). Worth a caveat wherever the
benchmark claims seed-level determinism.
- 主要言語
- Python
- スター
- 114
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/balatrollm のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
coder/balatrollm#89 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
coder/balatrollm#85 ·
-
default-strategy
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
coder/balatrollm#64 ·
coder/balatrollm の issue をすべて見る
似ている issue
-
area: ci enhancement perceived difficulty: 1
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Nitjsefnie-Harness-Commons/daedalus#1826 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
vllm-project/vllm-sail#398 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
DiamondLightSource/sm-bluesky#476 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100