Terminal‑Bench‑Science 式科研任务

在 Linux 容器里完成一项真实科研工作流程,数据要靠专家判断;断网 verifier 用隐藏测试评判科学结果。

对应:Terminal-Bench-Science格式:Terminal-Bench-Science / Harbor

索取样例
Claude Opus 5.5 单次通过率
33%每题 3 次尝试至多解出 2 次;max effort(2 道为 high)
deepseek-v4.1-flash‑1017 单次通过率
6%max effort
每题专家预估耗时
6–⁠24 小时
每题隐藏测试
7–⁠26全部通过才得 1 分
每题附带的对照解
11–⁠30换一种正确方法的得 1 分,有缺陷的全部 0 分
一条数据
一个 Harbor 任务,含 verifier、参考解和对照解
领域
生命科学(医学、生物学)、地球科学(环境科学)、数学(统计学)、物理科学(天文学)
环境
装有输入数据的 Linux 容器,2–⁠4 核、4–⁠16 GB,时限 8 小时;按官方设置可联网
题面
英文,311–⁠816 词:数据说明、科学约定和输出文件格式
评分
独立、断网的 verifier,只读取声明的输出文件;pytest 隐藏测试对照真值评判,奖励二值
格式
Terminal-Bench-Science 官方目录结构(领域 / 学科 / 任务)的 Harbor 任务

概览

每条数据是一道 Terminal-Bench-Science 式的科研任务:Agent 在 Linux 容器里拿到一个真实科研场景的数据,独立完成一整套专业工作流程,从核对和修复数据、建模计算,到按学科约定写出结果文件。独立、断网的 verifier 用隐藏测试对照真值评判科学结果,全部通过才得 1 分。

数据是真实工作的规模:两年的逐小时电网运行记录,81 万条死亡登记,17 万条 ICU 检验结果,上百万条超新星测光。难点不在写代码,而在专业判断:数据里有真实工作中会碰到的问题,题面不说是什么、在哪里,Agent 也拿不到任何反馈;只有知道该做哪些检查、该保留哪些数值的领域专家,才交得出正确结果。

难度与质量

  • 难度:Claude Opus 5.5 单次通过率 33%,每题 3 次尝试至多解出 2 次(max effort,2 道为 high);deepseek-v4.1-flash‑1017(max effort)单次通过率 6%。两者都在 Claude Code 中按 Terminal-Bench-Science 官方设置运行:可联网,每次 8 小时。
  • 对照解检验评分:每题附 11–⁠30 份对照解,各自写明应得的结果,并由正式评分所用的 verifier 打分。换一种正确方法的都得 1 分;只差一个专家步骤、套用领域的通用做法、照搬已发表的数值、编造结果或只给空白和常数的,都得 0 分,并且都在预先写明的测试上失败。样例卡片里列出了每道题的对照解。
  • 参考解满分:每题附参考解,用 Harbor 的 oracle 运行即得 1 分,什么都不做得 0 分,可自行复核。
  • 防取巧:不做科学分析、只想拿到奖励的 Agent 得 0 分。
  • 符合官方规范:通过 Terminal-Bench-Science 官方 CI 的逐题静态检查和 39 条实现评审细则。

交付内容

tasks/<domain>/<field>/<task>/
├── instruction.md     # 题面:Agent 收到的唯一输入
├── task.toml          # 领域、学科方向、专家预估耗时;资源、时限、网络设置
├── README.md          # 难点、参考解思路、验证方式与容差
├── environment/       # Agent 镜像:Dockerfile 和输入数据
├── solution/          # 参考解:solve.sh 跑完整个工作流程
├── tests/             # verifier 镜像:Dockerfile、test.sh、pytest 测试和隐藏真值
└── authoring/         # 对照解及其预期结果和评分记录、容差标定、输入和真值的生成程序
README.md              # 运行说明
SHA256SUMS             # 全部文件的校验和

用 Harbor 运行

