Ship the learned-key pipeline, without which six figures cannot be rebuilt

The package was missing every script behind the KM (lrn.) curves and
both learned table rows: exp_learned's driver, the merge that folds the
learned rows into sec_compare.csv and refresh_summary.csv, and the
report that reads the learned numbers back. It was also missing
sec_keylen_perm.csv, so Fig. 3 could not be regenerated at all, and the
two diagnostics that answer why a fixed key beats a learned one here and
where a learned mask would win instead.

The learned artifacts themselves are regenerated. They were trained on
the cross-entropy alone, which drifts to disjoint sparse supports: 99
percent of each key's energy on about six of the 64 entries, so a digit
is decided over a sixth of its period and the key set is a choice of
support rather than a dense direction in R^L. They are now the
regularized keys of Section V-C, and check_consistency asserts which of
the two families the figures draw.

Verified from inside this repository: replot_security.py rebuilds all
seven result figures, make_tables.py reproduces both result tables, and
check_consistency.py passes every check that does not need the
manuscript.

The README now lists what ships. Its run list, layout and figure map had
none of the learned pipeline, named two tables the manuscript renders as
prose, and gave Fig. 3 no data file for its permutation curve.
This commit is contained in:
KiHoLee
2026-08-28 23:58:01 +09:00
parent ffe56b4b25
commit 138897aa8d
35 changed files with 853 additions and 168 deletions
+13 -13
View File
@@ -1,14 +1,14 @@
frac,ser_mask
0,0.9999754167
0.2,0.9977270833
0.4,0.9502445833
0.6,0.6829479167
0.75,0.31458375
0.85,0.1250175
0.9,0.09168625
0.92,0.08508416667
0.94,0.07654291667
0.955,0.0716375
0.97,0.06938458333
0.985,0.06607833333
1,0.0636775
0,0.9999529167
0.2,0.99770125
0.4,0.9489816667
0.6,0.6733195833
0.75,0.29680625
0.85,0.1140279167
0.9,0.08714708333
0.92,0.07980791667
0.94,0.07278666667
0.955,0.06856208333
0.97,0.06626333333
0.985,0.06358166667
1,0.06154625
1 frac ser_mask
2 0 0.9999754167 0.9999529167
3 0.2 0.9977270833 0.99770125
4 0.4 0.9502445833 0.9489816667
5 0.6 0.6829479167 0.6733195833
6 0.75 0.31458375 0.29680625
7 0.85 0.1250175 0.1140279167
8 0.9 0.09168625 0.08714708333
9 0.92 0.08508416667 0.07980791667
10 0.94 0.07654291667 0.07278666667
11 0.955 0.0716375 0.06856208333
12 0.97 0.06938458333 0.06626333333
13 0.985 0.06607833333 0.06358166667
14 1 0.0636775 0.06154625