bug: leaderboard runs affected by two balatrobot defects — economy short-collected, losses recorded as wins
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- data, game-dev, testing-qa
调研方向
从 bot.py 和报告中描述的 executor 生命周期开始,然后重放 BalatroBench 数据集,以观察 cash_out 的时机和胜利状态的持久性。检查有效但无法执行的调用附近 gamestates.jsonl 的对齐情况。完成的标准是:受影响的 Rewards 和胜负标签已被修正或标记,并且已记录每次运行的隔离情况以及修复后的重放结果。
由索引模型根据 Issue 内容生成。
描述
Description
We replayed the full BalatroBench CC0 dataset (241 runs, 18k+ actions) on a
vanilla-faithful Balatro simulator as a differential check. Two balatrobot-level
defects we found and filed upstream reach published results:
-
cash_out race (coder/balatrobot#231).
bot.pycallscash_outthe moment
it seesROUND_EVAL; the endpoint firesG.FUNCS.cash_outbefore the
round-eval rows finish committing, so affected cash-outs collect one blind
reward short ($3/$4/$5), or $0 when the payout is only the reward row. In our
replay, of the runs with money divergence, 61 had live short (the race
direction) and 13 the opposite (unexplained, possibly a second mechanism).
Several dataset runs die in the shop on purchases they could have afforded
with the missing rewards. -
won-flag cross-run leak (coder/balatrobot#232). The executor starts its
Balatro instances once and cycles the whole task list through them; each run
begins withmenu+start, andG.GAME.wonsurvives that path. Since
bot.pyrecordsfinish_reason = "won"whenevergamestate["won"]is
truthy, a loss that occurs on an instance after that instance has produced
any win can be recorded — and published — as a win. We observed the
leaked flag 16 times in our own long-lived-instance campaigns; the exposure
here grows with tasks-per-instance.
A note for dataset consumers
Independent of the above: in gamestates.jsonl, ~1% of tool calls are
valid-but-unexecutable on live; they consume a response without emitting a
gamestate, which shifts every later index. Anyone aligning gamestates[i] with
action i needs to re-align at those events (we detected it when a "divergence"
decoded exactly to the following step's rearrange arguments).
Suggested Fixes
- Pick up the balatrobot fixes when they land.
- Affected wins are detectable after the fact: a recorded win whose final
gamestate never beat the ante-8 boss (chips/ante inspection) is the leak.
Consider re-scoring or flagging affected runs in the published data. - Meanwhile, for benchmark-grade integrity: one game process per run (avoids all
cross-run G.GAME leaks), and delaycash_outuntil the eval rows commit.
Happy to share our replay tooling/results for cross-checking.
- 主要语言
- Python
- 星标
- 114
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/balatrollm 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
coder/balatrollm#89 ·
-
难度 5/5 一周以上 新手友好度 45/100
coder/balatrollm#86 ·
-
default-strategy
难度 4/5 3-5 天 新手友好度 25/100
coder/balatrollm#64 ·
相似的 Issue
-
eegprep-lean: set channel types from the Zarr group's channel_type可能已有人在做 @claude 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
blacklanternsecurity/bbot#3679 ·
维护者通常 2 天内回复
-
Bot Type: Bug Type: Documentation
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 80/100
speakeasy-api/speakeasy#2159 ·
维护者通常 1 天内回复