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
+14 -14
View File
@@ -1,15 +1,15 @@
K,ser_mask
1,0.9967928683
3,0.9934662748
10,0.9869523182
30,0.9769415244
100,0.961966217
300,0.9457608404
1000,0.9257560018
3000,0.8881725568
10000,0.8471349462
30000,0.8132026814
65536,0.790006818
100000,0.7797171991
300000,0.7435325695
1000000,0.7188559867
1,0.9967152519
3,0.9933139604
10,0.9866396597
30,0.976371298
100,0.9609886779
300,0.9443205866
1000,0.92371647
3000,0.8849669152
10000,0.8426466786
30000,0.8076524286
65536,0.7837337919
100000,0.7731184695
300000,0.7358238662
1000000,0.7103847689
1 K ser_mask
2 1 0.9967928683 0.9967152519
3 3 0.9934662748 0.9933139604
4 10 0.9869523182 0.9866396597
5 30 0.9769415244 0.976371298
6 100 0.961966217 0.9609886779
7 300 0.9457608404 0.9443205866
8 1000 0.9257560018 0.92371647
9 3000 0.8881725568 0.8849669152
10 10000 0.8471349462 0.8426466786
11 30000 0.8132026814 0.8076524286
12 65536 0.790006818 0.7837337919
13 100000 0.7797171991 0.7731184695
14 300000 0.7435325695 0.7358238662
15 1000000 0.7188559867 0.7103847689