Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .agents/skills/pwc-cron-health/references/job-probes.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,21 @@ For every managed leaderboard sync, fetch the current upstream source read-only
- **Contract:** `rsi-exam` on task `auto-research`; Normalized Score (0–1, four decimals) of every row on the Full board (release RSI-Exam 0.1, 88 tasks) at https://rsi-exam.ai/, harness per row (Claude Code, Codex, Antigravity, Grok, Kimi Code, Qwen Code, Muse Code); typically 10–100 rows (21 on 2026-11-16, 20 on catalog papers).
- **Proof:** Compare managed rows' order and values with the Full tab; confirm `sync_rsi_exam_unreviewed` names become radar signals or get an identity in `rsi_exam_sync_service.py`, `missing_papers` is empty, and `missing_upstream` rows were investigated; a failure naming the release or task count means RSI-Exam rescaled the board, which needs a reviewer decision before bumping `RELEASE`/`FULL_TASKS`, not a parser patch. An unreviewed harness label needs a `HARNESSES` entry.

## `sync_frontier_rsi`

- **Contract:** `frontier-rsi` on task `auto-research`; Score (%) 0–100 to two decimals: the mean over 27 tasks of each model's avg@4, recomputed from the `window.FRSI` JSON in https://frontier-rsi.org/data.js exactly as the site's leaderboard does; harness per row (Claude Code, Codex, Antigravity CLI, Grok Build, Muse Code, mini-SWE-agent); typically 5–100 rows (13 on 2026-11-23, all reviewed).
- **Proof:** Compare managed rows' order and values with the site's Leaderboard section; confirm `sync_frontier_rsi_unreviewed` names become radar signals or get an identity in `frontier_rsi_sync_service.py`, `missing_papers` is empty, and `missing_upstream` rows were investigated; a failure naming the categories or task count means FrontierRSI changed its task set, which needs a reviewer decision before bumping `CATEGORIES`/`TASK_COUNT`, not a parser patch.

## `sync_rsi_inference`

- **Contract:** three benchmarks on task `auto-research` from the `window.RSI_LEADERBOARD` object in `docs/leaderboard.html` of `apple-aiml-research/ml-rsi-inference-bench`: `rsi-inference-bench` (Elo, joint rating), `rsi-inference-bench-model-support` (Pass@1 0–100) and `rsi-inference-bench-optimization` (Speedup); no harness; incomplete rows skipped; typically 5–100 rows per board (15 on 2026-11-23, all reviewed).
- **Proof:** Compare managed rows with the rendered leaderboard (htmlpreview link); confirm `sync_rsi_inference_unreviewed` names become radar signals or get an identity in `rsi_inference_sync_service.py`, and `missing_papers` is empty; a failure naming the schema, rating method, release or track task counts means the board was rescaled, which needs a reviewer decision, not a parser patch.

## `sync_rsi_infra`

- **Contract:** `rsi-infra-bench` on task `auto-research`; Score (ECI-style, anchored Claude Opus 5.5 = 40, Kimi K3.1 Pro = 10, two decimals) from the table on https://ai4ai-for-anything.github.io/blog/rsi-infra-bench/leaderboard/index.html; harness per row (Claude Code, Codex, Antigravity CLI, Qwen Code, DeepSeek Harness); per-task speed-ups in the methodology; typically 5–100 rows (16 on 2026-11-23, all reviewed).
- **Proof:** Compare managed rows' order and values with the table; confirm `sync_rsi_infra_unreviewed` names become radar signals or get an identity in `rsi_infra_sync_service.py`, `missing_papers` is empty; scores are refit on every update, so small shifts are expected; a failure naming the tasks or anchors needs a reviewer decision, not a parser patch.

## `sync_jevbench`