# 跑参考解,得 1 分
harbor run -p tasks/<domain>/<field>/<task> -a oracle

# 跑你的 Agent
harbor run -p tasks/<domain>/<field>/<task> -a <agent> -m <model>
  • 隔离评分:只有 task.toml 中声明的输出文件会进入由 tests/ 构建、不联网的全新容器;Agent 看不到隐藏测试和真值。
  • 评判科学结果:测试对照真值检查结果文件里的每个数值,按题目的科学含义设定容差,不比对代码或中间步骤。
  • 自己复核评分器:把任意一份对照解换进 solution/,用 oracle 运行,即可复现它的得分和失败的测试。
  • 可复现:基础镜像按 digest 固定,体积较大的输入在构建镜像时按固定版本拉取并校验 sha256。

样例

5 道样题各属一个学科:环境科学、统计学、医学、生物学和天文学。专家预估耗时 7–⁠10 小时,隐藏测试 11–⁠16 项,每题附 13–⁠23 份对照解。每张卡片给出输入数据一览、对照解的评分结果和 Agent 收到的题面原文。

样题 领域 学科方向 专家预估 隐藏测试 对照解 输入数据 Claude Opus 5.5 解出 deepseek-v4.1-flash‑1017 解出
1 地球科学 电力行业排放核算 8 小时 14 15 1.2 MB 1 / 3 0 / 3
2 数学 人口学与生命统计 7 小时 12 23 40.7 MB 1 / 3 0 / 3
3 生命科学 临床检验与重症肾脏病学 10 小时 11 13 1.3 MB 0 / 3 0 / 3
4 生命科学 癌症基因组学 10 小时 16 21 82.5 MB 2 / 3 0 / 3
5 物理科学 超新星宇宙学 7 小时 12 13 14.0 MB 0 / 3(high) 0 / 3

两个模型都是 max effort(样题 5 的 Claude Opus 5.5 为 high),每题 3 次尝试。

样例 1 / 5

修复电网逐小时运行记录,推算边际排放因子

  • 地球科学
  • 环境科学
  • 电力行业排放核算
  • 专家预估 8 小时
  • 难点
  • 缺陷的类型和位置题面不给
  • 不许插值、不许沿用前值
  • 区分报送错误与真实工况
  • 当地时间含夏令时切换

一个电力平衡区两年的逐小时运行记录:负荷、净发电量、交换功率和七类电源的发电量,其中有数据报送缺陷。Agent 要把记录修复成每个小时真实发生的值,能由核算恒等式确定的空缺要补上,无法确定的留空;再算出逐小时 CO₂ 排放量,以及按季节 × 当地小时划分的 96 个单元的边际排放因子和平均排放因子。

难在哪里

边际排放因子是对逐小时一阶差分做回归,任何残留的缺陷都会被放大,而最终的排放因子表看不出底层记录有没有错。哪些值是报送错误、哪些是真实工况,要靠电网运行和排放核算的经验来判断;题面不提示,Agent 也拿不到任何反馈。

Claude Opus 5.5 解出
1 / 3
deepseek-v4.1-flash‑1017 解出
0 / 3
隐藏测试
14
Agent 容器
2 核 · 4 GB

输入数据

逐小时记录 17,519 行,每行 10 个通道(MW):负荷、净发电量、交换功率和七类电源的发电量;另附七类电源的排放因子。下图是其中一周。

  1. 输入数据中的一周

    负荷与五类主要电源的逐小时出力,横轴为当地时间

    负荷与五类主要电源的逐小时出力,横轴为当地时间

对照解与评分结果

对照解 份数 得分 未通过的隐藏测试
换一种正确的方法 3 1 —
领域里常用的通用做法 2 0 7 项
只差一个专家步骤 6 0 2–⁠8 项
照搬已发表的数值 2 0 12 项
空白、常数或照抄输入 1 0 11 项
编造结果 1 0 11 项

