Parameter Golf Monitor
A skill for tracking the openai/parameter-golf competition leaderboard in real time by fetching open and merged PRs from GitHub's public API.
What this skill does
The monitor script at scripts/monitor.py queries the GitHub API for PRs on openai/parameter-golf, extracts val_bpb scores from titles and bodies, classifies submissions (record vs non-record), and displays a ranked leaderboard table.
It requires zero authentication — it uses the unauthenticated GitHub API (60 requests/hour rate limit).
When to use this skill
- - User asks "what's the current leaderboard?" or "who's winning parameter golf?"
- User wants to check their ranking: "where do I stand?" or "how's my PR doing?"
- User asks about competitor scores or techniques
- User wants to monitor for new submissions or changes
- User says "check the competition" or "show me the standings"
- User wants to compare their score against the field
How to run
The script is at scripts/monitor.py relative to this skill's directory. Run it with Python 3 (no dependencies beyond stdlib).
One-shot leaderboard
CODEBLOCK0
Shows all open PRs ranked by val_bpb (lower is better).
Highlight a specific user
CODEBLOCK1
Marks the user's PR(s) with <-- and shows their rank + gap to #1 in the summary. Ask the user for their GitHub username if they want highlighting and you don't already know it.
Common flag combinations
| Goal | Command |
|---|
| Full leaderboard | INLINECODE6 |
| Top 10 records only |
python3 scripts/monitor.py --top 10 --records-only |
| Highlight a user |
python3 scripts/monitor.py --me USERNAME |
| Merged records (SOTA history) |
python3 scripts/monitor.py --merged |
| Everything (open + merged) |
python3 scripts/monitor.py --all |
| Today's PRs only |
python3 scripts/monitor.py --since YYYY-MM-DD |
| JSON for piping |
python3 scripts/monitor.py --json |
| Live polling every 5 min |
python3 scripts/monitor.py --watch 5 |
All flags
- -
--me USER — Highlight a GitHub username. Shows rank and gap to #1. - INLINECODE15 — Show only the top N scored entries (highlighted user always shown even if outside top N).
- INLINECODE16 — Exclude non-record submissions.
- INLINECODE17 — Show only merged PRs.
- INLINECODE18 — Show both open and merged PRs.
- INLINECODE19 — Filter to PRs created on or after this date.
- INLINECODE20 — Output as JSON instead of a table (useful for piping to
jq or other tools). - INLINECODE22 — Poll every N minutes continuously (Ctrl+C to stop).
Interpreting results
- - Rank is by
val_bpb ascending (lower = better). Only scored PRs get a numeric rank. - Status shows
open, merged, or non-rec (non-record submission). - Scores marked
? mean no val_bpb could be extracted from the PR title or body. - Some very low scores (e.g. < 1.10) may be evaluation-only or use non-standard setups — check the PR for details.
- The gap to #1 in the summary tells the highlighted user how far they are from the top.
Rate limits
The GitHub API allows 60 unauthenticated requests per hour. Each run_once call makes 1 request (open PRs) or 2 requests (if --merged or --all). The --watch mode respects this — polling every 5 minutes uses ~12-24 requests/hour.
If you hit the rate limit, the script will show an error and retry on the next interval.
Example output
CODEBLOCK2
参数高尔夫监控器
通过从GitHub公共API获取开放和已合并的PR,实时追踪openai/parameter-golf竞赛排行榜的技能。
该技能的功能
位于scripts/monitor.py的监控脚本会查询GitHub API获取openai/parameter-golf的PR,从标题和正文中提取val_bpb分数,对提交进行分类(记录 vs 非记录),并显示排名排行榜表格。
它无需任何认证——使用未认证的GitHub API(每小时60次请求速率限制)。
何时使用该技能
- - 用户询问当前排行榜是什么?或谁在参数高尔夫中领先?
- 用户想查看自己的排名:我排在哪里?或我的PR表现如何?
- 用户询问竞争对手的分数或技术
- 用户想监控新的提交或变化
- 用户说查看竞赛或给我看排名
- 用户想将自己的分数与其他人比较
如何运行
脚本位于该技能目录下的scripts/monitor.py。使用Python 3运行(除标准库外无需其他依赖)。
一次性排行榜
bash
python3 <技能目录>/scripts/monitor.py
显示所有按val_bpb排序的开放PR(数值越低越好)。
高亮特定用户
bash
python3 <技能目录>/scripts/monitor.py --me
用<--标记用户的PR,并在摘要中显示其排名及与第一名的差距。如果用户想要高亮显示且你尚不知道其GitHub用户名,请询问用户。
常用标志组合
| 目标 | 命令 |
|---|
| 完整排行榜 | python3 scripts/monitor.py |
| 仅前10条记录 |
python3 scripts/monitor.py --top 10 --records-only |
| 高亮用户 | python3 scripts/monitor.py --me USERNAME |
| 已合并记录(SOTA历史) | python3 scripts/monitor.py --merged |
| 全部(开放+已合并) | python3 scripts/monitor.py --all |
| 仅今日PR | python3 scripts/monitor.py --since YYYY-MM-DD |
| JSON格式输出 | python3 scripts/monitor.py --json |
| 每5分钟实时轮询 | python3 scripts/monitor.py --watch 5 |
所有标志
- - --me USER — 高亮GitHub用户名。显示排名及与第一名的差距。
- --top N — 仅显示前N个得分条目(高亮用户即使不在前N名也会显示)。
- --records-only — 排除非记录提交。
- --merged — 仅显示已合并的PR。
- --all — 同时显示开放和已合并的PR。
- --since YYYY-MM-DD — 筛选在此日期或之后创建的PR。
- --json — 以JSON格式输出而非表格(便于通过管道传递给jq或其他工具)。
- --watch MIN — 每N分钟持续轮询(按Ctrl+C停止)。
结果解读
- - 排名按valbpb升序排列(数值越低越好)。只有有分数的PR才会获得数字排名。
- 状态显示open(开放)、merged(已合并)或non-rec(非记录提交)。
- 标记为?的分数表示无法从PR标题或正文中提取valbpb。
- 一些非常低的分数(例如< 1.10)可能仅为评估使用或使用了非标准设置——请查看PR详情。
- 摘要中的与第一名的差距告诉高亮用户他们与第一名的距离。
速率限制
GitHub API允许每小时60次未认证请求。每次run_once调用会发起1次请求(开放PR)或2次请求(如果使用--merged或--all)。--watch模式会考虑此限制——每5分钟轮询一次约使用12-24次请求/小时。
如果达到速率限制,脚本会显示错误并在下一个间隔重试。
示例输出
[2026-03-20 02:17:15] 参数高尔夫排行榜(开放PR)
排名 val_bpb PR 状态 作者 日期 标题
1 1.15390 #135 开放 unnir 2026-03-19 记录:OrthoInit + Int6 MLP3x + BigramHash + SmearGate
2 1.15800 #106 开放 krammnic 2026-03-19 记录:1.158
3 1.15850 #122 开放 mtybadger 2026-03-19 记录:滑动窗口评估,2048词汇量
4 1.16019 #156 开放 dexhunter 2026-03-20 Int6 STE + NorMuon + SWA + 滑动窗口 <--
最佳:val_bpb=1.15390(#135 by unnir)
总计:56个PR,40个有分数
你(dexhunter):排名第4,val_bpb=1.16019,与第一名差距:+0.00629