Rewrite the manuscript for outside readers; move formal results to App. A

Follow the style of the abstract in the remaining sections: results in
words first, conditions up front, physical quantities instead of codes.
A survey of Computers & Geosciences papers is recorded in
docs/research/paper-style-survey.md.

Replace repository codes with descriptive names in the text, tables and
captions (10 dB, half-anchor, SMC mean, SMC bank, calibrated sonic);
configs, outputs and code keep the codes, mapped in paper/README.md.
Remove symbols that carried two meanings.

Put Methods before Theory. Section 5 now states each result in words and
Appendix A holds the formal statements with their proofs. Add tables of
results and symbols, a table of failures with causes and lessons, a
worked example in Sec. 6.6 and practical advice in Sec. 7. Move the
protocol record and secondary results to a new Appendix C. The main text
falls from about 20,600 to 15,400 words.

Corrections from two rounds of review: state both pass rules (the bank
claim has no margin), compare against the best deterministic tie, define
calibration per function, drop the uninterpretable Berkson bounds at
c = 2 from the table, define the SNR and noise, disclose the sigma_b
mismatch, and correct 29-35% to 30-35%. Drop tab:p1 and fig:f3vol.

No verdict, threshold or protocol changes. The figure scripts now draw
the new names, but the figures still need regenerating on a machine
with outputs/*/summary; red notes in the captions mark this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 14:34:13 +07:00
parent fc15bf6510
commit 8d5befb412
22 changed files with 1194 additions and 886 deletions

View File

@@ -42,7 +42,7 @@ def bench_s1() -> None:
d = pd.read_csv(SUMMARY / "s1_cells.csv")
cs, Ns = sorted(d.c.unique()), sorted(d.n_train.unique())
norm, cmap = fs.diverging_norm(0.65, 1.0, 1.15), fs.DIVERGING
rows = [("pm_best", r"B3d-Sa / best point tie"), ("m2_pm", r"M2-Sa / B3d-Sa")]
rows = [("pm_best", r"SMC mean / best point tie"), ("m2_pm", r"SMC bank / SMC mean")]
fig, axes = plt.subplots(2, len(REGIMES), figsize=(F.WIDTH, 3.55), sharex=True, sharey=True, layout="constrained")
for i, (k, lab) in enumerate(rows):
for j, reg in enumerate(REGIMES):
@@ -64,7 +64,7 @@ def bench_s1() -> None:
for s in ax.spines.values():
s.set_visible(False)
ax.tick_params(length=0)
ax.set_title(f"({'ab'[i]}{j + 1}) {reg}", loc="left", fontsize=8, color=fs.INK, pad=3)
ax.set_title(f"({'ab'[i]}{j + 1}) {F.REGIME_LABELS[reg]}", loc="left", fontsize=8, color=fs.INK, pad=3)
if i == 1:
ax.set_xlabel(r"wells $N$")
if j == 0:
@@ -117,12 +117,13 @@ def bench_s8(N: int = 16) -> None:
H = np.where(use, np.asarray(c["H"], float), np.nan)
ax.plot(f, H, color=col, **STYLE_S8[m])
ax.set(xlim=(0, fmax + 5), ylim=(-1.4, 1.6))
ax.set_title(f"({'ab'[i]}{j + 1}) {reg}, " + rf"$\Delta = {d:g}$ ms", loc="left", fontsize=8, color=fs.INK, pad=3)
ax.set_title(f"({'ab'[i]}{j + 1}) {F.REGIME_LABELS[reg]}, " + rf"$\Delta = {d:g}$ ms", loc="left", fontsize=8, color=fs.INK, pad=3)
if i == 1:
ax.set_xlabel("frequency (Hz)")
if j == 0:
ax.set_ylabel(r"transfer $\hat H(f)$ vs. Oracle")
handles = [Line2D([], [], color=col, label=m, **STYLE_S8[m]) for m, col in cols.items()]
S8_LABELS = {"PM2": "midpoint label", "BK2": "two-member bank", "HM2": "two-member hard-min"}
handles = [Line2D([], [], color=col, label=S8_LABELS[m], **STYLE_S8[m]) for m, col in cols.items()]
handles.append(Line2D([], [], color=fs.INK2, lw=0.9, ls="--", label=r"$\cos(\pi f \Delta)$"))
fig.legend(handles=handles, loc="outside lower center", ncol=4)
F.save(fig, "bench_s8")