共 14 项隐藏测试。

题面原文

instruction.md

/root/data/ba_hourly.csv is a two-year hourly operating record of an electricity balancing area, emulated hour by hour from the statistics of real balancing areas. It gives demand, net generation, total interchange and net generation by energy source (coal, natural gas, nuclear, petroleum, hydro including pumped storage, solar, other), all in MW, i.e. MWh for the hour. period_end_utc is the UTC end of the hour. Total interchange is positive for net exports, and in every correctly reported hour demand equals net generation minus total interchange and net generation equals the sum of the seven sources. /root/data/emission_factors.csv gives the CO2 emitted per MWh of net generation by each source.

The record contains reporting defects; every value they do not touch is correct. Repair it so that every value is what actually happened in that hour: keep every correctly reported value, also in hours where other channels are wrong; fill every missing value that the identities fix; and give every wrong value its true value or leave it blank. Never interpolate, impute or carry values forward. Then derive the area's marginal and average CO2 emission factors.

Write /root/results/repaired_hourly.csv with one row for every hour of the UTC hourly grid from the first to the last timestamp of the input, each hour once and in ascending order (hours absent from the input included), and the columns period_end_utc (same format as the input), the ten MW columns of the input in the same order (integers, empty when unknown) and co2_t, the hour's CO2 production in tonnes: the sum over the seven sources of generation times factor, empty when any source is unknown.

Write /root/results/emission_rates.csv with the columns season,hour,n_pairs,mef_kg_per_mwh,aef_kg_per_mwh and one row for each of the 96 combinations of season (DJF, MAM, JJA, SON) and hour (1 to 24). Hours are labelled in local prevailing time (US Eastern, EST/EDT): hour is the local clock hour at the end of the interval, with midnight written as 24, so on the day clocks fall back hour 1 occurs twice and on the day they spring forward there is no hour 2; the season is that of the local calendar day the interval belongs to (an hour ending at midnight belongs to the day that ends). The marginal emission factor of a cell is the ordinary least-squares slope, with intercept, of the change in hourly CO2 on the change in hourly generation from the emitting sources (those with a non-zero factor), over all pairs of hours exactly one hour apart that both have CO2 known, each pair assigned to the cell of its later hour; n_pairs is the number of these pairs. The average emission factor of a cell is its total CO2 divided by its total net generation over the hours that have both known. Report both factors in kg CO2 per MWh.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

样例 2 / 5

为 40 个地区编制时期生命表

  • 数学
  • 统计学
  • 人口学与生命统计
  • 专家预估 7 小时
  • 难点
  • 处理错误是哪些、在哪里,题面不给
  • 部分死亡尚未登记
  • 按发生口径统计常住居民的死亡
  • Andreev–Kingkade 婴儿 a₀ 与 90+ 开口组

研究区域是英格兰的 40 个地区,每个地区由真实的小区域组成。输入是 2011–⁠2023 年按性别、单岁年龄的小区域年中人口估计,以及 2011 年 1 月至 2024 年 3 月的全部死亡登记摘录。Agent 要为每个地区按性别编制 2014–⁠2016、2017–⁠2019、2020–⁠2022 三个时期的生命表,报告出生时和 65 岁时的预期寿命以及两项早死概率,另给出整个区域 2023 年的生命表和分年龄组死亡数,同时交出修正后的人口表。

难在哪里

生命表的公式题面都给全了,难在输入:人口表由逐年文件拼成,死亡摘录由各登记处的逐年文件拼成,都可能有处理错误,题面不说是哪些、在哪里;摘录截止时还有死亡没有登记。哪些异常是错误、哪些是真实的人口变化,要靠小区域人口估计和生命统计的专业经验来判断。

Claude Opus 5.5 解出
1 / 3
deepseek-v4.1-flash‑1017 解出
0 / 3
隐藏测试
12
Agent 容器
4 核 · 16 GB

输入数据

