Filters

1. An agent reads a published training script and is told which GPU will run it. It may not run it. How many times the actual seconds does it forecast, and how often do the actual runs fall inside the range it gives?

count(*) · runtime_ratio · avg(runtime_in) · by model

  • bar: quantile_cont(x, 0.25) to quantile_cont(x, 0.75), dot and text: median(x) of a model's rows, x = runtime_ratio
  • text in brackets: count(*) of the rows a value is of
  • runtime_ratio = forecast_runtime_s / actual_seconds
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • runtime_in: tasks/forecast.py:117 · runtime_in = inside(runs, low, high) · The share of our runs' values `ys` in the forecast's 10th to 90th range
tasks/forecast.py PROMPT
This directory holds `solution.py`, a training script for the task in `description.md`, and the task's data in `input/`.

The script will be run once as `python solution.py`, unchanged but for its fixed random seeds, which are set to a number you are not told, on a machine with one NVIDIA {gpu} ({gb} GB), 30 vCPUs and 200 GB of memory, with Python 3.12, torch 2.11.0 (CUDA 12.8) and torchvision 0.26.0. Its submission will then be graded as the task describes. Forecast that run.

{means}

End your reply with these lines, each a single number:
RUNTIME_S=<wall-clock seconds of the run, your median>
RUNTIME_S_LOW=<10th percentile>
RUNTIME_S_HIGH=<90th percentile>
PEAK_GPU_MB=<peak GPU memory in use on the device, as nvidia-smi reports it, in MB>
TEST_SCORE=<the grade, its {metric}, your median>
TEST_SCORE_LOW=<10th percentile>
TEST_SCORE_HIGH=<90th percentile>{budgets}
REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>

forecast_runtime_s against actual_seconds · per model · dashed: y = x · bar: forecast_runtime_s_low to forecast_runtime_s_high

  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • RUNTIME_S_LOW=<10th percentile>
  • RUNTIME_S_HIGH=<90th percentile>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

runtime_in · by model and condition · ink tick = avg(runtime_in)

  • runtime_in: tasks/forecast.py:117 · runtime_in = inside(runs, low, high) · The share of our runs' values `ys` in the forecast's 10th to 90th range
  • ink tick = avg(runtime_in)

runtime_ratio = forecast_runtime_s / actual_seconds · by model and condition · ink tick = median(runtime_ratio)

  • runtime_ratio = forecast_runtime_s / actual_seconds
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • ink tick = median(runtime_ratio)

2. It then requests a time limit, told that a run killed at its limit runs again in full and that the part of a limit a run does not use costs 0.3 of the price. How many times its own forecast does it request, and how many times the actual seconds? Does it request more where its range is wider, where the run is shorter, or where its forecast is further off?

count(*) · margin · request_ratio · width_r · size_r · miss_r · by model

  • bar: quantile_cont(x, 0.25) to quantile_cont(x, 0.75), dot and text: median(x) of a model's rows, x = margin, request_ratio
  • text in brackets: count(*) of the rows a value is of
  • margin = request_s / forecast_runtime_s
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • request_ratio: tasks/forecast.py:149 · request_ratio = request / real['seconds']
  • width_r = corr(ln(padding_s), ln(width_s))
  • padding_s = request_s - forecast_runtime_s
  • width_s = forecast_runtime_s_high - forecast_runtime_s_low
  • RUNTIME_S_HIGH=<90th percentile>
  • RUNTIME_S_LOW=<10th percentile>
  • size_r = corr(ln(padding_s), ln(forecast_runtime_s))
  • miss_r = corr(ln(padding_s), ln(miss_s))
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
tasks/forecast.py PROMPT REQUEST_S, hold = HOLD = 0.3
REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at 0.3 of a second of running>

request_s against actual_seconds · per model · dashed: y = x

  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

request_s against forecast_runtime_s · per model · dashed: y = x

  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

request_s against forecast_runtime_s_high · per model · dashed: y = x

  • RUNTIME_S_HIGH=<90th percentile>
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

padding_s = request_s - forecast_runtime_s against width_s = forecast_runtime_s_high - forecast_runtime_s_low · per model · width_r = corr(ln(padding_s), ln(width_s))

  • width_r = corr(ln(padding_s), ln(width_s))
  • padding_s = request_s - forecast_runtime_s
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • width_s = forecast_runtime_s_high - forecast_runtime_s_low
  • RUNTIME_S_HIGH=<90th percentile>
  • RUNTIME_S_LOW=<10th percentile>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

