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
+16 -7
View File
@@ -1,8 +1,17 @@
jsr_db,blind,matched,nojam
-10,0.117582,0.40832,0.062852
-5,0.215158,0.657572,0.062852
0,0.404244,0.851282,0.062852
5,0.648786,0.94662,0.062852
10,0.839218,0.982652,0.062852
15,0.939304,0.994184,0.062852
20,0.979206,0.99818,0.062852
-10,0.114422,0.38569,0.060494
-8,0.143006,0.483718,0.060494
-6,0.183328,0.586128,0.060494
-4,0.239698,0.685262,0.060494
-2,0.310968,0.772466,0.060494
0,0.398118,0.840574,0.060494
2,0.493594,0.893422,0.060494
4,0.594688,0.929018,0.060494
6,0.686344,0.953816,0.060494
8,0.768698,0.970236,0.060494
10,0.835132,0.980904,0.060494
12,0.886322,0.98835,0.060494
14,0.923646,0.992284,0.060494
16,0.949318,0.995096,0.060494
18,0.967192,0.996858,0.060494
20,0.978764,0.998038,0.060494
1 jsr_db blind matched nojam
2 -10 0.117582 0.114422 0.40832 0.38569 0.062852 0.060494
3 -5 -8 0.215158 0.143006 0.657572 0.483718 0.062852 0.060494
4 0 -6 0.404244 0.183328 0.851282 0.586128 0.062852 0.060494
5 5 -4 0.648786 0.239698 0.94662 0.685262 0.062852 0.060494
6 10 -2 0.839218 0.310968 0.982652 0.772466 0.062852 0.060494
7 15 0 0.939304 0.398118 0.994184 0.840574 0.062852 0.060494
8 20 2 0.979206 0.493594 0.99818 0.893422 0.062852 0.060494
9 4 0.594688 0.929018 0.060494
10 6 0.686344 0.953816 0.060494
11 8 0.768698 0.970236 0.060494
12 10 0.835132 0.980904 0.060494
13 12 0.886322 0.98835 0.060494
14 14 0.923646 0.992284 0.060494
15 16 0.949318 0.995096 0.060494
16 18 0.967192 0.996858 0.060494
17 20 0.978764 0.998038 0.060494