死亡登记 811,585 条(逐条记录登记处、居住地、发生地、性别、年龄、死亡和登记日期);地区人口表 94,640 行(40 个地区 × 13 年 × 2 个性别 × 91 个年龄组);另有整个区域的人口合计。下图是区域人口合计中的 2023 年,共约 583 万人。

  1. 输入数据:区域人口

    2023 年年中常住人口,按性别和单岁年龄

    2023 年年中常住人口,按性别和单岁年龄

对照解与评分结果

对照解 份数 得分 未通过的隐藏测试
换一种正确的方法 2 1 —
领域里常用的通用做法 3 0 4–⁠6 项
只差一个专家步骤 14 0 2–⁠7 项
照搬已发表的数值 1 0 10 项
空白、常数或照抄输入 1 0 10 项
编造结果 2 0 1–⁠10 项

共 12 项隐藏测试。

题面原文

instruction.md

The files in /root/data describe a study region in England divided into 40 districts, D01 to D40. The districts are fixed aggregates of real small areas, and /root/data/population.csv holds official small-area mid-year estimates of their usual resident population by sex and single year of age (90 means 90 and over), mid-2011 to mid-2023. /root/data/region_population.csv holds the totals of these estimates for the whole study region, which are correct. /root/data/deaths.csv is an extract of death registrations: every death registered from 1 January 2011 to 31 March 2024 of a usual resident of the region, wherever it occurred, and every death of a non-resident that occurred in the region (residence OUT). The deaths, their places of occurrence and their registration were simulated on these populations, with a registration process that works the same way in every year. /root/data/dictionary.md describes the columns. The district population table was assembled from annual files, and the death extract from annual files of registrations, one per register office and year; both may contain processing errors, and every value that such an error does not touch is correct.

Compute period life tables by sex for every district for 2014-2016, 2017-2019 and 2020-2022, and for the whole region for 2023. For an area and period, Dx is the number of deaths that actually occurred in the calendar years of the period to usual residents of the area aged x in completed years at death, for single ages 0 to 89 and the open group 90+, and Ex is the number of usual residents at 30 June, summed over the years of the period. Use mx=Dx/Ex and qx=mx/(1+(1−ax)mx) for x≤89, with ax=0.5 for x≥1 and the Andreev-Kingkade (2015) a0: for males 0.14929−1.99545m0 if m0<0.0230, 0.02832+3.26201m0 if 0.0230≤m0<0.08307, and 0.29915 otherwise; for females 0.14903−2.05527m0 if m0<0.01724, 0.04667+3.88089m0 if 0.01724≤m0<0.06891, and 0.31411 otherwise. Close the table with q90+=1 and L90+=l90/m90+; otherwise lx+1=lx(1−qx) and Lx=lx−(1−ax)lxqx, and ex=∑y≥xLy/lx. Report e0 and e65 in years, q15_60 =1−l60/l15 and q15_45 =1−l45/l15.

Write three CSV files with a header row, rows in any order, life expectancies with at least three decimal places and probabilities with at least six. /root/results/population_corrected.csv has the columns and rows of the input population table (district, year, sex, age, population), where population is the number of usual residents at 30 June, as an integer. /root/results/district_life_tables.csv has the columns district, sex (M or F), period (2014-2016, 2017-2019 or 2020-2022), e0, e65, q15_60 and q15_45, with one row per district, sex and period. /root/results/region_2023.csv has one row per sex with the columns sex, e0, e65, q15_60 and q15_45 of the 2023 regional life table, followed by deaths_0, deaths_1_4, then deaths_5_9 to deaths_85_89 in five-year groups, and deaths_90plus: the number of deaths that actually occurred in 2023 to usual residents of the region in each age group.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

样例 3 / 5