padding_s = request_s - forecast_runtime_s against forecast_runtime_s · per model · size_r = corr(ln(padding_s), ln(forecast_runtime_s))

  • size_r = corr(ln(padding_s), ln(forecast_runtime_s))
  • padding_s = request_s - forecast_runtime_s
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

padding_s = request_s - forecast_runtime_s against miss_s = abs(forecast_runtime_s - actual_seconds) · per model · miss_r = corr(ln(padding_s), ln(miss_s))

  • miss_r = corr(ln(padding_s), ln(miss_s))
  • padding_s = request_s - forecast_runtime_s
  • REQUEST_S=<the time limit you would request for the run, in seconds; the run is killed at its limit and must then be run again in full, and each second of the limit the run does not use is charged at {hold} of a second of running>
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

3. For the same script it forecasts the test score. How far off is it, and is an agent that is near on the seconds also near on the score? Is its forecast the score that was published with the script?

count(*) · score_ratio · avg(score_in) · near_r · published_share · by model

  • bar: quantile_cont(x, 0.25) to quantile_cont(x, 0.75), dot and text: median(x) of a model's rows, x = score_ratio
  • text in brackets: count(*) of the rows a value is of
  • score_ratio = forecast_test_score / actual_test_score
  • TEST_SCORE=<the grade, its {metric}, your median>
  • actual_test_score, actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • score_in: tasks/forecast.py:104 · score_in = inside(seeds, low, high) · The share of our runs' values `ys` in the forecast's 10th to 90th range
  • near_r = corr(ln(score_pct), ln(runtime_pct))
  • score_pct = abs(forecast_test_score - actual_test_score) / actual_test_score * 100
  • runtime_pct = miss_s / actual_seconds * 100
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • published_share = avg(CAST(published_off <= ln(1.005) AS DOUBLE))
  • published_off = abs(log(forecast_test_score / published_test_score))
  • published_test_score: styx/items.py PUBLISHED · What each job's solution took and scored as published there, on an RTX 3090: seconds, test score.

forecast_test_score against actual_test_score · per model · dashed: y = x

  • actual_test_score: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • TEST_SCORE=<the grade, its {metric}, your median>
  • metric: view/tidy.py:79 · published_test_score is from items.PUBLISHED, and metric names the task and its metric (items.TASKS).
  • panels: a model with 50 agents or more, the rest under other models

score_in · by model and condition · ink tick = avg(score_in)

  • score_in: tasks/forecast.py:104 · score_in = inside(seeds, low, high) · The share of our runs' values `ys` in the forecast's 10th to 90th range
  • ink tick = avg(score_in)

forecast_test_score against published_test_score · per model · dashed: y = x · published_near = count(*) FILTER (WHERE published_off <= ln(1.005))

  • published_near = count(*) FILTER (WHERE published_off <= ln(1.005))
  • published_off = abs(log(forecast_test_score / published_test_score))
  • TEST_SCORE=<the grade, its {metric}, your median>
  • published_test_score: styx/items.py PUBLISHED · What each job's solution took and scored as published there, on an RTX 3090: seconds, test score.
  • metric: view/tidy.py:79 · published_test_score is from items.PUBLISHED, and metric names the task and its metric (items.TASKS).
  • panels: a model with 50 agents or more, the rest under other models

score_pct = abs(forecast_test_score - actual_test_score) / actual_test_score * 100 against runtime_pct = miss_s / actual_seconds * 100 · per model · near_r = corr(ln(score_pct), ln(runtime_pct))

  • near_r = corr(ln(score_pct), ln(runtime_pct))
  • score_pct = abs(forecast_test_score - actual_test_score) / actual_test_score * 100
  • TEST_SCORE=<the grade, its {metric}, your median>
  • actual_test_score, actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • runtime_pct = miss_s / actual_seconds * 100
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

4. Across the nine jobs, does an agent put them in the order of their actual seconds? Between the A10 and the A100, does it say that the faster one is faster?

count(*) · order_r · faster_share · by model

  • text in brackets: count(*) of the rows a value is of
  • order_r = corr(ln(forecast_runtime_s), ln(actual_seconds))
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • faster_share = per model, the share of its jobs with agents on both GPUs where median(forecast_runtime_s) is lower on the GPU where median(actual_seconds) is lower; text: those jobs of all such; not filtered by the bar

