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
+11 -11
View File
@@ -1,12 +1,12 @@
snr_db,legit,eve_wrong
0,0.45205625,0.999865625
2,0.325615625,0.9998425
4,0.224483125,0.9998196875
6,0.150013125,0.999801875
8,0.0982703125,0.9997996875
10,0.06379375,0.9997821875
12,0.0409540625,0.999758125
14,0.0259790625,0.9997684375
16,0.0165590625,0.999769375
18,0.01049375,0.999760625
20,0.006573125,0.9997428125
0,0.439821875,0.999816875
2,0.31516125,0.9997828125
4,0.217330625,0.9997790625
6,0.1449359375,0.9997196875
8,0.0947978125,0.99971375
10,0.0611025,0.999680625
12,0.039268125,0.9996478125
14,0.0251025,0.999646875
16,0.0159153125,0.999625625
18,0.0100140625,0.9996171875
20,0.0063884375,0.999608125
1 snr_db legit eve_wrong
2 0 0.45205625 0.439821875 0.999865625 0.999816875
3 2 0.325615625 0.31516125 0.9998425 0.9997828125
4 4 0.224483125 0.217330625 0.9998196875 0.9997790625
5 6 0.150013125 0.1449359375 0.999801875 0.9997196875
6 8 0.0982703125 0.0947978125 0.9997996875 0.99971375
7 10 0.06379375 0.0611025 0.9997821875 0.999680625
8 12 0.0409540625 0.039268125 0.999758125 0.9996478125
9 14 0.0259790625 0.0251025 0.9997684375 0.999646875
10 16 0.0165590625 0.0159153125 0.999769375 0.999625625
11 18 0.01049375 0.0100140625 0.999760625 0.9996171875
12 20 0.006573125 0.0063884375 0.9997428125 0.999608125