从多医院 ICU 检验数据判定急性肾损伤分期

  • 生命科学
  • 医学
  • 临床检验与重症肾脏病学
  • 专家预估 10 小时
  • 难点
  • 检验结果是复核前的原样
  • 终点按患者本人血液中的真实浓度定义
  • KDIGO 阈值没有容错余地
  • 入 ICU 前后的结果都参与分期

一份多家医院的 ICU 检验数据摘录:每次 ICU 住院一行,另有该次住院名下归档的全部检验结果(含入 ICU 前和出 ICU 后的)、既往史和治疗记录。Agent 要为每次住院判定仅基于肌酐的 KDIGO 2012 急性肾损伤分期、发病日、参考肌酐和峰值肌酐,统计血红蛋白低于 7.0 g/dL 的天数,再按医院汇总各期占比。

难在哪里

KDIGO 分期没有容错余地:48 小时内升高 0.3 mg/dL,或达到参考值的 1.5 倍,就是 1 期,而参考值取自患者本人更早的结果,一个错误的数值就能凭空造出或抹掉一次肾损伤。题面要求按血液中的真实浓度计算,数据却是检验科发布时的原样:要先像检验科那样做质量控制,查什么题面不说,也没有任何反馈。

Claude Opus 5.5 解出
0 / 3
deepseek-v4.1-flash‑1017 解出
0 / 3
隐藏测试
11
Agent 容器
4 核 · 16 GB

输入数据

6 家医院的 1,555 次 ICU 住院,名下共 172,912 条检验结果,覆盖 25 个检验项目;另有既往史标签和带记录时间的治疗记录。

  1. 输入数据:检验结果

    25 个检验项目各有多少条结果

    25 个检验项目各有多少条结果

对照解与评分结果

对照解 份数 得分 未通过的隐藏测试
换一种正确的方法 2 1 —
领域里常用的通用做法 1 0 9 项
只差一个专家步骤 7 0 2–⁠9 项
照搬已发表的数值 1 0 10 项
空白、常数或照抄输入 1 0 10 项
编造结果 1 0 10 项

共 11 项隐藏测试。

题面原文

instruction.md