median(forecast_runtime_s) against median(actual_seconds) of each job on each GPU · per model · dashed: y = x · order_r = corr(ln(forecast_runtime_s), ln(actual_seconds))

  • order_r = corr(ln(forecast_runtime_s), ln(actual_seconds))
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • job, gpu: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

seconds on the A100 against seconds on the A10 of each job · per model · ink: actual, colour: forecast · dashed: y = x

  • ink dot = (median(actual_seconds) FILTER (WHERE gpu = 'A10'), median(actual_seconds) FILTER (WHERE gpu = 'A100'))
  • coloured dot = (median(forecast_runtime_s) FILTER (WHERE gpu = 'A10'), median(forecast_runtime_s) FILTER (WHERE gpu = 'A100'))
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • job: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models; jobs with agents on both GPUs

5. Given 4 CPU threads and 30 minutes, or given those and told to find a proxy, does an agent compute, and do its forecasts move toward the actual?

count(*) · median(cpu_s) · median(runtime_err) · median(score_err) · by model · colour: condition

  • text in brackets: count(*) of the rows a value is of
  • cpu_s: styx/agents.py:296 · CPU seconds used in the scope that process `p` runs in, read until it ends.
  • runtime_err: tasks/forecast.py:117 · runtime_err = off(mid, statistics.median(runs))
  • score_err: tasks/forecast.py:104 · score_err = off(mid, statistics.median(seeds))
tasks/forecast.py MEANS["direct"]
You cannot run code here. You can read the files.
tasks/forecast.py MEANS["local"]
This machine has no GPU. You can run code here on 4 CPU threads and 8 GB of memory; `python` has torch 2.11.0, torchvision 0.26.0, scikit-learn, pandas, pillow and tqdm. You have 30 minutes.
tasks/forecast.py MEANS["proxy"]
This machine has no GPU. You can run code here on 4 CPU threads and 8 GB of memory; `python` has torch 2.11.0, torchvision 0.26.0, scikit-learn, pandas, pillow and tqdm. You have 30 minutes. Find and use a proxy you can use locally.

cpu_s · by model and condition · ink tick = median(cpu_s)

  • cpu_s: styx/agents.py:296 · CPU seconds used in the scope that process `p` runs in, read until it ends.
  • ink tick = median(cpu_s)

median(forecast_runtime_s) against condition, a line per model, per job and gpu · ink line: median(actual_seconds)

  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • rows: a model's agents on a job and GPU it ran in all 3 conditions

median(forecast_test_score) against condition, a line per model, per job and gpu · ink line: median(actual_test_score)

  • TEST_SCORE=<the grade, its {metric}, your median>
  • actual_test_score: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • rows: a model's agents on a job and GPU it ran in all 3 conditions

6. Asked for the same script at fewer epochs, does an agent's forecast of the score, and of the seconds, change as much as the actual does? Does that grow with the model's capability?

count(*) · score_slope · seconds_slope · by model

  • text in brackets: count(*) of the rows a value is of
  • score_slope = regr_slope(ln(score_gain_forecast), ln(score_gain_actual))
  • score_gain_forecast = forecast_test_score_e / forecast_test_score_e_full
  • TEST_SCORE=<the grade, its {metric}, your median> · TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
  • score_gain_actual = actual_test_score_e / actual_test_score_e_full
  • actual_test_score_e: view/tidy.py:110 · actual_test_score_e = r.get(f'actual_test_score{at(e)}', math.nan)
  • seconds_slope = regr_slope(ln(seconds_gain_forecast), ln(seconds_gain_actual))
  • seconds_gain_forecast = forecast_runtime_s_e / forecast_runtime_s_e_full
  • RUNTIME_S=<wall-clock seconds of the run, your median> · RUNTIME_S_E{e}=<wall-clock seconds of the run if {phrase}, your median>
  • seconds_gain_actual = actual_seconds_e / actual_seconds_e_full
  • actual_seconds_e: view/tidy.py:110 · actual_seconds_e = r.get(f'actual_seconds{at(e)}', math.nan)
tasks/forecast.py forecast() lines
RUNTIME_S_E{e}=<wall-clock seconds of the run if {phrase}, your median>
RUNTIME_S_E{e}_LOW=<10th percentile>
RUNTIME_S_E{e}_HIGH=<90th percentile>
TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
TEST_SCORE_E{e}_LOW=<10th percentile>
TEST_SCORE_E{e}_HIGH=<90th percentile>
styx/items.py BUDGETS["c"]
1: `num_epochs = 10` is changed to `num_epochs = 1`
2: `num_epochs = 10` is changed to `num_epochs = 2`
5: `num_epochs = 10` is changed to `num_epochs = 5`