- **Contract:** `jevbench` on task `decision-making`; Composite Score 0–100 (two decimals) of every ranked row on Benchmark Heaven's official API board (`api_board_rank` set, method v1.7), from https://benchmarkheaven.com/api/jevbench/latest; ranks match https://benchmarkheaven.com/jev-models/api; typically 20–300 ranked API rows (48 on 2026-11-12, 6 on catalog papers).
Expand All @@ -151,7 +166,7 @@ For every managed leaderboard sync, fetch the current upstream source read-only

## `sync_frontiercs_2`

- **Contract:** `frontiercs-2` on task `coding-agents`; Pass Rate (%) 0–100 (best metric) and FCI (unbounded, Kimi K2.7 = 0); the `MODELS`/`PASS`/`ECI` constants in https://frontier-cs.org/assets/js/fcs2-data.js behind https://frontier-cs.org/#leaderboard; typically 8–200 entries, one per model and harness (14 on 2026-10-26, all reviewed).
- **Contract:** `frontiercs-2` on task `auto-research` (moved from `coding-agents` on 2026-11-23); Pass Rate (%) 0–100 (best metric) and FCI (unbounded, Kimi K2.7 = 0); the `MODELS`/`PASS`/`ECI` constants in https://frontier-cs.org/assets/js/fcs2-data.js behind https://frontier-cs.org/#leaderboard; typically 8–200 entries, one per model and harness (14 on 2026-10-26, all reviewed).
- **Proof:** Diff the data file against managed rows (model, harness, pass rate, FCI); confirm `frontiercs_2_unreviewed` names get an identity (index the model's paper first), `missing_papers` is empty, and every `frontiercs_2_deleted` row really left the upstream board (the sync deletes managed rows whose model and harness are no longer listed); verify ranks on Pass Rate.

## `sync_vals_index`
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/cron-sync-frontier-rsi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Cron - Sync FrontierRSI

on:
workflow_dispatch: {}

concurrency:
group: cron-sync-frontier-rsi
cancel-in-progress: false

permissions: {}

jobs:
run:
environment: vps-operations
permissions: {}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Connect to Tailscale
uses: tailscale/github-action@064b10558093f38325e838ddea35486bdc6b1d5c # v4.4.0
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:pwc-ci
- name: Load SSH key into agent
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
- name: Add VPS to known_hosts
env:
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
if [ -z "$VPS_HOST" ] || [[ "$VPS_HOST" == *"://"* || "$VPS_HOST" == *"@"* || "$VPS_HOST" == *"/"* || "$VPS_HOST" =~ [[:space:]] ]]; then
echo "VPS_HOST must be a bare hostname or IP address."
exit 1
fi
timeout 10 bash -c "cat < /dev/null > /dev/tcp/$VPS_HOST/22"
ssh-keyscan -T 10 -H "$VPS_HOST" >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
- name: Refresh FrontierRSI evaluations on VPS
env:
VPS_USER: ${{ secrets.VPS_USER }}
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
ssh -o StrictHostKeyChecking=yes \
"${VPS_USER}@${VPS_HOST}" \
'if sudo /usr/local/sbin/pwc-cron status | grep -q '\''"sync_frontier_rsi"'\''; then sudo /usr/local/sbin/pwc-cron sync_frontier_rsi; else echo "sync_frontier_rsi is not activated in the production CRON allowlist"; fi'
49 changes: 49 additions & 0 deletions .github/workflows/cron-sync-rsi-inference.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Cron - Sync RSI-Inference Bench

on:
workflow_dispatch: {}

concurrency:
group: cron-sync-rsi-inference
cancel-in-progress: false

permissions: {}

jobs:
run:
environment: vps-operations
permissions: {}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Connect to Tailscale
uses: tailscale/github-action@064b10558093f38325e838ddea35486bdc6b1d5c # v4.4.0
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:pwc-ci
- name: Load SSH key into agent
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
- name: Add VPS to known_hosts
env:
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
if [ -z "$VPS_HOST" ] || [[ "$VPS_HOST" == *"://"* || "$VPS_HOST" == *"@"* || "$VPS_HOST" == *"/"* || "$VPS_HOST" =~ [[:space:]] ]]; then
echo "VPS_HOST must be a bare hostname or IP address."
exit 1
fi
timeout 10 bash -c "cat < /dev/null > /dev/tcp/$VPS_HOST/22"
ssh-keyscan -T 10 -H "$VPS_HOST" >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
- name: Refresh RSI-Inference Bench evaluations on VPS
env:
VPS_USER: ${{ secrets.VPS_USER }}
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
ssh -o StrictHostKeyChecking=yes \
"${VPS_USER}@${VPS_HOST}" \
'if sudo /usr/local/sbin/pwc-cron status | grep -q '\''"sync_rsi_inference"'\''; then sudo /usr/local/sbin/pwc-cron sync_rsi_inference; else echo "sync_rsi_inference is not activated in the production CRON allowlist"; fi'
49 changes: 49 additions & 0 deletions .github/workflows/cron-sync-rsi-infra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Cron - Sync RSI-Infra Bench

on:
workflow_dispatch: {}

concurrency:
group: cron-sync-rsi-infra
cancel-in-progress: false

permissions: {}

jobs:
run:
environment: vps-operations
permissions: {}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Connect to Tailscale
uses: tailscale/github-action@064b10558093f38325e838ddea35486bdc6b1d5c # v4.4.0
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:pwc-ci
- name: Load SSH key into agent
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
with:
ssh-private-key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
- name: Add VPS to known_hosts
env:
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
if [ -z "$VPS_HOST" ] || [[ "$VPS_HOST" == *"://"* || "$VPS_HOST" == *"@"* || "$VPS_HOST" == *"/"* || "$VPS_HOST" =~ [[:space:]] ]]; then
echo "VPS_HOST must be a bare hostname or IP address."
exit 1
fi
timeout 10 bash -c "cat < /dev/null > /dev/tcp/$VPS_HOST/22"
ssh-keyscan -T 10 -H "$VPS_HOST" >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
- name: Refresh RSI-Infra Bench evaluations on VPS
env:
VPS_USER: ${{ secrets.VPS_USER }}
VPS_HOST: ${{ secrets.VPS_HOST }}
run: |
ssh -o StrictHostKeyChecking=yes \
"${VPS_USER}@${VPS_HOST}" \
'if sudo /usr/local/sbin/pwc-cron status | grep -q '\''"sync_rsi_infra"'\''; then sudo /usr/local/sbin/pwc-cron sync_rsi_infra; else echo "sync_rsi_infra is not activated in the production CRON allowlist"; fi'
35 changes: 34 additions & 1 deletion .github/workflows/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Generated from `deploy/cron_schedules.py`; update this table when you change it.
| `pwc-cron-sync-jevbench.timer` | `*-*-* *:37:00` | `sync_jevbench` | `.github/workflows/scripts/hourly/sync_jevbench.py` |
| `pwc-cron-sync-sle.timer` | `*-*-* *:41:00` | `sync_sle` | `.github/workflows/scripts/hourly/sync_sle.py` |
| `pwc-cron-sync-rsi-exam.timer` | `*-*-* *:49:00` | `sync_rsi_exam` | `.github/workflows/scripts/hourly/sync_rsi_exam.py` |
| `pwc-cron-sync-frontier-rsi.timer` | `*-*-* *:19:00` | `sync_frontier_rsi` | `.github/workflows/scripts/hourly/sync_frontier_rsi.py` |
| `pwc-cron-sync-rsi-inference.timer` | `*-*-* *:29:00` | `sync_rsi_inference` | `.github/workflows/scripts/hourly/sync_rsi_inference.py` |
| `pwc-cron-sync-rsi-infra.timer` | `*-*-* *:44:00` | `sync_rsi_infra` | `.github/workflows/scripts/hourly/sync_rsi_infra.py` |
| `pwc-cron-sync-frontiercs-2.timer` | `*-*-* *:43:00` | `sync_frontiercs_2` | `.github/workflows/scripts/hourly/sync_frontiercs_2.py` |
| `pwc-cron-sync-vals-index.timer` | `*-*-* *:03:00` | `sync_vals_index` | `.github/workflows/scripts/hourly/sync_vals_index.py` |
| `pwc-cron-sync-swe-sweep.timer` | `*-*-* *:08:00` | `sync_swe_sweep` | `.github/workflows/scripts/hourly/sync_swe_sweep.py` |
Expand Down Expand Up @@ -473,7 +476,7 @@ off the leaderboard are reported, never deleted.
`sync_frontiercs_2.py` reads the `MODELS`, `PASS`, `ECI`, and `UPDATED`
constants from https://frontier-cs.org/assets/js/fcs2-data.js (the
https://frontier-cs.org/#leaderboard page renders from them client-side) into
the `frontiercs-2` benchmark on task `coding-agents`: Pass Rate (percent of the
the `frontiercs-2` benchmark on task `auto-research`: Pass Rate (percent of the
48 tasks whose run beats the human reference, checked against the pass count)
and FCI (FrontierCS Capabilities Index, refitted upstream with Kimi K2.7 at 0).
It fails on any layout change or an entry count outside 8–200. Exact model
Expand Down Expand Up @@ -574,6 +577,36 @@ board covers other than 88 tasks, on an unreviewed harness label, broken
ranks, a score out of rank order, or a board outside 10–100 rows. Models
without a catalog paper become release-radar signals.

`sync_frontier_rsi.py` keeps the `frontier-rsi` benchmark on task
`auto-research` equal to the leaderboard on https://frontier-rsi.org/
(Abundant AI). It reads the `window.FRSI` JSON in `data.js` and ranks models as
the site does: the mean over all 27 tasks of each model's avg@4 (mean reward
of four trials), published as Score in percent with the harness (Claude Code,
Codex, Antigravity CLI, ...) and reasoning effort. The job fails when the four
categories or the 27-task count change, on an unreviewed harness label, a model
run in two setups, or a board outside 5–100 rows.

`sync_rsi_inference.py` keeps three benchmarks on task `auto-research` equal to
Apple's RSI-Inference Bench leaderboard (`docs/leaderboard.html` in
`apple-aiml-research/ml-rsi-inference-bench`, read from
raw.githubusercontent.com): `rsi-inference-bench` (joint Bradley-Terry rating
on the Elo scale, metric Elo), `rsi-inference-bench-model-support` (Day-0
Model Support pass@1 in percent) and `rsi-inference-bench-optimization`
(geometric-mean Speedup over the optimization and regression tasks). Rows the
board marks incomplete are skipped. The job fails when the data schema, rating
method (`weighted-bt-elo-v2`), the 37-task release or the per-track task counts
change, on broken ranks or scores out of rank order.

