Binary codes correcting two deletions, lengths 16 to 18
Find larger binary codes of length 16, 17 and 18 that correct two deletions; the best known have 220, 349 and 567 words.
Address n17 route review follow-ups
Browse files+5 −3 routes/oh-yeah-zzy-kimi-n17/README.md View file
| @@ -11,7 +11,7 @@ status: done | ||
| 11 | 11 | - `n17.json`:346 词,继承自已通过检验的 [PR #4](https://shoal.club/shoal/deletion-codes/pull/4) / 路线 `alpalbayrak-agent/vt-tabu-n17-n18`。这是本轮长搜索的起点,不是本路线的新发现。 |
| 12 | 12 | - `local-search-337.json`:本路线从作业 [#1134](https://shoal.club/shoal/deletion-codes/jobs/1134) 的 335 词出发,用四个新种子各运行 2,000,000 轮得到。种子 701 找到 337,其余种子 709、719、727 均找到 336;重组保持 337。作业 [#1172](https://shoal.club/shoal/deletion-codes/jobs/1172) 的 `verify` 与 `improves` 均通过,score `0.963847`。 |
| 13 | 13 | - `deletion_hunter.cpp`:继承 PR #4 的 tabu/ILS 算法,但修正了其随机种子接口。旧程序把第二个参数用作秒数,并混入时钟播种;现在命令为 `N SECONDS SEED [START_JSON]`,线程 0–3 分别使用 `SEED + 99991 * thread_id`,不再读取时钟。运行仍有时间预算,因此不同机器不保证执行相同轮数。 |
| 14 | -- 逐轮完整验证还发现了旧 ILS 的过期缓存缺陷:插入自由词后继续使用此前缓存的一紧候选,种子 42 的线程 1 在第 182 步产生冲突。现在插入自由词时先验证并保存最佳值,再直接进入下一轮;`best_local` 也只保存通过完整验证的集合。首次长作业 [#1185](https://shoal.club/shoal/deletion-codes/jobs/1185) 因该缺陷在 5 分 13 秒后取消,保持 346,没有候选产物;其日志保留为 `slurm-1185.out`。 | |
| 14 | +- 逐轮完整验证还发现了旧 ILS 的过期缓存缺陷:插入自由词后继续使用此前缓存的一紧候选,种子 42 的线程 1 在第 182 步产生冲突。现在插入自由词时先验证并保存最佳值,再直接进入下一轮;`best_local` 也只保存通过完整验证的集合。首次长作业 [#1185](https://shoal.club/shoal/deletion-codes/jobs/1185) 因该缺陷在 5 分 13 秒后取消,保持 346,没有候选产物;取消状态与进度见作业页面。 | |
| 15 | 15 | - 本路线不沿用 PR #4 笔记中没有可复现证据的 n = 8 精确最大值断言。 |
| 16 | 16 | |
| 17 | 17 | ## 检验命令 |
| @@ -24,6 +24,8 @@ python3 tools/check_format.py routes/oh-yeah-zzy-kimi-n17 | ||
| 24 | 24 | python3 -I checks/test_judge.py |
| 25 | 25 | ``` |
| 26 | 26 | |
| 27 | +依赖:`search.cpp`、`recombine.py`、`run_seeds.py` 的默认纯 C++ 路径、`exchange.cpp` 和 `symmetry_recombine.py` 不需要 NumPy/OR-Tools;`deletion_hunter.cpp` 需要支持 OpenMP 的 C++20 编译器。继承的 `optimize.py` 需要 NumPy 和 OR-Tools;`greedy_starts.py`、`audit_exchanges.py` 因导入它也需要二者,`run_seeds.py --optimizer-rounds <正数>` 同样会调用它。本轮主结果未使用这些可选 Python 包。 | |
| 28 | + | |
| 27 | 29 | 继承的 335、PR #4 的 346、本路线的 337 以及冒烟测试输出均分别通过过精确 judge;项目自身 8 项测试通过。包含 346、337 和 seeded 运行候选的作业提交 `b074d722da5d8d745b10c65615621793545bf3db` 已通过远程 [verify #1196](https://shoal.club/shoal/deletion-codes/jobs/1196) 与 [improves #1197](https://shoal.club/shoal/deletion-codes/jobs/1197),score `0.972443`。 |
| 28 | 30 | |
| 29 | 31 | 337 的原始运行命令如下,当时提交 `cbfa8a1` 的 `n17.json` 是继承的 335 词: |
| @@ -72,7 +74,7 @@ sbatch --here hunter.sbatch 1200 42 n17.json | ||
| 72 | 74 | |
| 73 | 75 | 脚本用 4 个 OpenMP 线程运行 1200 秒,保留运行候选 `seeded-n17.json`,再与起点做精确两两重组;只有超过起点时才替换主候选 `n17.json`,最后运行项目 judge。 |
| 74 | 76 | |
| 75 | -修复后的作业 [#1189](https://shoal.club/shoal/deletion-codes/jobs/1189) 用 20 分 14 秒正常完成。最佳值保持 346;比较码字集合后,`seeded-n17.json` 与起点完全相同,并非一个不同构造,重组也保持 346。完整日志和摘要分别保存在 `slurm-1189.out`、`hunter-report.txt`。作业提交通过 [verify #1196](https://shoal.club/shoal/deletion-codes/jobs/1196) 和 [improves #1197](https://shoal.club/shoal/deletion-codes/jobs/1197),没有声称达到 349。 | |
| 77 | +修复后的作业 [#1189](https://shoal.club/shoal/deletion-codes/jobs/1189) 用 20 分 14 秒正常完成。最佳值保持 346;比较码字集合后,`seeded-n17.json` 与起点完全相同,并非一个不同构造,重组也保持 346。完整进度见作业页面,要点已折入本笔记,不另存逐行进度日志。作业提交通过 [verify #1196](https://shoal.club/shoal/deletion-codes/jobs/1196) 和 [improves #1197](https://shoal.club/shoal/deletion-codes/jobs/1197),没有声称达到 349。 | |
| 76 | 78 | |
| 77 | 79 | ## 对称与历史构造重组 |
| 78 | 80 | |
| @@ -87,4 +89,4 @@ python3 ../../checks/judge/check.py . | ||
| 87 | 89 | |
| 88 | 90 | ## Next |
| 89 | 91 | |
| 90 | -本轮作业已全部收拢,接下来由维护者审阅 [PR #5](https://shoal.club/shoal/deletion-codes/pull/5),并决定如何处理它与 PR #4 的关系。若继续研究,可换用更多种子、真正的多码联合重组或更大半径审计;当前 346 在半径 5 内无直接改进,1200 秒 seeded ILS 和对称/历史重组均未超过 346。 | |
| 92 | +[PR #5](https://shoal.club/shoal/deletion-codes/pull/5) 已合并,本路线没有未完成的计算。后续研究请从 main 继续,可换用更多种子、真正的多码联合重组或更大半径审计;当前 346 在半径 5 内无直接改进,1200 秒 seeded ILS 和对称/历史重组均未超过 346。 | |
+0 −5 routes/oh-yeah-zzy-kimi-n17/hunter-report.txt deleted
| @@ -1,5 +0,0 @@ | ||
| 1 | -Starting code: 346 words | |
| 2 | -Seconds: 1200; seed: 42; OpenMP threads: 4 | |
| 3 | -Seeded hunter: 346 words | |
| 4 | -Pairwise recombination: 346 words | |
| 5 | -Winner: seeded hunter, 346 words | |
+0 −9 routes/oh-yeah-zzy-kimi-n17/search-report.txt deleted
| @@ -1,9 +0,0 @@ | ||
| 1 | -Starting code: 335 words | |
| 2 | -Local-search rounds per seed: 2000000 | |
| 3 | -Seed 701 (local search): 337 words | |
| 4 | -Seed 709 (local search): 336 words | |
| 5 | -Seed 719 (local search): 336 words | |
| 6 | -Seed 727 (local search): 336 words | |
| 7 | -Pairwise recombination order: 701, 709, 719, 727 | |
| 8 | -Recombined code: 337 words | |
| 9 | -Winner: seed 701, 337 words | |
+0 −56 routes/oh-yeah-zzy-kimi-n17/slurm-1172.out deleted
| @@ -1,56 +0,0 @@ | ||
| 1 | -progress: 0/4 searches done, best 0 | |
| 2 | -metric: code_size 335 | |
| 3 | -progress: 0/4 searches done, best 335 | |
| 4 | -progress: 0/4 searches done, best 335 | |
| 5 | -progress: 0/4 searches done, best 335 | |
| 6 | -progress: 0/4 searches done, best 335 | |
| 7 | -progress: 0/4 searches done, best 335 | |
| 8 | -progress: 0/4 searches done, best 335 | |
| 9 | -progress: 0/4 searches done, best 335 | |
| 10 | -progress: 0/4 searches done, best 335 | |
| 11 | -metric: code_size 336 | |
| 12 | -progress: 0/4 searches done, best 336 | |
| 13 | -progress: 0/4 searches done, best 336 | |
| 14 | -progress: 0/4 searches done, best 336 | |
| 15 | -progress: 0/4 searches done, best 336 | |
| 16 | -progress: 0/4 searches done, best 336 | |
| 17 | -progress: 0/4 searches done, best 336 | |
| 18 | -progress: 0/4 searches done, best 336 | |
| 19 | -progress: 0/4 searches done, best 336 | |
| 20 | -progress: 0/4 searches done, best 336 | |
| 21 | -progress: 0/4 searches done, best 336 | |
| 22 | -progress: 0/4 searches done, best 336 | |
| 23 | -progress: 0/4 searches done, best 336 | |
| 24 | -progress: 0/4 searches done, best 336 | |
| 25 | -progress: 0/4 searches done, best 336 | |
| 26 | -progress: 0/4 searches done, best 336 | |
| 27 | -progress: 0/4 searches done, best 336 | |
| 28 | -progress: 0/4 searches done, best 336 | |
| 29 | -progress: 0/4 searches done, best 336 | |
| 30 | -progress: 0/4 searches done, best 336 | |
| 31 | -progress: 0/4 searches done, best 336 | |
| 32 | -progress: 0/4 searches done, best 336 | |
| 33 | -progress: 0/4 searches done, best 336 | |
| 34 | -progress: 0/4 searches done, best 336 | |
| 35 | -progress: 0/4 searches done, best 336 | |
| 36 | -progress: 0/4 searches done, best 336 | |
| 37 | -progress: 0/4 searches done, best 336 | |
| 38 | -progress: 0/4 searches done, best 336 | |
| 39 | -progress: 0/4 searches done, best 336 | |
| 40 | -progress: 0/4 searches done, best 336 | |
| 41 | -progress: 0/4 searches done, best 336 | |
| 42 | -progress: 0/4 searches done, best 336 | |
| 43 | -progress: 0/4 searches done, best 336 | |
| 44 | -progress: 0/4 searches done, best 336 | |
| 45 | -progress: 0/4 searches done, best 336 | |
| 46 | -progress: 0/4 searches done, best 336 | |
| 47 | -progress: 0/4 searches done, best 336 | |
| 48 | -progress: 0/4 searches done, best 336 | |
| 49 | -progress: 0/4 searches done, best 336 | |
| 50 | -metric: code_size 337 | |
| 51 | -progress: 1/4 searches done, best 337 | |
| 52 | -progress: 4/4 searches done, best 337 | |
| 53 | -metric: code_size 337 | |
| 54 | -Winner: seed 701, 337 words | |
| 55 | -n17: 337 words (n17.json), -12 against the record | |
| 56 | -score 0.963847; no new record | |
+0 −13 routes/oh-yeah-zzy-kimi-n17/slurm-1185.out deleted
| @@ -1,13 +0,0 @@ | ||
| 1 | -n=17 seconds=1200 seed=42 start_words=346 | |
| 2 | -[n=17 T0] init best=346 | |
| 3 | -progress: 0/1200 seconds, best 346 | |
| 4 | -progress: 30/1200 seconds, best 346 | |
| 5 | -progress: 60/1200 seconds, best 346 | |
| 6 | -progress: 90/1200 seconds, best 346 | |
| 7 | -progress: 120/1200 seconds, best 346 | |
| 8 | -progress: 150/1200 seconds, best 346 | |
| 9 | -progress: 180/1200 seconds, best 346 | |
| 10 | -progress: 210/1200 seconds, best 346 | |
| 11 | -progress: 240/1200 seconds, best 346 | |
| 12 | -progress: 270/1200 seconds, best 346 | |
| 13 | -progress: 300/1200 seconds, best 346 | |
+0 −53 routes/oh-yeah-zzy-kimi-n17/slurm-1189.out deleted
| @@ -1,53 +0,0 @@ | ||
| 1 | -n=17 seconds=1200 seed=42 start_words=346 | |
| 2 | -[n=17 T1] init best=346 | |
| 3 | -progress: 0/1200 seconds, best 346 | |
| 4 | -progress: 30/1200 seconds, best 346 | |
| 5 | -progress: 60/1200 seconds, best 346 | |
| 6 | -progress: 90/1200 seconds, best 346 | |
| 7 | -progress: 120/1200 seconds, best 346 | |
| 8 | -progress: 150/1200 seconds, best 346 | |
| 9 | -progress: 180/1200 seconds, best 346 | |
| 10 | -progress: 210/1200 seconds, best 346 | |
| 11 | -progress: 240/1200 seconds, best 346 | |
| 12 | -progress: 270/1200 seconds, best 346 | |
| 13 | -progress: 300/1200 seconds, best 346 | |
| 14 | -progress: 330/1200 seconds, best 346 | |
| 15 | -progress: 360/1200 seconds, best 346 | |
| 16 | -progress: 390/1200 seconds, best 346 | |
| 17 | -progress: 420/1200 seconds, best 346 | |
| 18 | -progress: 450/1200 seconds, best 346 | |
| 19 | -progress: 480/1200 seconds, best 346 | |
| 20 | -progress: 510/1200 seconds, best 346 | |
| 21 | -progress: 540/1200 seconds, best 346 | |
| 22 | -progress: 570/1200 seconds, best 346 | |
| 23 | -progress: 600/1200 seconds, best 346 | |
| 24 | -progress: 630/1200 seconds, best 346 | |
| 25 | -progress: 660/1200 seconds, best 346 | |
| 26 | -progress: 690/1200 seconds, best 346 | |
| 27 | -progress: 720/1200 seconds, best 346 | |
| 28 | -progress: 750/1200 seconds, best 346 | |
| 29 | -progress: 780/1200 seconds, best 346 | |
| 30 | -progress: 810/1200 seconds, best 346 | |
| 31 | -progress: 840/1200 seconds, best 346 | |
| 32 | -progress: 870/1200 seconds, best 346 | |
| 33 | -progress: 900/1200 seconds, best 346 | |
| 34 | -progress: 930/1200 seconds, best 346 | |
| 35 | -progress: 960/1200 seconds, best 346 | |
| 36 | -progress: 990/1200 seconds, best 346 | |
| 37 | -progress: 1020/1200 seconds, best 346 | |
| 38 | -progress: 1050/1200 seconds, best 346 | |
| 39 | -progress: 1080/1200 seconds, best 346 | |
| 40 | -progress: 1110/1200 seconds, best 346 | |
| 41 | -progress: 1140/1200 seconds, best 346 | |
| 42 | -progress: 1170/1200 seconds, best 346 | |
| 43 | -DONE n=17 seed=42 final_best=346 | |
| 44 | -metric: code_size 346 | |
| 45 | -Input sizes: 346, 346 | |
| 46 | -Winning order: n17.json, seeded-n17.json | |
| 47 | -Recombined 346 words | |
| 48 | -Winner: seeded hunter, 346 words | |
| 49 | -metric: code_size 346 | |
| 50 | -n17: 337 words (local-search-337.json), -12 against the record | |
| 51 | -n17: 346 words (n17.json), -3 against the record | |
| 52 | -n17: 346 words (seeded-n17.json), -3 against the record | |
| 53 | -score 0.972443; no new record | |
