32 KiB
任务规格:runtime-quota-tree
1. 身份与来源
版本1;family=linux-device-abi;状态READY_FOR_CALIBRATION。来源路线C,source/split组bos-qiao/S500_n3_018/reframed,source_qid=new_n3_cgroup_quota。原材料是授权Bos原创“计算cgroup祖先CPU上限”公开规格,不是历史用户工程或真实现场故障;先rsync到本批bos-envs后读取,gold.sh仅经现有_script字面量解析,未执行来源脚本。该env/qid与已有任务去重零冲突,摘要在本批bos-runtime-quota-tree-author.json;未触碰禁用会话、recoverable、data-litellm或凭据,无隐私数据。
保留原规格全节点验证、父链、cpu_max严格数值及精确祖先最小比率/同值顺序,原创重构C++17审计工程并新增版本化快照与原子整批编辑,所有新增规则完整公开。区别于boot-module-plan的文本目录覆盖和逐事件DFS事务,本题为有理数及父指针森林/映射整批替换,不复用其业务骨架或源码文件。替身测试software:静态元数据与确定性变更完全复现;不访问/sys,不验证内核调度或真实CPU性能。
2. 初态与环境
完整template为4个候选cpp、quota_tree.h、quota_observe.cpp、Makefile、README、2份docs、公开field记录。总/独有885源码行,非空802行;逐文件摘要与其他已有/本批任务逐字重复排除见author JSON,全部6个源码/头文件均独有。手段为规格密集、审计修复、隐藏变体和原子失败恢复;不使用规模手段,不通过重复业务骨架或无用代码灌水。
4处独立偏差:D1compare_fraction用64位乘积导致公开大数范围内回绕;D2森林环校验只从根处理,漏掉根不可达环;D3limiting被按id排序而不是保留target到根;D4每Edit提前做全图校验,使最终有效的临时悬空/成环/超容量事务失败。现场只报告D4父节点替换症状,repair_transaction兼症状单修;普通无环小数/单一限制/不破坏中间关系的场景大部分正常。
现有Linux x86_64 C/Python runtime,C++17与Python3标准库;trace5固定ccr-29eug8s3-pub.cnc.bj.baidubce.com/algo/bench-runtime@sha256:aa5d00779fe03e9eadbf29c030711a4ecd1e5f894255868b5ca451a425299efc。工作2GiB/1CPU,评分512MiB/1CPU,task120秒、wrapper100秒、构建30秒、观察15秒,真实采样由root统一3600秒。无需板卡、网络、系统写入或额外依赖。
公开材料是prompt与完整template;私有check.py/context.json及gold/fixtures/spec不进入Agent。context仅逐字公开header与observer,verify.py原样复制rollout/bos_verify.py。构建只取声明候选与冻结上下文,完全不用候选缓存/额外文件。
3. 公开题面与接口
题面描述一批最终合法的父节点替换被提前拒绝,要求审计docs/quota-tree.md全部31条;接口在quota_tree.h,观察协议在docs/console.md。make构建,argv ./quota_observe以stdin读取examples/field.txt。公开L/F/K/C/Q/E/A/U/B/V/H/J/O/S命令实际覆盖词法、分数、森林、查询、编辑、同Tree多Store与旧快照;observer无隐藏期望或断言,只打印真实返回和输入前后逐字段不变的布尔观察。parse/compile输出预置旧值,验证失败清空。
4. 判据检查项 ↔ 依据与合法解
父check用Python任意精度整数、fractions.Fraction和独立的每起点集合父链遍历复算,C++ gold采用逐商比较和全局颜色表,未运行gold生成期望。精确比较JSON内容,字节用Latin1一一映射并按无符号字典序;无浮点误差容忍或输出空白限制。失败列FAILED_CHECKS和前8个精确观察,逐项回到下表。
| 检查项 | 公开依据 | 场景与观察 |
|---|---|---|
| P01 | template/docs/quota-tree.md:7(条款01) | ASCII六种空白、跨行、空/一/三token、4095/4096/4097字节、非ASCII/NUL及FS/GS/RS/US不视空白 |
| P02 | template/docs/quota-tree.md:8(条款02) | 0/1/10^12/10^12+1、前导零、max周期、符号/小数/指数/第三token全部按域校验 |
| P03 | template/docs/quota-tree.md:9(条款03) | 直接parse预置dirty Limit,成功字段精确、任何错误返回默认false/0/0 |
| P04 | template/docs/quota-tree.md:10(条款04) | 185组大数约分及同值/倒数/随机比较、接近1的1e12比例、两个乘积均可超64位 |
| P05 | template/docs/quota-tree.md:14(条款05) | 空/256/257节点、重复ID、1/128/129字节、NUL/0x80/0xff opaque完整字节保留与排序 |
| P06 | template/docs/quota-tree.md:15(条款06) | 不存在/空parent、自环/多节点环、多根、长父链、null与空字符串区分 |
| P07 | template/docs/quota-tree.md:16(条款07) | safe目标之外的cpu_max错误、悬空父节点、孤立环仍拒绝,所有节点完整校验 |
| P08 | template/docs/quota-tree.md:17(条款08) | 原始节点乱序到排序Tree、预置旧节点后错误输出清空、规范Limit字段 |
| P09 | template/docs/quota-tree.md:18(条款09) | 保存initial Tree、E/O在Store变更后仍保持旧值、H/J历史snapshot独立 |
| P10 | template/docs/quota-tree.md:22(条款10) | 空树/空target/不存在ID完整错误Query全部清空,opaque ID必须恰等 |
| P11 | template/docs/quota-tree.md:23(条款11) | 多根/长链/包含max节点的target到根path完整顺序 |
| P12 | template/docs/quota-tree.md:24(条款12) | 不同period、祖先/本节点、max忽略、1e12比例最小值精确复算 |
| P13 | template/docs/quota-tree.md:25(条款13) | 全max时false/0/0/空limiting但保留完整path;有限结果按gcd约分 |
| P14 | template/docs/quota-tree.md:26(条款14) | 全链同值但不同表示/ID逆序、所有并列限制保持target到根顺序 |
| P15 | template/docs/quota-tree.md:27(条款15) | analyze全图错误返回完全空Query,不能只查target链 |
| P16 | template/docs/quota-tree.md:28(条款16) | 同Tree多target、重复与非法查询交错,不复用上次结果 |
| P17 | template/docs/quota-tree.md:32(条款17) | 构造revision0、Q/E/A/S读取不推进状态,初始化/当前Store快照观察 |
| P18 | template/docs/quota-tree.md:33(条款18) | Edit0/512/513、枚举2非法、每条ID验证与输入不变 |
| P19 | template/docs/quota-tree.md:34(条款19) | 被后续删除/覆盖的坏cpu_max仍拒绝、put替换完整parent和Limit |
| P20 | template/docs/quota-tree.md:35(条款20) | erase不删除子孙、不存在成功、额外parent/cpu_max非法 |
| P21 | template/docs/quota-tree.md:36(条款21) | 同ID put/erase/put顺序、空批及无操作仍恰一次revision |
| P22 | template/docs/quota-tree.md:37(条款22) | 当前256节点,先临时新增257再删回256合法;最终257拒绝 |
| P23 | template/docs/quota-tree.md:38(条款23) | 公开删再重建父节点、临时悬空/成环后修复、最终统一校验 |
| P24 | template/docs/quota-tree.md:39(条款24) | 整批成功仅revision+1、提交替换完整快照、旧Tree/Snapshot保持 |
| P25 | template/docs/quota-tree.md:40(条款25) | 局部/最终错误原子回滚、前半批不泄漏、后续正常操作 |
| P26 | template/docs/quota-tree.md:41(条款26) | 成功改父链/比值后立即重新查询,其他分支和旧base各自正确 |
| P27 | template/docs/quota-tree.md:42(条款27) | B从同一提交Tree构造两个Store后分别变更、三bank交错、H/J保持旧快照 |
| P28 | template/docs/quota-tree.md:46(条款28) | 干净标准C++17构建及成功exit、所有行为观察验证,不能仅构建通过 |
| P29 | template/docs/quota-tree.md:47(条款29) | 固定seed、256节点长链和80组森林/变更,每次重建30秒/运行15秒 |
| P30 | template/docs/quota-tree.md:48(条款30) | N/L/C/A/E/Q/U等公开JSON观察及全部相关输入input_unchanged=true,无子进程断言 |
| P31 | template/docs/quota-tree.md:49(条款31) | 只冻结4个声明候选,公开header/observer从context逐字干净重建 |
console全部记录在template/docs/console.md公开。所有文件写入与oracle/stdin生成均在候选执行前完成,之后check不再访问共享scratch;候选/编译器只在subprocess子进程,正式wrapper统一UID/GID65534,不在父check导入候选。只读取捕获stdout并比较,candidate-owned scratch留给容器销毁或独立可信owner清理。
合法实现不限算法/容器/结构。gold为继续分数比较;valid_products用标准C++17的高低64位分解乘积比较,未用非标准128类型;valid_independent由existing_screen Agent仅阅读prompt/docs/header/README完全重写,未读gold/template实现/check/spec,独立smoke覆盖opaque ID、临时环/悬空/257后256、快照隔离等。固定seed20261017018,观察数与wire字节见author JSON。
5. 样例与校准
恰12类:gold/valid_products/valid_independent预期PASS,其余template/noop/cheat/cheat_read_grader/repair_fraction/repair_forest/repair_limiters/repair_transaction/mask_public预期FAIL。4个repair分别只修D1/D2/D3/D4,仍保留其它偏差;repair_transaction兼symptom-only。noop不解析有效配额;cheat把所有有限限制当作无限;mask_public仅对公开root ID跳过中间全图校验,公开field应与gold逐字相同,换ID或其它边界失败。判据隔离样例只作校准,正式必须FAIL,可信Linux可读时PASS按规范§7单列。
直接check对gold、两种valid各PASS;完整可信本地与trace5正式每类5次的最终回执随后追加。身份或上下文变化须重新校准,未完成项不宣称PASS。公开掩盖证据由本批bos-quota-proof.py实际编译运行记录为bos-runtime-quota-tree-public-proof.json。
6. 真实试采与证据
作者未启动Qwen,root统一全局2路且第0步优先。模型qwen3.8-27b-nvfp4,3600秒,凭据只交指定路径。当前真实次数0/难度UNMEASURED,不声明ADMITTED或难题。每次FAIL按FAILED_CHECKS与精确观察对应公开依据,区分能力失败/依据不足;依据不足修订后3次全部作废重跑。归档、资源清理与核验冷迁待批次统一完成,不宣称硬件/Salty/训练已验证。
7. 评审与准入
作者已自审来源、规格、独立数学oracle和12样例;独立合法解直接check PASS。root已先读公开31条/header/prompt,无待澄清问题;完整判据/行号审阅及两门回执齐前保持READY_FOR_CALIBRATION。仅写本批新任务与台账,不改平台、现有题、tests,不提交或推送。
最终身份与校准事实
当前CALIBRATED。最终task_digest 8772838689e56dd18ac56a26e38b938a9456c3e0d74a8f682adf0a9f2c9736d0,verifier_digest 5c12094deda2dc1b70016e0edd1c8a21c6d762da78fca61433b45e91cb30b8c0;实际trace5 image sha256:aa5d00779fe03e9eadbf29c030711a4ecd1e5f894255868b5ca451a425299efc。可信local最终attempt /home/ming01.wang/embedded-rollout/runs/20261017-C-embedded-6-hard/bos-dev/runtime-quota-tree/calibration-a40cbbf4e34c4153833f531d3424e09c,12类各5次:普通55/55符合,隔离对照5次PASS按规范§7单列,原始整体FAIL、cleanup confirmed。正式Docker最终attempt /home/ming01.wang/embedded-rollout/runs/20261017-C-embedded-6-hard/bos-calibration/runtime-quota-tree/calibration-5f678b0c11274940a84972df895d7f77,60/60符合、整体PASS、cleanup confirmed:gold/valid_products/valid_independent各5PASS,全部9种负例各5FAIL,均成功编译后按业务观察失败。
root已完整只读check(含中段)及31条公开规格,无实质公平性问题;spec行号与receipt终核由root汇总记录。公开proof记录template!=gold、mask_public==gold、repair_transaction==gold,实际编译执行通过;全部隐藏变体拒绝掩盖/单修。最终代码885独有物理行/802非空行,3768观察。没有后补判据或更换身份;Qwen由root在第0步结束后统一安排,当前不声明难度或真实采样已通过。
UTF-8 诊断判据修正(本次最终身份重校准)
公开合同允许 stderr 诊断。旧判据将 stderr 按严格 ASCII 解码,合法 UTF-8 诊断会触发 UnicodeDecodeError;现仅将候选执行管道改为 UTF-8 errors=replace,stdout 观察值仍精确比较。旧身份两门事实保留但不用于最终准入;factory 的可信 gold 副本附一次中文诊断已留旧 FAIL → 新 PASS 回归证据。候选业务与 fixtures 未改。最终两门结果完成后追加新身份。
UTF-8最终校准:digest 66a7c182cbee14c4aef073acc2a23c882c4e1e5d46e1a9966240c561ae86b41e;local calibration-823a0712209a4b2ea6e8288807f50db1(55普通匹配、5本地隔离例外),Docker calibration-8819a14a475c40bfbdf99fdb4b801a46(60/60匹配);两门及全部trial cleanup confirmed。旧身份见 factory/20261017-C-embedded-6-hard/bos-runtime-quota-tree-utf8-final-calibration.json,均 excluded-old-identity。
实际C失败标签到API观察及公开依据的映射
本表按当前cases().labels实际发出的标签生成;C编号是观察场景聚合,不能机械等同P编号。一个完整API返回同时观察其全部字段,因此列出该API相关公开合同,另含输入只读/协议依据。原逐P检查表保留。原始数据构造命令只观察协议回显,不提前施加业务校验;业务限制由后续API观察覆盖。运行时构建/超时/协议失败标签也列入。
| 实际C标签 | 所含命令/API原始观察 | 公开依据行 |
|---|---|---|
| C03 | L: parse_cpu_max/dirty Limit + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:48(P30) |
| C04 | F: reduced/Fraction K: compare_fraction/order |
template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:48(P30) |
| C05 | C: compile_tree/dirty Tree + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:48(P30) |
| C07 | C: compile_tree/dirty Tree + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:48(P30) |
| C08 | C: compile_tree/dirty Tree + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:48(P30) |
| C09 | E: evaluate/Query on initial Tree + input_unchanged O: read independently retained initial Tree |
template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C10 | A: analyze/compile then Query + input_unchanged Q: Store.query/Query + input_unchanged |
template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C12 | Q: Store.query/Query + input_unchanged | template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C13 | Q: Store.query/Query + input_unchanged | template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C14 | C: compile_tree/dirty Tree + input_unchanged Q: Store.query/Query + input_unchanged |
template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C15 | A: analyze/compile then Query + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:48(P30) |
| C16 | E: evaluate/Query on initial Tree + input_unchanged | template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C17 | H: save Store Snapshot S: Store.snapshot/revision + Tree V: switch independent Store bank/snapshot |
template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C18 | U: Store.apply/error + committed snapshot + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C20 | U: Store.apply/error + committed snapshot + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C21 | Q: Store.query/Query + input_unchanged U: Store.apply/error + committed snapshot + input_unchanged |
template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C22 | U: Store.apply/error + committed snapshot + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C23 | U: Store.apply/error + committed snapshot + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C24 | U: Store.apply/error + committed snapshot + input_unchanged | template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C25 | Q: Store.query/Query + input_unchanged U: Store.apply/error + committed snapshot + input_unchanged |
template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C26 | Q: Store.query/Query + input_unchanged | template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C27 | B: copy committed Tree to independent Store bank H: save Store Snapshot J: read old saved Snapshot Q: Store.query/Query + input_unchanged U: Store.apply/error + committed snapshot + input_unchanged V: switch independent Store bank/snapshot |
template/docs/quota-tree.md:7(P01) template/docs/quota-tree.md:8(P02) template/docs/quota-tree.md:9(P03) template/docs/quota-tree.md:10(P04) template/docs/quota-tree.md:14(P05) template/docs/quota-tree.md:15(P06) template/docs/quota-tree.md:16(P07) template/docs/quota-tree.md:17(P08) template/docs/quota-tree.md:18(P09) template/docs/quota-tree.md:22(P10) template/docs/quota-tree.md:23(P11) template/docs/quota-tree.md:24(P12) template/docs/quota-tree.md:25(P13) template/docs/quota-tree.md:26(P14) template/docs/quota-tree.md:27(P15) template/docs/quota-tree.md:28(P16) template/docs/quota-tree.md:32(P17) template/docs/quota-tree.md:33(P18) template/docs/quota-tree.md:34(P19) template/docs/quota-tree.md:35(P20) template/docs/quota-tree.md:36(P21) template/docs/quota-tree.md:37(P22) template/docs/quota-tree.md:38(P23) template/docs/quota-tree.md:39(P24) template/docs/quota-tree.md:40(P25) template/docs/quota-tree.md:41(P26) template/docs/quota-tree.md:42(P27) template/docs/quota-tree.md:48(P30) |
| C28 | runtime: g++ build result | template/docs/quota-tree.md:46(P28) template/docs/quota-tree.md:47(P29) |
| C29 | runtime: candidate timeout | template/docs/quota-tree.md:47(P29) |
| C30 | runtime: candidate exit/JSON/protocol record count | template/docs/quota-tree.md:48(P30) template/docs/quota-tree.md:49(P31) |
首次Qwen前的输出条数修正
旧判据对越界记录使用字符串sentinel,额外JSON字符串"<end>"会与sentinel相等而漏报。公开stdout协议要求精确记录数,现仅在原比较条件显式加入actual/expected索引越界即失败;业务、公开合同和12 fixtures不变。可信gold副本额外附一条"<end>"的旧PASS→新FAIL回归见bos-output-count-regression.json。旧两门事实保留但excluded-old-identity;新身份需完整重跑两门,不沿用旧receipt。尚未本题Qwen。
最终两门校准:digest 82d0a5c6c9a04120c5e4d8c383b7caa9c649eb0d9dbfdffeb5af3fdf8f0bc9e7;local calibration-0425e4b2f5644f7f936eedfdafb9187a(55普通匹配、5本地隔离例外),Docker calibration-ea03ee77c64c4e1a99fa7dccd4d576fc(60/60匹配);两门及全部trial cleanup confirmed。旧身份见 factory/20261017-C-embedded-6-hard/bos-runtime-quota-tree-final-calibration.json,均 excluded-old-identity。
主任务最终只读复核(输出条数修正后):factory/20261017-C-embedded-6-hard/review-quota-final.json 绑定当前digest 82d0a5c6c9a04120c5e4d8c383b7caa9c649eb0d9dbfdffeb5af3fdf8f0bc9e7,状态 APPROVED_FOR_PILOT;主任务逐trial复核最终两门120次、正式平台准入、旧/新负控以及仅check条件变化。全库unittest实际75项中73通过、2项环境skip(exit0);该结果为批次共享验证,不等同于本题Qwen实测。当前本题Qwen为0、难度未测。