`sync_rsi_infra.py` keeps the `rsi-infra-bench` benchmark on task
`auto-research` equal to the RSI-Infra Bench leaderboard table at
https://ai4ai-for-anything.github.io/blog/rsi-infra-bench/leaderboard/: the
ECI-style overall Score (anchored at Claude Opus 5.5 = 40 and Kimi K3.1 Pro =
10) with the harness, and the eight per-task speed-ups in the methodology.
Rows the board marks (GPT-6 Astra's "suspected nerf") or judged on other
machines keep that note. The job fails when the eight tasks or the anchors
change, on an unreviewed harness, broken ranks, a score out of rank order, or a
board outside 5–100 rows.

`sync_physics_iq_verified.py` parses the Physics-IQ Verified table in the
official `google-deepmind/physics-IQ-benchmark` README (the
physics-iq-verified.anates.ai site has no JSON endpoint) and fails on any
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/scripts/hourly/sync_frontier_rsi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Refresh FrontierRSI evaluations from the official frontier-rsi.org data."""

from scripts.utils.live_leaderboard_job import main

if __name__ == "__main__":
raise SystemExit(main("sync_frontier_rsi", __doc__))
13 changes: 13 additions & 0 deletions .github/workflows/scripts/hourly/sync_rsi_inference.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Refresh RSI-Inference Bench evaluations from the official leaderboard."""

from backend.services.rsi_inference_sync_service import fetch_rsi_inference_boards
from scripts.utils.live_leaderboard_job import LiveLeaderboardJob, main


class SyncRsiInferenceJob(LiveLeaderboardJob):
def fetch(self):
return fetch_rsi_inference_boards()


if __name__ == "__main__":
raise SystemExit(main("sync_rsi_inference", __doc__, SyncRsiInferenceJob))
6 changes: 6 additions & 0 deletions .github/workflows/scripts/hourly/sync_rsi_infra.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Refresh RSI-Infra Bench evaluations from the official leaderboard table."""

from scripts.utils.live_leaderboard_job import main

if __name__ == "__main__":
raise SystemExit(main("sync_rsi_infra", __doc__))
17 changes: 17 additions & 0 deletions backend/services/autonomous_cron_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,20 @@
"backend/services/carbon_board_syncs.py",
"backend/services/live_leaderboard_sync.py",
),
"sync_frontier_rsi": (
"backend/services/frontier_rsi_sync_service.py",
"backend/services/carbon_board_syncs.py",
"backend/services/live_leaderboard_sync.py",
),
"sync_rsi_inference": (
"backend/services/rsi_inference_sync_service.py",
"backend/services/live_leaderboard_sync.py",
),
"sync_rsi_infra": (
"backend/services/rsi_infra_sync_service.py",
"backend/services/carbon_board_syncs.py",
"backend/services/live_leaderboard_sync.py",
),
"sync_vals_index": (
"backend/services/carbon_board_syncs.py",
"backend/services/live_leaderboard_sync.py",
Expand Down Expand Up @@ -285,6 +299,9 @@
"sync_jevbench": ("backend/tests/evaluation/test_jevbench_sync.py",),
"sync_sle": ("backend/tests/evaluation/test_sle_sync.py",),
"sync_rsi_exam": ("backend/tests/evaluation/test_rsi_exam_sync.py",),
"sync_frontier_rsi": ("backend/tests/evaluation/test_frontier_rsi_sync.py",),
"sync_rsi_inference": ("backend/tests/evaluation/test_rsi_inference_sync.py",),
"sync_rsi_infra": ("backend/tests/evaluation/test_rsi_infra_sync.py",),
"sync_vals_index": ("backend/tests/evaluation/test_carbon_board_syncs.py",),
"sync_swe_sweep": ("backend/tests/evaluation/test_carbon_board_syncs.py",),
"sync_vending_bench_2": ("backend/tests/evaluation/test_carbon_board_syncs.py",),
Expand Down
4 changes: 4 additions & 0 deletions backend/services/carbon_board_syncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
import httpx
from bs4 import BeautifulSoup

from backend.services import frontier_rsi_sync_service as frontier_rsi
from backend.services import jevbench_sync_service as jevbench
from backend.services import rsi_exam_sync_service as rsi_exam
from backend.services import rsi_infra_sync_service as rsi_infra
from backend.services import surge_chartography_sync_service as surge_chartography
from backend.services import swe_marathon_sync_service as swe_marathon
from backend.services import vals_finance_agent_sync_service as vals_finance_agent
Expand Down Expand Up @@ -788,4 +790,6 @@ def _fetching(
"sync_swe_marathon": BoardSync(swe_marathon.BOARD, swe_marathon.fetch_swe_marathon),
"sync_jevbench": BoardSync(jevbench.BOARD, jevbench.fetch_jevbench),
"sync_rsi_exam": BoardSync(rsi_exam.BOARD, rsi_exam.fetch_rsi_exam),
"sync_frontier_rsi": BoardSync(frontier_rsi.BOARD, frontier_rsi.fetch_frontier_rsi),
"sync_rsi_infra": BoardSync(rsi_infra.BOARD, rsi_infra.fetch_rsi_infra),
}
Loading
Loading