The extract consists of /root/data/stays.csv (one row per ICU stay), /root/data/labs.csv.gz (the laboratory results filed for each stay's hospitalisation, including those collected before ICU admission and after ICU discharge, as the laboratories released them before any later review), /root/data/history.csv (past-history labels) and /root/data/treatments.csv (treatments with their documentation time). Times are local hospital clock times. Results sharing stay_id and collection_time were measured on one blood specimen collected at that time.

For every stay, derive creatinine-only KDIGO 2012 acute kidney injury and anaemia-threshold days. Every endpoint is defined on the concentration actually present in blood collected from the stay's own patient at the collection time, not on the value as filed; staging uses all creatinine results of that patient in the hospitalisation, before, during or after the ICU stay. A stay is eligible if its age band is 18 years or older, at least two creatinine results are listed for it, and its history lists neither maintenance haemodialysis nor maintenance peritoneal dialysis; no other history label excludes a stay.

Stage each creatinine result of an eligible stay without urine-output or renal-replacement criteria. Its reference is the lowest creatinine of the stay collected in the preceding 7 days (strictly earlier results up to and including exactly 168 h before it); a result with no earlier result in that window is not staged. A result meets stage 1 if it is at least 0.3 mg/dL above the lowest creatinine of the preceding 48 h (up to and including exactly 48 h before it) or at least 1.5 times its reference, stage 2 if at least 2.0 times its reference, and stage 3 if at least 3.0 times its reference or at least 4.0 mg/dL while meeting stage 1. Thresholds are inclusive and are applied, without rounding the thresholds themselves, to concentrations in mg/dL at 0.01 mg/dL resolution.

The maximum stage is the highest stage of the stay's results (0 if none). Stay day 1 is the calendar day of ICU admission; earlier days are 0, -1, and so on. The onset day is the stay day of the first result meeting stage 1 or higher, and the reference creatinine is that result's reference; for a stay whose maximum stage is 0 it is the stay's lowest creatinine. The peak creatinine is the stay's highest creatinine. A low-Hb day is a calendar day with at least one haemoglobin below 7.0 g/dL anywhere in the hospitalisation, before, during or after the ICU stay; count them for every stay.

Write /root/results/aki_by_stay.csv with columns stay_id, eligible (0 or 1), max_stage (0 to 3), onset_day (integer), reference_creatinine_mg_dl and peak_creatinine_mg_dl (mg/dL, 2 decimals) and low_hb_days (integer), one row per ICU stay sorted by stay_id; max_stage, onset_day and both creatinine columns are empty for ineligible stays, and onset_day is empty when max_stage is 0. Write /root/results/summary.json as {"overall": {...}, "by_hospital": {"<hospital_id>": {...}}}, where each object holds eligible (number of eligible stays) and stage_ge1, stage_ge2 and stage_3 (fraction of eligible stays with maximum stage at least 1, at least 2, and equal to 3; 4 decimals).

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

样例 4 / 5

肿瘤–正常配对全基因组:低频亚克隆、拷贝数、纯度与 CCF

  • 生命科学
  • 生物学
  • 癌症基因组学
  • 专家预估 10 小时
  • 难点
  • FFPE 样本
  • 等位基因分数只有百分之几的亚克隆突变
  • 纯度、拷贝数与 CCF 联合推断
  • 只给约定和格式,不给流程

一位患者手术切除的肿瘤和癌旁正常组织(FFPE)做了全基因组测序,给出比对到 GRCh38 第 20 号染色体上一段 5.2 Mb 区域的读段(CRAM),附人群等位基因频率和正常样本面板。Agent 要刻画这段区域里的肿瘤:体细胞 SNV 和 50 bp 以内的 indel(克隆与亚克隆)、等位基因特异性拷贝数、肿瘤纯度,以及每个突变的癌细胞分数(CCF),并标出克隆性。

难在哪里

需要癌症基因组分析的实战经验:把低频的真突变和样本处理带来的假象分开,而纯度、拷贝数和 CCF 互相牵连,要放在一起推断。题面只规定约定和输出格式,用什么工具、怎么过滤都由 Agent 自己决定,全程没有任何反馈。

Claude Opus 5.5 解出
2 / 3
deepseek-v4.1-flash‑1017 解出
0 / 3
隐藏测试
16
Agent 容器
4 核 · 16 GB

输入数据

肿瘤 64.3 MB、正常组织 18.2 MB 的配对读段(CRAM),覆盖 5.2 Mb 的分析区域;构建镜像时另拉取第 20 号染色体参考序列、人群等位基因频率和正常样本面板。

对照解与评分结果

对照解 份数 得分 未通过的隐藏测试
换一种正确的方法 2 1 —
领域里常用的标准流程 3 0 5–⁠10 项
只差一个专家步骤 12 0 1–⁠5 项
照搬已发表的数值 1 0 13 项
空白、常数或照抄输入 1 0 13 项
编造结果 2 0 1–⁠12 项

共 16 项隐藏测试。

题面原文

instruction.md

A patient's tumour and a matched normal sample of the adjacent tissue were taken at resection, formalin-fixed and paraffin-embedded, and sequenced (whole genome, paired-end Illumina). The read pairs aligned to chr20:38,400,000-43,600,000 of GRCh38 were extracted for you. The bwa-mem alignments to GRCh38 chromosome 20 (/root/data/reference/chr20.fa) are in /root/data/tumour.cram and /root/data/normal.cram; the analysis region is /root/data/region.bed (BED, 0-based half-open). Population allele frequencies (gnomAD, /root/data/resources/af-only-gnomad.hg38.chr20-window.vcf.gz) and a panel of normals (1000 Genomes, /root/data/resources/1000g_pon.hg38.chr20-window.vcf.gz) from the GATK best-practice resource bundle are provided for the extracted window. Characterise the tumour in this region: its somatic single-nucleotide variants and small indels (up to 50 bp), clonal and subclonal; its allele-specific copy-number profile; its purity; and the cancer cell fraction (CCF) of every somatic mutation. You may use other public resources that summarise many individuals, but do not download sequencing data, alignments or variant calls of any individual person.

Conventions. Purity is the fraction of cells in the tumour sample that are cancer cells. CCF is the fraction of cancer cells that carry the mutation (1 for a clonal mutation). Copy numbers are integer, clonal, absolute copy numbers of the cancer cells: total_cn is the total number of copies and minor_cn the copy number of the less abundant parental allele. Assume the tumour has not undergone whole-genome duplication.

Write three files:

/root/results/somatic_mutations.tsv: tab-separated with the header chrom pos ref alt ccf clonal, one row per somatic mutation inside the region, sorted by pos. chrom is chr20, pos the 1-based VCF position, ref and alt the VCF alleles (indels with the leading anchor base, one alternate allele per row), ccf your estimated cancer cell fraction in [0, 1], and clonal is true if the mutation is present in all cancer cells and false otherwise.

/root/results/copy_number.tsv: tab-separated with the header chrom start end total_cn minor_cn, contiguous non-overlapping segments covering the whole region, with 1-based inclusive start and end and integer copy numbers.

/root/results/summary.json: a JSON object {"purity": <fraction between 0 and 1>}.

Your results are compared with the true composition of the sample: recall of clonal and of subclonal mutations and of indels (overall and within subgroups of the true mutations), the number of false-positive calls, the purity, the copy-number states along the region, the CCF reported for each mutation (individually and per clone) and the clonal/subclonal label of each reported mutation.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

样例 5 / 5

2,241 颗 Ia 型超新星:从原始强制测光到标准化距离

  • 物理科学
  • 天文学
  • 超新星宇宙学
  • 专家预估 7 小时
  • 难点
  • 差分图像流量带加性常数
  • 报告的误差与实际噪声差一个常数因子
  • 测光里有处理错误,题面不说在哪
  • 修正只限数据能确定的部分

一次广域光学时域巡天对 2,241 颗 Ia 型超新星在差分图像上做的强制测光:观测记录(历元、波段、天区、CCD、象限和测量噪声)是真实的,超新星的光是模拟的。Agent 要为每颗超新星拟合 SALT3 光变曲线(t0、x0、x1、c,红移固定,加银河系消光),给出参数协方差和距离模数,再按包含宿主星系质量阶跃的 Tripp 关系,用题面给出的似然拟合 α、β、M、γ 和内禀弥散。

难在哪里

这是低红移超新星宇宙学的核心工作。参考偏移量、噪声尺度、光变曲线拟合和距离标准化环环相扣,任何一环出错都会一路传到最终的标准化参数。测光里的处理错误题面不说在哪,Agent 也拿不到任何反馈,要靠巡天数据处理的实战经验。

Claude Opus 5.5 解出(high)
0 / 3
deepseek-v4.1-flash‑1017 解出
0 / 3
隐藏测试
12
Agent 容器
4 核 · 16 GB

输入数据

强制测光 1,010,640 条(g、r、i 三个波段,每颗超新星 93–⁠2,192 条),附每颗超新星的红移、银河系消光和宿主星系质量。下图是其中一颗超新星的光变曲线。

  1. 输入数据中的一颗超新星

    g、r、i 三个波段的强制测光流量和误差棒

    g、r、i 三个波段的强制测光流量和误差棒

对照解与评分结果

对照解 份数 得分 未通过的隐藏测试
换一种正确的方法 3 1 —
领域里常用的标准流程 1 0 2 项
只差一个专家步骤 6 0 2–⁠6 项
照搬已发表的数值 1 0 11 项
空白、常数或照抄输入 1 0 11 项
编造结果 1 0 11 项

共 12 项隐藏测试。

题面原文

instruction.md

/root/data/photometry.parquet holds forced photometry on difference images of 2,241 Type Ia supernovae from a wide-field optical time-domain survey. The observing record (epochs, bands, survey fields, CCDs, quadrants and measurement noise) is real; the supernova light is simulated. Columns: sn_id; mjd (days, shifted by an unknown constant, so time differences are exact); band (ztfg, ztfr or ztfi, whose transmissions are the sncosmo 2.13.0 bandpasses of those names); field (anonymised survey field); ccdid (1-16); qid (1-4); flux, the AB flux at zero point 30; flux_err, the 1σ uncertainty reported by the photometry pipeline, which for a given supernova, field, CCD, quadrant and band can differ from the actual noise by a constant factor. /root/data/sne.csv gives for each supernova sn_id, z (the redshift for both the light-curve fit and the distance), z_err, mwebv (Milky Way E(B-V) in mag), host_logmass (log10 of the host's stellar mass in solar masses) and host_logmass_err.

The difference-image fluxes may carry additive constants; the supernova's own flux is zero before explosion and more than 365 days after maximum light. The photometry may contain processing errors; every value that such an error does not touch is correct. Work from these files only: do not use the survey's original public photometry, catalogues or observing logs.

For every supernova, report the SALT3 parameters of the supernova's own light: sncosmo source salt3 version 2.0 with t0, x0, x1 and c free and z fixed, Milky Way extinction from sncosmo's F99Dust with RV=3.1 and E(B−V)= mwebv applied in the observer frame, fitted by χ2 with each measurement's actual 1σ noise (no model covariance) to the measurements whose rest-frame phase (mjd−t0)/(1+z) lies in [-10, +40] days. Every g, r and i measurement in that range enters the fit, corrected where the data determine the correction; leave out only a measurement whose correct value the data cannot determine. Use mB=−2.5log10x0+10.635.

Standardise with μ=mB−M+αx1−βc−γ[host_logmass<10], so that γ>0 makes supernovae in low-mass hosts fainter, and fit α,β,M,γ,σint over all supernovae by maximising

lnL=−12∑i[(μi−μΛCDM(zi))2σi2+lnσi2],σi2=v⊤Civ+σint2+(5ziln10)2[(300 kms−1clight)2+zerr,i2],

with v=(1,α,−β), Ci the fit covariance of (mB,x1,c), clight the speed of light, and flat ΛCDM with H0=70 km/s/Mpc and Ωm=0.3.

Write /root/results/sne_fits.csv with one row per supernova of sne.csv, sorted by sn_id, no empty values, and the columns sn_id, t0 (in the shifted mjd), x0, mb, x1, c, cov_mb_mb, cov_mb_x1, cov_mb_c, cov_x1_x1, cov_x1_c, cov_c_c (the covariance of mB,x1,c from that fit), mu and mu_err (v⊤Civ with your fitted α,β). Write /root/results/standardisation.json with the numbers alpha, beta, M, gamma and sigma_int.

Your values must match the true ones defined above: t0, mB, x1, c and μ without bias over the whole sample and over any subset of it, with c and mB within a small tolerance for nearly every supernova; the covariances and mu_err at their true size; and α,β,M,γ,σint at the values the stated likelihood gives for the true light-curve parameters.

You have 28800 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

可定制

包括但不限于以下几项,其他需求都可以商量。

  • 领域与学科:覆盖 Terminal-Bench-Science 的全部领域(生命科学、地球科学、物理科学、工程科学、数学),可指定学科方向和工作流程类型。
  • 难度:对标模型、Agent 框架、effort 档位和通过率区间。
  • 运行条件:时限、CPU 和内存,以及 Agent 能否联网。
  • 模型运行记录:每次尝试的轨迹和 verifier 输出。
  • 数量和排期:题目数量、各领域占比和交付时间。

想提升模型的哪项能力?

来信告诉我们,我们会回复样例和规格说明。