Skip to content

feat(p0): W1 static prep - sample select + ground truth templates - #65

Merged
lxcxjxhx merged 1 commit into
mainfrom
p0/w1-static-prep
Sep 12, 2026
Merged

lxcxjxhx merged 1 commit into
mainfrom
p0/w1-static-prep

Conversation

@lxcxjxhx

Copy link
Copy Markdown
Owner

内容

P0 止损实验(docs/p0-kill-experiment-plan.md)W1 阶段不依赖 docker 的静态准备任务:

  • docs/:P0 方案(含 §6A 三臂承接组件完整设计 + §1 数据集字段实测核实注记)、v2 DCAV 研究方案、ECATSL 运行报告、v1 归档两份
  • bench/p0/sample_select.py:SecureVibeBench 初选脚本(datasets-server 分页 fetch + 镜像/TSV/JSONL 离线备选;check 约束过滤,quota 仅标 QUOTA_RISK 不替人工决定落选,硬排除仅限缺字段且原因必填;三场景启发式草配)
  • bench/p0/ground_truth/:逐案例 GT 订装模板(BenchmarkSample 字段风格 + introducing_hunk/pov_ref 两新增字段)、双签人工复核表、README

验证(全部真实数据,无 mock)

  • fetch 实跑取回全量 105 行(/size 确认 105 行 × 5 列,字段名与方案 §1 一致)
  • check:105 行 → 候选 37 / 配额压力 68 / 硬排除 0;仓库 41 个;场景草配 ①82 / ②1 / ③20 / UNCLEAR 2
  • 真实 105 行 TSV round-trip(含多行 description 转义):读回结果与原始 JSONL 逐字段相等
  • 运行期产物(dataset_cache/、candidates.csv、results/)经 bench/p0/.gitignore 排除入库

边界

  • 不动 src/ 任何代码;零新增依赖(纯标准库)
  • Python 面 W1 任务;Docker + ARVO 试点在 Linux 环境进行(后续)

P0 kill-experiment plan (docs/p0-kill-experiment-plan.md) with the
three-arm reuse design (6A.1-6A.5), v2 DCAV research plan, ECATSL run
report, and v1 archives, plus the two docker-free W1 tasks:

- bench/p0/sample_select.py: SecureVibeBench fetch (datasets-server
  pagination, mirror + TSV/JSONL offline fallbacks, zero new deps) and
  constraint check (quota marked as QUOTA_RISK, hard-exclude only for
  missing fields with mandatory reason, scenario draft tagging).
  Verified live against the real 105-row dataset: 37 candidates,
  68 quota-risk, 0 hard-excluded; real-data TSV round-trip byte-equal.
- bench/p0/ground_truth/: per-case GT template (BenchmarkSample field
  style + introducing_hunk/pov_ref), dual-sign review checklist, README.

No code under src/ is touched. Runtime artifacts (dataset_cache/,
candidates.csv, results/) are ignored via bench/p0/.gitignore.
@lxcxjxhx
lxcxjxhx merged commit ad633ac into main Sep 12, 2026
@lxcxjxhx
lxcxjxhx deleted the p0/w1-static-prep branch September 12, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant