Model resampling in the METR trend
How the fitted interval changes when the evaluated models are resampled, and a correction to our historical comparison.
November 5, 2026 · Research note
How much does an estimated rate of AI progress depend on which models were tested? METR’s trend intervals resample task families, tasks and runs while keeping the selected models fixed. We checked what happens when the models are resampled too.
On the pinned data and procedure below, the doubling-time interval widens from 101.6–157.9 days to 89.3–172.1 days. That is a sensitivity result. These models were not randomly sampled from a defined population, so the wider interval does not establish better statistical coverage.
METR’s 50% time horizon is the human task duration at which an AI agent is predicted to succeed half the time on its task distribution. The trend concerns how that measure changes with model release date. It has downstream uses: the AI Futures Project’s April 2026 update used the TH1.1 trend and newer measurements to revise its estimates of coding progress. This check does not evaluate those forecasts.
The comparison
We used METR’s raw-data revision 52cb829c: 20 models, 228 tasks and 79 task families. We fitted each model’s horizon, selected record setters released from March 13, 2023, and excluded horizons above 960 minutes. Fourteen models enter the primary trend. Its fitted doubling time is 128.7 days.
The fixed-model calculation resamples task families, tasks and outcomes for 1,000 draws, refitting horizons each time. The second calculation also samples the 14 selected model rows with replacement in each draw. Both keep the original record-setter identities as the eligible set; they do not select new record setters inside these interval calculations.
| Interval | Lower bound, days | Upper bound, days | Width, days |
|---|---|---|---|
| Published reference | 104.4 | 158.0 | 53.6 |
| Our procedure, models fixed | 101.6 | 157.9 | 56.3 |
| Our procedure, models also resampled | 89.3 | 172.1 | 82.8 |
The published reference comes from METR’s benchmark results file, retrieved November 6, 2026 UTC. It is a mutable file, not a snapshot of the January announcement.
The denominator matters. The model-resampled width is 1.47 times our own fixed-model width and 1.55 times the rounded published reference width. Our original rule used the latter denominator and a threshold of 1.5. That arithmetic decision reproduces. It should not be described as a 55% increase over our procedure’s own baseline.
A separate simulation permuted model residuals around the fitted steady trend, added the specified measurement noise, then selected record setters again. Across 20,000 draws its median doubling time was 119.2 days, 7.4% below the starting rate. That describes this null model. It does not establish the bias of the real trend without the residual-exchangeability assumption.
The source correction
Our original analysis also accepted an early window because its 91.6-day estimate was close to the 88.6 days in METR’s January 2026 announcement. That was an insufficient reproduction check.
The historical release configuration distinguishes the headline post-2024 trend from a separate window ending February 25, 2025. Our selected early window excluded later models in the release. A similar doubling time did not establish the same comparison population. We withdrew that interpretation. This note makes no finding about whether the historical acceleration is distinguishable from a steady trend.
Part of my research notebook.
Agent context: sources, method and working notes
What was checked
A fresh agent independently implemented the specified calculation from pinned raw inputs, without seeing the original code or private results. All 72 comparison checks passed, including the 20 model horizons, selected identities, interval endpoints and the three saved window probabilities. All 20,000 bootstrap horizon fits converged.
The identity-aware comparison with METR’s reference matches 19 model identifiers exactly. GPT-5.3-Codex requires a conditional match between the raw identifier flamingo_2 and the named model, supported by its alias and release date. Six reference-only models are excluded. The maximum matched horizon difference is about 0.0163%.
Our bootstrap uses a different random-stream construction, run resampling and weight normalization from the upstream implementation. The numerical checks therefore support this specified sensitivity calculation, rather than an identical upstream bootstrap. The original extra-seed sweep and classical interval were not independently recomputed and are not used as evidence here. Human-time error, task selection and the measurement ceiling remain outside this check.
Reproduce the calculation
The code below is the independent implementation used in the accepted check, copied unchanged. It does not import or execute METR’s research code. It uses Python 3.12, NumPy 2.3.4 and PyYAML 6.0.3.
Save it as reconstruct.py. Beside it, create private/ and save these three public inputs with the indicated names:
runs.jsonl, SHA256609f904f4b6ae32129388da89d036e00bac511ad94223d2be1e58fc2b45b55cd.release_dates.yaml, SHA256317b92915df5bf935908567a857116bcf6f0c7686ef8b0840897ed04a29232bc.benchmark_results_1_1.yaml, retrieved November 6, 2026 at 06:10 UTC; checked SHA256aae31902b0519a4da73e16643915e5e8aca13cd3315c3aac893ce3d6dfe92ad9.
Verify the hashes before claiming an exact replay. The third URL is mutable: if its bytes have changed, the reference comparison is for a different snapshot. The trend and resampling calculations depend on the first two files. A changed reference must not be treated as the checked snapshot.
Run python reconstruct.py in an isolated environment. It writes aggregates.json and detailed diagnostics under private/derived/. The checked run took about 22 seconds on four allocated CPU cores with a 4 GiB memory limit. No model inference is required.
"""Independent implementation of the frozen question, not METR research code.
Author: OpenAI Codex independent subagent; exact model identifier unavailable.
"""
import os, sys, json, math, pathlib, datetime, time, collections, hashlib
import numpy as np
import yaml
ROOT = pathlib.Path(__file__).parent
OUT = ROOT / 'private' / 'derived'
OUT.mkdir(parents=True, exist_ok=True)
LN2 = math.log(2.)
REG = 1e-5
T0 = time.monotonic()
def clean(x):
if isinstance(x, dict): return {str(k): clean(v) for k,v in x.items()}
if isinstance(x, (list,tuple)): return [clean(v) for v in x]
if isinstance(x, np.ndarray): return clean(x.tolist())
if isinstance(x, (np.integer,)): return int(x)
if isinstance(x, (float,np.floating)):
if math.isnan(x): return None
if math.isinf(x): return 'Infinity' if x>0 else '-Infinity'
return float(x)
return x
def save(path, value):
path.write_text(json.dumps(clean(value), indent=2, allow_nan=False)+'\n')
def sigmoid(z):
return np.exp(-np.logaddexp(0., -z))
def fit(x, y, weights):
"""Exact objective with independent 2D damped Newton implementation."""
diag = {'status':'invalid', 'iterations':0}
if len(x)==0 or not np.isfinite(weights).all() or weights.sum()<=0:
diag['reason']='empty_or_invalid_weights'; return np.nan, diag
w=weights/weights.sum()
mean_y=float(w@y)
if mean_y<=0 or mean_y>=1:
diag['reason']='single_response_class'; return np.nan,diag
center=float(w@x); z=x-center
a=math.log(mean_y/(1-mean_y)); b=0.
def loss(a,b):
eta=a+b*z
return float(w@(np.logaddexp(0,eta)-y*eta)+REG*b*b/2)
value=loss(a,b)
for it in range(100):
p=sigmoid(a+b*z); e=w*(p-y); h=w*p*(1-p)
g=np.array([e.sum(),e@z+REG*b])
gn=float(np.max(np.abs(g)))
if gn<=1e-10: break
H=np.array([[h.sum(),h@z],[h@z,h@(z*z)+REG]])
try: step=np.linalg.solve(H,g)
except np.linalg.LinAlgError:
diag.update(reason='singular_hessian',iterations=it,gradient=gn); return np.nan,diag
scale=1.
for bt in range(60):
na=a-scale*step[0]; nb=b-scale*step[1]; nv=loss(na,nb)
if np.isfinite(nv) and nv<=value-1e-4*scale*float(g@step)+1e-16:
a,b,value=float(na),float(nb),nv; break
scale*=.5
else:
diag.update(reason='line_search_failure',iterations=it,gradient=gn); return np.nan,diag
p=sigmoid(a+b*z); e=w*(p-y)
gn=float(max(abs(e.sum()),abs(e@z+REG*b)))
intercept=a-b*center
diag.update(iterations=it+1,gradient_centered=gn,
gradient_original=float(max(abs(e.sum()),abs(e@x+REG*b))),
loss=value,intercept=intercept,slope=b,positive_slope=bool(b>0))
if gn>1e-10 or b==0:
diag['reason']='nonconverged_or_zero_slope'; return np.nan,diag
lh=-intercept/b*LN2
if not np.isfinite(lh):
diag['reason']='nonfinite_log_horizon'; return np.nan,diag
diag['status']='ok'
return float(lh),diag
def trend(t, y, degenerate_inf=False):
if not np.isfinite(y).all(): return (np.nan,np.nan,np.nan)
if len(t)<2 or float(np.var(t))==0:
return (np.inf if degenerate_inf else np.nan,np.nan,np.nan)
dt=t-t.mean(); slope=float(dt@(y-y.mean())/(dt@dt))
intercept=float(y.mean()-slope*t.mean())
return (LN2/slope if slope>0 else np.inf,slope,intercept)
def records(t,y,cap):
# Caller arrays are sorted aliases; same-date ties therefore deterministic.
order=np.argsort(t,kind='stable'); selected=[]; running=-np.inf
for date in np.unique(t[order]):
ids=order[t[order]==date]; running=max(running,float(np.max(y[ids])))
selected.extend(int(i) for i in ids if y[i]>=running)
if cap is not None: selected=[i for i in selected if y[i]<=math.log(cap)]
return np.array(selected,dtype=int)
def percentiles(a):
a=np.sort(np.asarray(a)[~np.isnan(a)])
if not len(a): return [np.nan]*3
ans=[]
for q in [.025,.5,.975]:
idx=(len(a)-1)*q; lo=int(math.floor(idx)); hi=int(math.ceil(idx)); f=idx-lo
if hi==lo or f==0: ans.append(float(a[lo]))
elif np.isposinf(a[hi]): ans.append(np.inf)
else: ans.append(float(a[lo]+f*(a[hi]-a[lo])))
return ans
def summary(a):
q=percentiles(a); a=np.asarray(a)
return {'n':len(a),'finite':int(np.isfinite(a).sum()),'invalid':int(np.isnan(a).sum()),
'infinite':int(np.isinf(a).sum()),'ci_low':q[0],'median':q[1],'ci_high':q[2],
'width':q[2]-q[0]}
def intervals(ids, boot, dates, name):
fixed=np.full(len(boot),np.nan); resampled=np.full(len(boot),np.nan)
rng=np.random.default_rng(0); retained=0
for r in range(len(boot)):
y=boot[r,ids]
if not np.isfinite(y).all(): continue
retained+=1
fixed[r]=trend(dates[ids],y)[0]
ix=rng.choice(len(ids),size=len(ids),replace=True)
resampled[r]=trend(dates[ids][ix],y[ix])[0]
np.savez_compressed(OUT/(name+'_interval_draws.npz'),fixed=fixed,model_resampled=resampled)
f=summary(fixed); m=summary(resampled)
return {'retained_hierarchical':retained,'omitted_invalid_model_replicates':len(boot)-retained,
'fixed_models':f,'model_resampled':m,'resampled_over_fixed_width':m['width']/f['width'],
'resampled_width_over_reference_53_6':m['width']/53.6,
'resampled_width_over_reference_53_584':m['width']/53.584}
def null(t,y,sd,steady,cap,seed,observed,name):
rng=np.random.default_rng(seed); base=steady[1]*t+steady[2]; residual=y-base
draws=np.full(20000,np.nan); selected_counts=np.zeros(20000,dtype=int)
for r in range(20000):
simulated=base+rng.permutation(residual)+rng.normal(0.,sd)
if not np.isfinite(simulated).all(): continue
ids=records(t,simulated,cap); selected_counts[r]=len(ids)
draws[r]=trend(t[ids],simulated[ids],degenerate_inf=True)[0]
np.savez_compressed(OUT/(name+'_null_draws.npz'),doubling_days=draws,selected_counts=selected_counts)
s=summary(draws); numerator=int(np.count_nonzero(draws<=observed)); valid=s['finite']+s['infinite']
s.update(probability_numerator=numerator,probability_fixed_denominator=20000,
probability=numerator/20000,probability_valid_denominator=valid,
probability_valid_diagnostic=numerator/valid if valid else np.nan,
relative_median_bias=s['median']/observed-1.,seed=seed)
return s
def main():
assert np.__version__=='2.3.4',np.__version__
stamp=datetime.datetime.now(datetime.timezone.utc).isoformat()
rawfile=ROOT/'private/runs.jsonl'; blob=rawfile.read_bytes()
assert len(blob)==15008064
assert hashlib.sha1(('blob '+str(len(blob))+'\0').encode()+blob).hexdigest()=='0a22eb1fcadcbdafbbabcf84e1121d7b59cc57ee'
rows=[json.loads(s) for s in blob.splitlines()]
human_count=sum(r['alias']=='human' for r in rows)
rows=[r for r in rows if r['alias']!='human']
aliases=sorted(set(r['alias'] for r in rows)); tasks=sorted(set(r['task_id'] for r in rows))
task_index={s:i for i,s in enumerate(tasks)}; arows={a:[] for a in aliases}; meta={}; groups={a:collections.defaultdict(list) for a in aliases}
for r in rows:
assert r['score_binarized'] in (0,1)
assert math.isfinite(r['human_minutes']) and r['human_minutes']>0
assert math.isfinite(r['invsqrt_task_weight']) and r['invsqrt_task_weight']>0
m=(r['task_family'],r['human_minutes'])
assert r['task_id'] not in meta or meta[r['task_id']]==m,(r['task_id'],'task metadata varies')
meta[r['task_id']]=m; groups[r['alias']][r['task_id']].append(r); arows[r['alias']].append(r)
families=sorted(set(m[0] for m in meta.values()))
ft=[np.array([task_index[t] for t in tasks if meta[t][0]==f],dtype=int) for f in families]
dates_map=yaml.safe_load((ROOT/'private/release_dates.yaml').read_text())['date']
dates=np.array([(datetime.date.fromisoformat(str(dates_map[a]))-datetime.date(1970,1,1)).days for a in aliases],dtype=float)
data=[]; model_details=[]; base_log=[]; base_diagnostics=[]; row_check=[]
for a in aliases:
ts=sorted(groups[a]); gg=[groups[a][t] for t in ts]
for g in gg: assert max(r['invsqrt_task_weight'] for r in g)-min(r['invsqrt_task_weight'] for r in g)<1e-12
x=np.log2(np.array([meta[t][1] for t in ts])); n=np.array([len(g) for g in gg],dtype=int)
y=np.array([sum(r['score_binarized'] for r in g)/len(g) for g in gg])
w=np.array([sum(r['invsqrt_task_weight'] for r in g) for g in gg])
idx=np.array([task_index[t] for t in ts],dtype=int)
lh,d=fit(x,y,w); base_log.append(lh); base_diagnostics.append(d)
assert d['status']=='ok',(a,d)
xr=np.log2(np.array([r['human_minutes'] for r in arows[a]]))
yr=np.array([r['score_binarized'] for r in arows[a]])
wr=np.array([r['invsqrt_task_weight'] for r in arows[a]]); wr/=wr.sum()
er=wr*(sigmoid(d['intercept']+d['slope']*xr)-yr)
ea=(w/w.sum())*(sigmoid(d['intercept']+d['slope']*x)-y)
row_check.append(float(max(abs(er.sum()-ea.sum()),abs(er@xr-ea@x))))
mids=sorted(set(r['model'] for r in arows[a])); assert len(mids)==1
model_details.append({'alias':a,'model':mids[0],'date':str(dates_map[a]),'runs':len(arows[a]),'tasks':len(ts),
'weight_sum_before_normalization':float(w.sum()),'log_p50':lh,'p50_minutes':math.exp(lh),
'solver':d,'row_aggregate_gradient_difference':row_check[-1]})
data.append((x,y,w,n,idx))
base_log=np.array(base_log)
print('base fits completed',len(aliases),flush=True)
boot=np.full((1000,len(aliases)),np.nan); bdiag=[]
rng=np.random.default_rng(0)
for r in range(1000):
mult=np.zeros(len(tasks),dtype=int)
for fi in rng.choice(len(families),size=len(families),replace=True):
np.add.at(mult,rng.choice(ft[fi],size=len(ft[fi]),replace=True),1)
for j,(x,y,w,n,idx) in enumerate(data):
keep=mult[idx]>0
yy=rng.binomial(n[keep],y[keep])/n[keep]
boot[r,j],d=fit(x[keep],yy,w[keep]*mult[idx][keep])
bdiag.append({'replicate':r,'alias':aliases[j],**d})
if (r+1)%100==0: print('hierarchical',r+1,'elapsed',time.monotonic()-T0,flush=True)
np.savez_compressed(OUT/'hierarchical_log_horizons.npz',log_horizon=boot,aliases=np.array(aliases))
save(OUT/'bootstrap_solver_diagnostics.json',bdiag)
finite_counts=np.isfinite(boot).sum(axis=0); sd=np.array([np.std(boot[np.isfinite(boot[:,j]),j],ddof=0) for j in range(len(aliases))])
assert np.isfinite(sd).all()
for j,m in enumerate(model_details): m.update(bootstrap_finite=int(finite_counts[j]),bootstrap_log_sd=float(sd[j]))
save(OUT/'per_model.json',model_details)
def window_mask(start,end):
lo=(datetime.date.fromisoformat(start)-datetime.date(1970,1,1)).days
hi=(datetime.date.fromisoformat(end)-datetime.date(1970,1,1)).days
return np.flatnonzero((dates>=lo)&(dates<hi))
win=window_mask('2023-03-13','2030-01-01'); ids=win[records(dates[win],base_log[win],960)]
steady=trend(dates[ids],base_log[ids]); primary={'start_inclusive':'2023-03-13','end_exclusive':'2030-01-01','cap_minutes':960,
'selected_aliases':[aliases[i] for i in ids],'doubling_days':steady[0],'slope_ln_per_day':steady[1],'intercept_epoch_days':steady[2]}
primary['intervals']=intervals(ids,boot,dates,'primary')
primary['all_models_uncapped_doubling']=trend(dates[win],base_log[win])[0]
capped=win[base_log[win]<=math.log(960)]
primary['all_models_capped_doubling']=trend(dates[capped],base_log[capped])[0]
primary['leave_one_out']=[{'omitted':aliases[i],'doubling_days':trend(dates[ids[ids!=i]],base_log[ids[ids!=i]])[0]} for i in ids]
primary['selection_null']=null(dates[win],base_log[win],sd[win],steady,960,1,steady[0],'primary_selection')
print('primary complete',time.monotonic()-T0,flush=True)
windows=[]
for end in ['2025-02-25','2030-01-01']:
for cap in [960,None]:
wi=window_mask('2024-01-01',end); selected=wi[records(dates[wi],base_log[wi],cap)]
observed=trend(dates[selected],base_log[selected])[0]
name='from2024_'+end+('_cap960' if cap else '_uncapped')
w={'start_inclusive':'2024-01-01','end_exclusive':end,'cap_minutes':cap,'all_window_aliases':[aliases[i] for i in wi],
'selected_aliases':[aliases[i] for i in selected],'doubling_days':observed,'historical_correspondence_claimed':False}
w['intervals']=intervals(selected,boot,dates,name)
w['acceleration_null']=null(dates[wi],base_log[wi],sd[wi],steady,cap,2,observed,name)
windows.append(w); print('window complete',name,time.monotonic()-T0,flush=True)
ref=yaml.safe_load((ROOT/'private/benchmark_results_1_1.yaml').read_text())['results']
mapped=[]; used=set(); unmatched=[]
for m in model_details:
key=m['model']; conditional=False
if key=='flamingo_2' and m['alias']=='GPT-5.3-Codex':
key='gpt_5_3_codex'; conditional=True
if key not in ref: unmatched.append(m['alias']); continue
r=ref[key]; date_agrees=str(r['release_date'])==m['date']
if conditional: date_agrees=date_agrees and m['date']=='2026-02-05'
v=float(r['metrics']['p50_horizon_length']['estimate']); used.add(key)
mapped.append({'alias':m['alias'],'raw_model':m['model'],'reference_key':key,'conditional_name_date_match':conditional,
'date_agrees':date_agrees,'p50_recomputed':m['p50_minutes'],'p50_reference':v,
'relative_difference':abs(m['p50_minutes']/v-1.)})
save(OUT/'model_correspondence.json',{'matches':mapped,'unmatched_raw_aliases':unmatched,'extra_reference_keys':sorted(set(ref)-used)})
diag={'matched_count':len(mapped),'exact_identifier_matches':sum(not m['conditional_name_date_match'] for m in mapped),
'conditional_name_date_matches':[m['alias'] for m in mapped if m['conditional_name_date_match']],
'unmatched_raw_aliases':unmatched,'extra_reference_keys':sorted(set(ref)-used),
'all_matched_dates_agree':all(m['date_agrees'] for m in mapped),
'max_p50_relative_difference':max(m['relative_difference'] for m in mapped),
'sorted_matched_value_max_relative_difference':float(np.max(np.abs(np.sort([m['p50_recomputed'] for m in mapped])/np.sort([m['p50_reference'] for m in mapped])-1.)))}
fi=primary['intervals']['fixed_models']
diag.update(p50_within_2pct=diag['max_p50_relative_difference']<=.02,
point_difference_from_128_744=steady[0]-128.744,point_within_2_days=abs(steady[0]-128.744)<=2,
fixed_ci_endpoint_differences=[fi['ci_low']-104.428,fi['ci_high']-158.012],
fixed_ci_endpoints_within_6_days=abs(fi['ci_low']-104.428)<=6 and abs(fi['ci_high']-158.012)<=6,
interpretation='Source-correspondence diagnostics only; no exact upstream reproduction or upstream error claimed.')
statuses=collections.Counter(d['status'] if d['status']=='ok' else d.get('reason','invalid') for d in bdiag)
ok=[d for d in bdiag if d['status']=='ok']
result={'author':'OpenAI Codex independent subagent; exact runtime model identifier unavailable',
'started_at_utc':stamp,'finished_at_utc':datetime.datetime.now(datetime.timezone.utc).isoformat(),
'elapsed_seconds':time.monotonic()-T0,'numpy_version':np.__version__,'pyyaml_version':yaml.__version__,'python_version':sys.version,
'blind_to_original_private_outputs':True,'counts':{'nonhuman_runs':len(rows),'human_excluded':human_count,'models':len(aliases),'tasks':len(tasks),'families':len(families)},
'solver_diagnostics':{'base_max_row_aggregate_gradient_difference':max(row_check),'base_max_centered_gradient':max(d['gradient_centered'] for d in base_diagnostics),
'base_max_iterations':max(d['iterations'] for d in base_diagnostics),'bootstrap_status_counts':dict(statuses),
'bootstrap_max_iterations':max(d['iterations'] for d in ok),'bootstrap_max_centered_gradient':max(d['gradient_centered'] for d in ok),
'bootstrap_positive_slope_fits':sum(d['positive_slope'] for d in ok),'bootstrap_model_finite_counts':dict(zip(aliases,map(int,finite_counts)))},
'primary':primary,'from2024_windows':windows,'public_source_diagnostics':diag}
save(ROOT/'aggregates.json',result)
print('COMPLETE',result['elapsed_seconds'],flush=True)
if __name__=='__main__': main()
The method fixes the selected models for interval resampling, but reselects record setters in the selection null. It retains infinite null draws in the original 20,000-draw denominator. Seeds, weighting, regularization, invalid-draw handling and the model-row order are part of the specification.
What would change this result: a model-identity, weighting, selection or arithmetic correction that changes the reproduced intervals. A more defensible model-sampling scheme could change what the wider interval means; it would need its own explicit target population and assumptions.
The publication experiment is whether another reader can reproduce the scoped comparison, identify a consequential error, or reuse the same fixed-versus-resampled check on another trend. Confidence is high in this calculation and limited in what model resampling says about future progress. Corrections with a source row or calculation are welcome at @ziding.
Part of the research notebook. This is a provisional note; substantive corrections will be dated here.
Changes
- November 27, 2026: Added inline mechanism-lens interval scrubber and static explanatory figure.
- November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.