median(forecast_test_score_e) of each model and median(actual_test_score_e) (ink) against epochs, per job and gpu

  • TEST_SCORE=<the grade, its {metric}, your median> · TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
  • actual_test_score_e: view/tidy.py:110 · actual_test_score_e = r.get(f'actual_test_score{at(e)}', math.nan)
  • epochs: view/tidy.py:110 · One row per agent of the forecast task and budget its prompt asked, the full one included, where it asked a smaller one: its forecast of the seconds and the test score of the run at that many epochs (its key at that budget, _E<epochs> but at the full one), and the actual, the median of the runs at that budget that it was scored against (styx.data.table)

median(forecast_runtime_s_e) of each model and median(actual_seconds_e) (ink) against epochs, per job and gpu

  • RUNTIME_S=<wall-clock seconds of the run, your median> · RUNTIME_S_E{e}=<wall-clock seconds of the run if {phrase}, your median>
  • actual_seconds_e: view/tidy.py:110 · actual_seconds_e = r.get(f'actual_seconds{at(e)}', math.nan)
  • epochs: view/tidy.py:110 · One row per agent of the forecast task and budget its prompt asked, the full one included, where it asked a smaller one: its forecast of the seconds and the test score of the run at that many epochs (its key at that budget, _E<epochs> but at the full one), and the actual, the median of the runs at that budget that it was scored against (styx.data.table)

score_slope = regr_slope(ln(score_gain_forecast), ln(score_gain_actual)) · by model and condition · text = score_slope · score_points

  • score_slope = regr_slope(ln(score_gain_forecast), ln(score_gain_actual))
  • score_gain_forecast = forecast_test_score_e / forecast_test_score_e_full
  • TEST_SCORE=<the grade, its {metric}, your median> · TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
  • score_gain_actual = actual_test_score_e / actual_test_score_e_full
  • actual_test_score_e: view/tidy.py:110 · actual_test_score_e = r.get(f'actual_test_score{at(e)}', math.nan)
  • score_points = regr_count(score_gain_forecast, score_gain_actual)
  • text = score_slope · score_points
  • rows: budgets.query("not full and kind == 'cut' and answered")
  • models: score_points >= 3

seconds_slope = regr_slope(ln(seconds_gain_forecast), ln(seconds_gain_actual)) · by model and condition · text = seconds_slope · seconds_points

  • seconds_slope = regr_slope(ln(seconds_gain_forecast), ln(seconds_gain_actual))
  • seconds_gain_forecast = forecast_runtime_s_e / forecast_runtime_s_e_full
  • RUNTIME_S=<wall-clock seconds of the run, your median> · RUNTIME_S_E{e}=<wall-clock seconds of the run if {phrase}, your median>
  • seconds_gain_actual = actual_seconds_e / actual_seconds_e_full
  • actual_seconds_e: view/tidy.py:110 · actual_seconds_e = r.get(f'actual_seconds{at(e)}', math.nan)
  • seconds_points = regr_count(seconds_gain_forecast, seconds_gain_actual)
  • text = seconds_slope · seconds_points
  • rows: budgets.query("not full and kind == 'cut' and answered")
  • models: seconds_points >= 3

forecast_test_score_e and median(actual_test_score_e) (ink, a symbol per gpu) against epochs, jobs ['c'] · per model

  • TEST_SCORE=<the grade, its {metric}, your median> · TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
  • actual_test_score_e: view/tidy.py:110 · actual_test_score_e = r.get(f'actual_test_score{at(e)}', math.nan)
  • epochs: view/tidy.py:110 · One row per agent of the forecast task and budget its prompt asked, the full one included, where it asked a smaller one: its forecast of the seconds and the test score of the run at that many epochs (its key at that budget, _E<epochs> but at the full one), and the actual, the median of the runs at that budget that it was scored against (styx.data.table)
  • panels: a model with 10 agents or more, the rest under other models

