sw_lock_analysis
Pre-register the primary metric and baseline before generating data to prevent selecting favorable results after the fact. Returns a unique ID used by result comparison to distinguish pre-specified primary findings from exploratory ones.
Instructions
在生成数据之前把主指标与基线定下来(预注册)。
三道门证明不了一件事:主指标是看数据之前定的,还是跑完之后挑出来的 那个最好看的。真实过程往往是——跑完发现平均谱效没提升,顺手换成 5% 边缘用户谱效,有提升就报了这个。每一步都合理,合起来是在多个指标里 挑赢的那个,假阳性率远高于 5%。
做法很轻:写一个 JSON、算个 SHA-256、不可原地改。把返回的 prereg_id
传给 sw_generate,之后 sw_compare_results 会判断用的指标是不是
当初定的:一致 → primary;不一致 → exploratory,结论句里会明说
这不是预注册主结论。
改主意就再调一次,会得到新 prereg_id,旧的不动——"改过口径"这件事
本身留了痕。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| baseline | No | ||
| draft_id | No | ||
| csi_basis | No | ideal | |
| metric_unit | No | ||
| primary_metric | No | spectral_efficiency | |
| expected_effect | No | ||
| higher_is_better | No | ||
| secondary_metrics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||