Add E6 sampling mass audit and record unpaired proxy limitation

This commit is contained in:
Frank14f committed 2026-11-14 11:33:53 +08:00
1 parent 1fd7f341d9
commit 5850e615a7
5 files changed
+124 -1

No files matched your search

+8
View File
@@ -93,3 +93,11 @@ gap12近阈值34.90%,gap23为7.10%,同时近阈值1.95%,并集40.05%。主
| both | 0.326–0.656 | 0.355–0.681 | 0.038–0.872 |
补查仅使用保存的张量和缓存锚点坐标,没有新核或距离运行。连续不变量/软谱权重仍是团队提出的新表示候选,本轮未实现,也不据此放行后续步骤。
## 审阅补充(不重算核,不重复打包)
Grok 要求的抽样集中度与完整离散质量贡献见同目录 `sampling_full_mass.csv/json`;850/778/666 的 unique-N 为1275/1856/1991,最大重复次数8/3/2。补表代码 `build_e6_sampling_supplement.py` 只读取 ZIP 解压后的保存结果。全部模式贡献加边界 unscored,以及近阈值/非近阈值贡献加边界 unscored,分别核对和为1。此补表与说明是 ZIP 外的小型审阅附件,ZIP及其内部清单保持原样。
按 [Claude 11:32:44 的决定](https://arcticnimbus.slack.com/archives/C0C78UFKGRM/p1794627164278709),778的gap–局部分辨率代理相关性**未提供**:保存的是单元重心代理的汇总,而谱场位于抽样节点;未定义逐点配对,且单元与核球的支持尺度不同、几何随位置变化。未构造新映射或重算代理。
后续1:8细化仅是待审提议,未执行。新中点没有缓存精确距离值;若只插值旧P1距离,父单元内梯度不变,不能声称只改变了梯度离散。若重新查询同一表面距离,则需另立范围及成本。近阈值带质量也不随谱隙减小而保证单调下降,不能以单次变化作因果判决。
+4 -1
View File
@@ -1,12 +1,15 @@
446f8564db5f2c76dde60f4225489836bc68284414cd7555f8373788f662cf99 778_gap_diagnostics.json
c82172b87ef869d6d445ba734056f0cb26678f01fd32961b847fd1e817528365 MeltMind-E6-20261114.zip
1e71088fc53ba46a3c9e40bf89aab0c540991ab7897d3ee3e5952301fb3a2123 PACKAGE_MANIFEST.json
08528f88a241f7f31ffa4c55e4bc347d950d23e2eef86d6b9295853dbc75a58f README.md
7a2a9f45f06df6bda7b0e4215e8675de1a0a06d564f705434f294fad02040b02 README.md
df2b885e7b2549ea5c78b34a582f45ce097aa2e96d0239c14b3525bf27f2aa06 build_e6_sampling_supplement.py
bda819e278f1dd2d5fb472fd51ca1070e13caac3c0a718f509d7fde397c8a20b execution_contract.json
439e1f4b442c5e399fd3e6b754c16b9b0bc4b2262240ac1263fd42150169f55d independent_diagnostics.json
8435e61bacfd3ca64aed346c6d27ca68b582a81752d8377fe7edc076d66f55a8 paired_850.json
b28bdc6ef333f6b3814e9732d3beb1464a2cef9263d36d48d106610ba1c54255 preflight.json
2d8bf113e1b73e876a8ee586e03c31661e075c7bdb52dd2374bbdd024d3b80fb run.json
9f1efd409bdf3391dca38c68d9faf58f932d6e2b5a9e35890bfa4e5425654f1f sampling_full_mass.csv
970d581056aed17812b1998f1a0861d173531a8144758de9e432d66afc1ca690 sampling_full_mass.json
24224daf4b45056a1ad7bb4b135eee7584a7e6a300a8cba52a484a614089c0b9 summary.csv
6ebac16b966daede60fe9b72575616eb8509ada573bb1cf8c8e1ed3ef6abca1b verification.json
96c8cd54aa6392580ec9dd76ee7aa0d909035097368bf99bde0fc65861bb9cbd work_receipt.json
@@ -0,0 +1,26 @@
"""Exact sampling concentration and full discrete mass from saved E6 outputs."""
import csv
import json
from pathlib import Path
import numpy as np
def main():
out=Path('artifacts/e6-kernel-2026-11-14');r=json.loads((out/'run.json').read_text());rows=[]
for a in r['cases']:
f=np.load(out/(a['name']+'_fields.npz'));counts=np.bincount(f['draw_to_unique']);s=a['statistics'];p=a['plan']['positive_distance_mass_fraction'];b=a['plan']['boundary_unscored_mass_fraction']
row=dict(case=a['case'][:8],rule=a['rule'],draws=len(f['draw_to_unique']),unique_N=len(counts),max_multiplicity=int(counts.max()),positive_distance_share=p,boundary_unscored=b)
for k,v in s['modes'].items():row['full_mass_mode_'+k]=p*v['estimate']
for k,v in s['near_cut'].items():row['full_mass_near_'+k]=p*v['estimate']
row['full_mass_not_near_either']=p-row['full_mass_near_either']
row['full_mass_neff_failed']=p*s['neff_failed']['estimate']
np.testing.assert_allclose(sum(row['full_mass_mode_'+str(k)] for k in [-1,0,1,2,3])+b,1)
np.testing.assert_allclose(row['full_mass_near_either']+row['full_mass_not_near_either']+b,1)
rows.append(row)
with (out/'sampling_full_mass.csv').open('w') as f:
w=csv.DictWriter(f,fieldnames=list(rows[0]),lineterminator='\n');w.writeheader();w.writerows(rows)
(out/'sampling_full_mass.json').write_text(json.dumps(dict(measure='Full discrete lumped mass contributions; conditional p multiplied by positive-distance mass, boundary unscored',rows=rows),indent=2)+'\n')
print(json.dumps(rows,indent=2))
if __name__=='__main__':main()
@@ -0,0 +1,5 @@
case,rule,draws,unique_N,max_multiplicity,positive_distance_share,boundary_unscored,full_mass_mode_-1,full_mass_mode_0,full_mass_mode_1,full_mass_mode_2,full_mass_mode_3,full_mass_near_gap12,full_mass_near_gap23,full_mass_near_either,full_mass_not_near_either,full_mass_neff_failed
00000850,tetra_four_point,2000,1275,8,0.8390441572527976,0.16095584274720232,0.0,0.0,0.010068529887033571,0.0,0.828975627365764,0.0,0.01048805196565997,0.01048805196565997,0.8285561052871376,0.0
00000850,lumped_vertex,2000,1275,8,0.8390441572527976,0.16095584274720232,0.0,0.0,0.013424706516044762,0.0,0.8256194507367528,0.0,0.012166140280165565,0.012166140280165565,0.826878016972632,0.02978606758247431
00000778,tetra_four_point,2000,1856,3,0.7840775070957364,0.21592249290426355,0.0,0.01999397643094128,0.04077203036897829,0.3159832353595818,0.40732826493623503,0.273643049976412,0.055669503003797284,0.31402304159184247,0.47005446550389396,0.0
00000666,tetra_four_point,2000,1991,2,0.9015189998731159,0.0984810001268843,0.0,0.0,0.8690643158776837,0.0,0.03245468399543217,0.0,0.04192063349409989,0.04192063349409989,0.859598366379016,0.000450759499936558
1 case rule draws unique_N max_multiplicity positive_distance_share boundary_unscored full_mass_mode_-1 full_mass_mode_0 full_mass_mode_1 full_mass_mode_2 full_mass_mode_3 full_mass_near_gap12 full_mass_near_gap23 full_mass_near_either full_mass_not_near_either full_mass_neff_failed
2 00000850 tetra_four_point 2000 1275 8 0.8390441572527976 0.16095584274720232 0.0 0.0 0.010068529887033571 0.0 0.828975627365764 0.0 0.01048805196565997 0.01048805196565997 0.8285561052871376 0.0
3 00000850 lumped_vertex 2000 1275 8 0.8390441572527976 0.16095584274720232 0.0 0.0 0.013424706516044762 0.0 0.8256194507367528 0.0 0.012166140280165565 0.012166140280165565 0.826878016972632 0.02978606758247431
4 00000778 tetra_four_point 2000 1856 3 0.7840775070957364 0.21592249290426355 0.0 0.01999397643094128 0.04077203036897829 0.3159832353595818 0.40732826493623503 0.273643049976412 0.055669503003797284 0.31402304159184247 0.47005446550389396 0.0
5 00000666 tetra_four_point 2000 1991 2 0.9015189998731159 0.0984810001268843 0.0 0.0 0.8690643158776837 0.0 0.03245468399543217 0.0 0.04192063349409989 0.04192063349409989 0.859598366379016 0.000450759499936558
@@ -0,0 +1,81 @@
{
"measure": "Full discrete lumped mass contributions; conditional p multiplied by positive-distance mass, boundary unscored",
"rows": [
{
"case": "00000850",
"rule": "tetra_four_point",
"draws": 2000,
"unique_N": 1275,
"max_multiplicity": 8,
"positive_distance_share": 0.8390441572527976,
"boundary_unscored": 0.16095584274720232,
"full_mass_mode_-1": 0.0,
"full_mass_mode_0": 0.0,
"full_mass_mode_1": 0.010068529887033571,
"full_mass_mode_2": 0.0,
"full_mass_mode_3": 0.828975627365764,
"full_mass_near_gap12": 0.0,
"full_mass_near_gap23": 0.01048805196565997,
"full_mass_near_either": 0.01048805196565997,
"full_mass_not_near_either": 0.8285561052871376,
"full_mass_neff_failed": 0.0
},
{
"case": "00000850",
"rule": "lumped_vertex",
"draws": 2000,
"unique_N": 1275,
"max_multiplicity": 8,
"positive_distance_share": 0.8390441572527976,
"boundary_unscored": 0.16095584274720232,
"full_mass_mode_-1": 0.0,
"full_mass_mode_0": 0.0,
"full_mass_mode_1": 0.013424706516044762,
"full_mass_mode_2": 0.0,
"full_mass_mode_3": 0.8256194507367528,
"full_mass_near_gap12": 0.0,
"full_mass_near_gap23": 0.012166140280165565,
"full_mass_near_either": 0.012166140280165565,
"full_mass_not_near_either": 0.826878016972632,
"full_mass_neff_failed": 0.02978606758247431
},
{
"case": "00000778",
"rule": "tetra_four_point",
"draws": 2000,
"unique_N": 1856,
"max_multiplicity": 3,
"positive_distance_share": 0.7840775070957364,
"boundary_unscored": 0.21592249290426355,
"full_mass_mode_-1": 0.0,
"full_mass_mode_0": 0.01999397643094128,
"full_mass_mode_1": 0.04077203036897829,
"full_mass_mode_2": 0.3159832353595818,
"full_mass_mode_3": 0.40732826493623503,
"full_mass_near_gap12": 0.273643049976412,
"full_mass_near_gap23": 0.055669503003797284,
"full_mass_near_either": 0.31402304159184247,
"full_mass_not_near_either": 0.47005446550389396,
"full_mass_neff_failed": 0.0
},
{
"case": "00000666",
"rule": "tetra_four_point",
"draws": 2000,
"unique_N": 1991,
"max_multiplicity": 2,
"positive_distance_share": 0.9015189998731159,
"boundary_unscored": 0.0984810001268843,
"full_mass_mode_-1": 0.0,
"full_mass_mode_0": 0.0,
"full_mass_mode_1": 0.8690643158776837,
"full_mass_mode_2": 0.0,
"full_mass_mode_3": 0.03245468399543217,
"full_mass_near_gap12": 0.0,
"full_mass_near_gap23": 0.04192063349409989,
"full_mass_near_either": 0.04192063349409989,
"full_mass_not_near_either": 0.859598366379016,
"full_mass_neff_failed": 0.000450759499936558
}
]
}