score_gain_forecast = forecast_test_score_e / forecast_test_score_e_full against score_gain_actual = actual_test_score_e / actual_test_score_e_full · per model · dashed: y = x

  • score_gain_actual = actual_test_score_e / actual_test_score_e_full
  • actual_test_score_e: view/tidy.py:110 · actual_test_score_e = r.get(f'actual_test_score{at(e)}', math.nan)
  • score_gain_forecast = forecast_test_score_e / forecast_test_score_e_full
  • TEST_SCORE=<the grade, its {metric}, your median> · TEST_SCORE_E{e}=<the grade of that run, its {metric(j)}, your median>
  • kind: view/tidy.py:110 · kind = 'flat' if r['job'] in items.FLAT else items.BUDGET_KIND[r['job']]
  • rows: budgets.query('not full')
  • panels: a model with 30 rows or more, the rest under other models

seconds_gain_forecast = forecast_runtime_s_e / forecast_runtime_s_e_full against seconds_gain_actual = actual_seconds_e / actual_seconds_e_full · per model · dashed: y = x

  • seconds_gain_actual = actual_seconds_e / actual_seconds_e_full
  • actual_seconds_e: view/tidy.py:110 · actual_seconds_e = r.get(f'actual_seconds{at(e)}', math.nan)
  • seconds_gain_forecast = forecast_runtime_s_e / forecast_runtime_s_e_full
  • RUNTIME_S=<wall-clock seconds of the run, your median> · RUNTIME_S_E{e}=<wall-clock seconds of the run if {phrase}, your median>
  • kind: view/tidy.py:110 · kind = 'flat' if r['job'] in items.FLAT else items.BUDGET_KIND[r['job']]
  • rows: budgets.query('not full')
  • panels: a model with 30 rows or more, the rest under other models

7. Before it starts, an agent forecasts its own seconds, output tokens and tool calls. How many times the actual are they, and is an agent that is near on its own run also near on the job's?

count(*) · self_seconds_ratio · self_tokens_ratio · self_calls_ratio · self_r · by model

  • bar: quantile_cont(x, 0.25) to quantile_cont(x, 0.75), dot and text: median(x) of a model's rows, x = self_seconds_ratio, self_tokens_ratio, self_calls_ratio
  • text in brackets: count(*) of the rows a value is of
  • self_seconds_ratio = forecast_self_seconds / agent_s
  • SELF_SECONDS=<seconds from the task arriving to your final reply, your median>
  • agent_s: styx/agents.py:339 · agent_s = round(time.time() - t, 1)
  • self_tokens_ratio = forecast_self_output_tokens / output_tokens
  • SELF_OUTPUT_TOKENS=<tokens you will generate, reasoning included, your median>
  • output_tokens, tool_calls: styx/agents.py:115 · The agent's last message, and the size of its run as its CLI reported it: tool calls, output tokens (reasoning included), input tokens not read from cache, and those read from cache.
  • self_calls_ratio = forecast_self_tool_calls / tool_calls
  • SELF_TOOL_CALLS=<tool calls you will make, your median>
  • self_r = corr(ln(self_seconds_pct), ln(runtime_pct))
  • self_seconds_pct = abs(forecast_self_seconds - agent_s) / agent_s * 100
  • runtime_pct = miss_s / actual_seconds * 100
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
styx/agents.py BEFORE
You are about to be given the task below, in a new session. Before starting, forecast the size of your own run on it. Do not start the task.

<task>
{task}
</task>

End your reply with these lines, each a single number:
SELF_SECONDS=<seconds from the task arriving to your final reply, your median>
SELF_SECONDS_LOW=<10th percentile>
SELF_SECONDS_HIGH=<90th percentile>
SELF_OUTPUT_TOKENS=<tokens you will generate, reasoning included, your median>
SELF_OUTPUT_TOKENS_LOW=<10th percentile>
SELF_OUTPUT_TOKENS_HIGH=<90th percentile>
SELF_TOOL_CALLS=<tool calls you will make, your median>
SELF_TOOL_CALLS_LOW=<10th percentile>
SELF_TOOL_CALLS_HIGH=<90th percentile>

forecast_self_seconds against agent_s · per model · dashed: y = x

  • agent_s: styx/agents.py:339 · agent_s = round(time.time() - t, 1)
  • SELF_SECONDS=<seconds from the task arriving to your final reply, your median>
  • panels: a model with 60 agents or more, the rest under other models

forecast_self_output_tokens against output_tokens · per model · dashed: y = x

  • output_tokens: styx/agents.py:115 · The agent's last message, and the size of its run as its CLI reported it: tool calls, output tokens (reasoning included), input tokens not read from cache, and those read from cache.
  • SELF_OUTPUT_TOKENS=<tokens you will generate, reasoning included, your median>
  • panels: a model with 60 agents or more, the rest under other models

forecast_self_tool_calls against tool_calls · per model · dashed: y = x

  • tool_calls: styx/agents.py:115 · The agent's last message, and the size of its run as its CLI reported it: tool calls, output tokens (reasoning included), input tokens not read from cache, and those read from cache.
  • SELF_TOOL_CALLS=<tool calls you will make, your median>
  • panels: a model with 60 agents or more, the rest under other models

self_seconds_pct = abs(forecast_self_seconds - agent_s) / agent_s * 100 against runtime_pct = miss_s / actual_seconds * 100 · per model · self_r = corr(ln(self_seconds_pct), ln(runtime_pct))

  • self_r = corr(ln(self_seconds_pct), ln(runtime_pct))
  • self_seconds_pct = abs(forecast_self_seconds - agent_s) / agent_s * 100
  • SELF_SECONDS=<seconds from the task arriving to your final reply, your median>
  • agent_s: styx/agents.py:339 · agent_s = round(time.time() - t, 1)
  • runtime_pct = miss_s / actual_seconds * 100
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

runtime_pct = miss_s / actual_seconds * 100 against output_tokens · per model · tokens_r = corr(ln(runtime_pct), ln(output_tokens))

  • tokens_r = corr(ln(runtime_pct), ln(output_tokens))
  • runtime_pct = miss_s / actual_seconds * 100
  • miss_s = abs(forecast_runtime_s - actual_seconds)
  • RUNTIME_S=<wall-clock seconds of the run, your median>
  • actual_seconds: tasks/forecast.py:63 · Per job and GPU, the actual runs: the median seconds and peak GPU memory of every run we made of the script at its full budget (items.truth's `full`) and the seconds of each, the test score of every seed at the full budget and at each smaller budget of items.BUDGETS that was swept (`budgets`), the median of the full budget's, and the seconds of every run at each smaller budget (`took`).
  • output_tokens: styx/agents.py:115 · The agent's last message, and the size of its run as its CLI reported it: tool calls, output tokens (reasoning included), input tokens not read from cache, and those read from cache.
  • condition: view/tidy.py:79 · condition, gpu and job come from its id (`<condition>-<gpu>[-<job>]-<epoch>`, no job being job a; on the post task the job is the item, with no condition or given GPU)
  • panels: a model with 50 agents or more, the rest under other models

8. Handed a workload and a pool of GPUs it reaches only by posting jobs, which GPU does its first job ask for, what limit does it ask against the seconds the job takes, and what do its jobs cost next to the cheapest posting we know?

count(*) · first_gpu: share of count(*) · limit_ratio · usd_ratio · by model

  • bar: quantile_cont(x, 0.25) to quantile_cont(x, 0.75), dot and text: median(x) of a model's rows, x = limit_ratio, usd_ratio
  • text in brackets: count(*) of the rows a value is of
  • first_gpu: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · gpu: the GPU it asked for
  • limit_ratio = first_limit_s / first_seconds
  • first_limit_s: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · limit_s: the time limit it asked for, in seconds
  • first_seconds: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · seconds: the seconds it ran
  • usd_ratio = usd / usd_reference
  • usd: tasks/post.py:64 · usd = sum((j.get('usd', 0) for j in jobs))
  • usd_reference: tasks/post.py:44 · Per cell, the loss and the cheapest of our postings that succeeded.
tasks/post.py PROMPT
This directory holds `loss.py`. Report the mean next-token loss of {model} on the first {docs} chunks of {ctx} tokens of the WikiText-103 training text, which is the number that `python loss.py --model {model} --docs {docs} --ctx {ctx}` prints.

This machine has no GPU. A GPU pool is reached with the `styx` command; `styx info` describes it.

End your reply with a line of the form `LOSS=<number>`.
styx/pool.py info() at tasks/post.py HOLDS
0: GPU pool. A job gets one whole GPU on one node (30 vCPUs, 200 GB host memory). It is charged its GPU's price for each second it runs.
0.1: GPU pool. A job gets one whole GPU on one node (30 vCPUs, 200 GB host memory). It is charged its GPU's price for each second it runs, and 0.1 of that price for each second of its limit that it does not use.
0.3: GPU pool. A job gets one whole GPU on one node (30 vCPUs, 200 GB host memory). It is charged its GPU's price for each second it runs, and 0.3 of that price for each second of its limit that it does not use.
1: GPU pool. A job gets one whole GPU on one node (30 vCPUs, 200 GB host memory). It is charged its GPU's price for each second it runs, and 1 of that price for each second of its limit that it does not use.

first_limit_s against first_seconds · per model · dashed: y = x

  • first_seconds: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · seconds: the seconds it ran
  • first_limit_s: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · limit_s: the time limit it asked for, in seconds
  • cli: view/tidy.py:79 · `cli` and `model` split the name `<cli>-<model>` of the directory that holds an agent's runs
  • panels: a model with 20 agents or more, the rest under other models

usd against usd_reference · per model · dashed: y = x

  • usd_reference: tasks/post.py:44 · Per cell, the loss and the cheapest of our postings that succeeded.
  • usd: tasks/post.py:64 · usd = sum((j.get('usd', 0) for j in jobs))
  • cli: view/tidy.py:79 · `cli` and `model` split the name `<cli>-<model>` of the directory that holds an agent's runs
  • panels: a model with 20 agents or more, the rest under other models

count(*) by model and first_gpu

  • first_gpu: styx/data.py FIRST · What table() keeps of the first job an agent posted, by its key in a job's record of styx.pool. · gpu: the GPU it asked for
  • fill, text = count(*)

s_items. Do the training scripts published with PredictBeforeExecute (MLE-bench: denoising-dirty-documents, ventilator-pressure-prediction, statoil-iceberg-classifier-challenge, stanford-covid-vaccine) need a GPU, what do they take and score on our pool, how much does the score of a job vary with its seed and what does it lose to fewer epochs, and what does one epoch of job a on a tenth of the training images cost and tell on four CPU threads of this machine?

seconds of each run at the full budget, of each that did not succeed (hollow) and of job a on cpu · seed_share of each seed · budget_share at each smaller budget · by job · colour: gpu

  • budget: view/tidy.py:138 · `budget` the epochs a GPU run trained: a sweep row's, the job's last budget for the script as published (none for a job without BUDGETS or a CPU run); `truth` marks the seeds a forecast's test score is scored against: per job and GPU the sweep's at the full budget, else the runs as published; `full` the runs its seconds and memory are scored against: every run at the job's full budget, as published and in the sweep (items.truth).
  • seconds: each run at its job's full budget, as published and in the sweep (tidy.runs full), each run on the pool that did not succeed, and job a's runs on cpu
  • seed_share = score / median(score) of the seeds of the job and gpu that a forecast's score is scored against (tidy.runs truth)
  • budget_share = median(score) of the sweep's seeds at a smaller budget / median(score) of those seeds; each task's metric is lower for a better submission
  • text: the job's smallest budget, in epochs, at its larger budget_share

s_reference. What does each cell of tasks/post.py cost when we post it ourselves, on each GPU of the pool, at each batch size given? And how much does the cheapest of those vary when posted again?

usd of each posting by cell · colour: gpu · symbol: batch · hollow: not SUCCEEDED · ring: the cheapest that succeeded

  • usd_reference: tasks/post.py:44 · Per cell, the loss and the cheapest of our postings that succeeded.
  • a posting: a row of out/reference.jsonl with usd > 0; batch: loss.py --batch

s_decide. Before an agent's first job, what limit did it ask for, and what had it written and reasoned until then: that the limit costs nothing, a margin, a runtime? What does a model reading the episode say its reason for the limit was? Given a CPU to forecast with, how often did it run python, and what had it written and reasoned before the first time? Where Codex has no shell, how often did it compute in the JavaScript sandbox its CLI leaves it?

count(*) · avg(wrote_free) · avg(wrote_margin) · avg(wrote_runtime) · python_share · javascript_share · by model

  • text in brackets: count(*) of the rows a value is of
  • wrote_free, wrote_margin, wrote_runtime: scripts/s_decide.py:64 · Whether, before its first job, the agent wrote that the limit costs nothing, named a margin, or named a runtime.
  • python_share = avg(CAST(ran_python > 0 AS DOUBLE))
  • ran_python: scripts/s_decide.py:75 · How many tool calls ran python, with all the agent had written and reasoned before the first.
  • javascript_share = avg(CAST(ran_javascript > 0 AS DOUBLE))
  • ran_javascript: scripts/s_decide.py:86 · How many of Codex's JavaScript runs called no tool, of how many, with those scripts. Codex calls every tool from such a run.