File size: 36,397 Bytes
a045435
 
 
 
 
 
 
 
473cc8a
a045435
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
<!doctype html><html><head><meta charset='utf-8'><title>Convergence study: where the defaults come from</title><style>
body{max-width:980px;margin:2rem auto;padding:0 1.25rem;font:15px/1.55 -apple-system,Segoe UI,Roboto,sans-serif;color:#1c2330;background:#fafbfc}
h1{font-size:1.7rem;border-bottom:2px solid #d8dee8;padding-bottom:.4rem}h2{margin-top:2.2rem;border-bottom:1px solid #e3e8ef;padding-bottom:.25rem}
table{border-collapse:collapse;margin:1rem 0;font-size:13.5px;font-variant-numeric:tabular-nums}th,td{border:1px solid #d8dee8;padding:.35rem .6rem;text-align:left}
th{background:#eef2f7}td:not(:first-child){text-align:right}code{background:#eef2f7;padding:.1rem .3rem;border-radius:3px;font-size:.92em}
pre{background:#1c2330;color:#e6edf5;padding:.8rem 1rem;border-radius:6px;overflow:auto}pre code{background:none;color:inherit}
img{max-width:100%;border:1px solid #d8dee8;border-radius:4px;margin:.5rem 0}blockquote{border-left:3px solid #6aa9ff;margin:0;padding:.2rem 1rem;color:#4b5563}
nav{font-size:13px;margin-bottom:1.5rem}nav a{margin-right:1rem}
</style></head><body><nav><a href="index.html">index</a> <a href="brain3_vs_3a_events.html">brain3 vs 3a events</a> <a href="contact_friction_study.html">contact friction study</a> <a href="convergence_study.html">convergence study</a> <a href="dataset_definition.html">dataset definition</a> <a href="ds08_distribution_at_1000.html">ds08 distribution at 1000</a> <a href="ds_distribution_at_1000.html">ds distribution at 1000</a> <a href="ds_distribution_report.html">ds distribution report</a> <a href="ds_mu03_brain3b_distribution.html">ds mu03 brain3b distribution</a> <a href="episode_store.html">episode store</a> <a href="human_pushing_analysis.html">human pushing analysis</a> <a href="lewm_parity.html">lewm parity</a> <a href="reference_parity.html">reference parity</a> <a href="session_fidelity_and_behaviour.html">session fidelity and behaviour</a></nav><h1 id="convergence-study-where-the-defaults-come-from">Convergence study: where the defaults come from</h1>
<p>Regenerate this file and the literal tables in <code>src/pusht_sim/envs/recommended.py</code> with:</p>
<pre><code>PYTHONPATH=src .venv/bin/python scripts/convergence_study.py
</code></pre>
<p>Measured pymunk on 2026-09-24T15:51:08+00:00, superdex on 2026-09-24T15:52:47+00:00.</p>
<h2 id="result">Result</h2>
<table>
<thead>
<tr>
<th>backend</th>
<th>recommended</th>
<th>worst error vs reference</th>
<th>cost/episode</th>
<th>published defaults score</th>
</tr>
</thead>
<tbody>
<tr>
<td>pymunk</td>
<td><code>sim_hz=640</code>, <code>solver_iterations=1</code>, <code>pusher_sides=16</code></td>
<td>0.468 u / 0.0034 rad (t7)</td>
<td>47 ms (reference 95 ms)</td>
<td>2.7 u</td>
</tr>
<tr>
<td>superdex</td>
<td><code>sim_hz=320</code>, <code>solver_iterations=64</code>, <code>pusher_sides=64</code>, <code>contact_stiffness=10000</code></td>
<td>0.000 u / 0.0000 rad (t7)</td>
<td>200 ms (reference 200 ms)</td>
<td>24.8 u</td>
</tr>
</tbody>
</table>
<p>Read the last column against the second: on pymunk it is a real convergence result with headroom left, 2.0x cheaper than the yardstick; on superdex the recommendation is the yardstick itself - nothing cheaper held tolerance, so this engine has no measured headroom on this suite. What both replace is the same thing - hand-picked defaults that miss the tolerance by orders of magnitude. The rest of this document is how those numbers were obtained.</p>
<h2 id="method">Method</h2>
<p><strong>Open-loop replay.</strong> The scripted driver reacts to what the physics does, so re-running it at a coarser setting changes the <em>commands</em> as well as the <em>response</em>, and the two effects are then impossible to separate. Instead the command sequence is generated once per scenario at the reference setting and replayed verbatim by every rung of every ladder. What is left over is integration error and nothing else.</p>
<p><strong>Worst case over the suite.</strong> The seven scenarios each stress a different part of the simulator - pure sliding (t1), torque from an off-centre push (t2, t7), wall contact (t3), a long contact history (t4), a small contact patch on a long lever (t5), sub-degree alignment (t6). Averaging over them would let the one case that breaks disappear into six that do not, so every verdict below is the worst scenario, not the mean. Scenarios used: t1, t2, t3, t4, t5, t6, t7.</p>
<p><strong>Tolerances.</strong> 1 workspace unit of final block position, 0.02 rad (1.1 degrees) of final block angle, 0.01 of goal coverage. These are <code>pusht_sim.runs.TOL_POSITION</code>/<code>TOL_ANGLE</code>/<code>TOL_COVERAGE</code>, the same numbers a run diff calls "the same answer", so a default chosen here and a run compared there cannot disagree. One unit is one millimetre of table; the block is 120 units across.</p>
<p><strong>The reference has to earn it.</strong> There is no closed form for a frictional push, so the finest rung of each ladder stands in for the true answer - but only if refining actually helps. Before anything is measured, every rung takes a <em>rest test</em>: the pusher is commanded to hold its starting position and the block, which nothing is pushing, must stay put. The best rung of a ladder sets the floor, and the yardstick is the finest rung whose drift is no more than double that floor. Rungs coarser than the yardstick are still swept - failing to be a good ruler does not disqualify a setting from being measured. This is not a formality: on superdex the rest test rejects <code>sim_hz</code> past 320, <code>contact_stiffness</code> past 10000 as a yardstick.</p>
<p><strong>Selection rule.</strong> The cheapest rung that is inside tolerance <em>and</em> whose every finer rung is also inside tolerance. The second clause matters: a coarse setting can cross the reference by luck, and a table that stopped at the first pass would ship that crossing point. Then a stability margin: a value within 2x of a setting measured to diverge is stepped one rung away from the cliff. Finally the whole combination is re-measured together, because the knobs interact.</p>
<p><strong>Horizon.</strong> Episodes are scored at 40 control steps (4 s at 10 Hz control), not the full 120-step episode, and that is deliberate. Push-T under open-loop replay is a contact problem: once two runs disagree about whether a corner caught, the gap grows on its own. The sim_hz tables below show how little headroom there is - even a factor-of-two refinement at the top of the ladder still moves the final pose by more than the tolerance at 4 s - and the agreement windows show the published defaults parting company with the reference within a fraction of a second. Scoring at the full episode length would measure that amplification rather than integration error, and every rung would fail for the same reason. The agreement window is where the limit gets reported instead of hidden.</p>
<p><strong>Cost.</strong> Wall-clock seconds per episode over the same 40 steps, run serially so the number describes the setting rather than the machine's core count. Absolute values are laptop-CPU specific; the ratios are the point.</p>
<h2 id="pymunk">pymunk</h2>
<h3 id="pymunk-rest-test-choosing-the-yardstick">pymunk: rest test (choosing the yardstick)</h3>
<p>Pusher commanded to hold its starting position; the number is the worst distance the block travels anyway, over the suite. Scenario t7 starts with the pusher already overlapping the block, so some separation motion is unavoidable on any setting - the question is which rungs stay near that floor and which invent motion of their own. A rung that more than doubles the floor is not a yardstick others can be measured against, however small its step; it is still swept as a candidate if it is coarser than the one that is.</p>
<table>
<thead>
<tr>
<th>knob</th>
<th>value</th>
<th>block drift (u)</th>
<th>worst case</th>
<th>role</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>sim_hz</code></td>
<td>20</td>
<td>1.160</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>40</td>
<td>1.161</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>80</td>
<td>1.161</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>160</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>320</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>640</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>1280</td>
<td>1.162</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>1</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>2</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>4</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>8</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>16</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>32</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>64</td>
<td>1.162</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>4</td>
<td>0.281</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>8</td>
<td>1.162</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>16</td>
<td>1.165</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>32</td>
<td>1.156</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>64</td>
<td>1.149</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
</tbody>
</table>
<ul>
<li>
<p><code>sim_hz</code> reference <strong>1280</strong> - every rung stayed within 1.16 u of the 1.16 u floor.</p>
</li>
<li>
<p><code>solver_iterations</code> reference <strong>64</strong> - every rung stayed within 1.16 u of the 1.16 u floor.</p>
</li>
<li>
<p><code>pusher_sides</code> reference <strong>64</strong> - every rung stayed within 1.00 u of the 0.28 u floor.</p>
</li>
</ul>
<p>Reference setting, each knob at the finest rung the rest test trusts: <code>sim_hz=1280</code>, <code>solver_iterations=64</code>, <code>pusher_sides=64</code>, <code>control_hz=10</code> - 95 ms per episode.</p>
<h3 id="pymunk-sim_hz">pymunk: sim_hz</h3>
<p>Physics steps per simulated second. The primary resolution knob: halving the step should stop changing the outcome once the run has converged.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>20</td>
<td>65.271</td>
<td>19.623</td>
<td>0.1698</td>
<td>0.0641</td>
<td>0.6053</td>
<td>t3</td>
<td>-</td>
<td>26.6</td>
<td>out</td>
</tr>
<tr>
<td>40</td>
<td>8.498</td>
<td>4.765</td>
<td>0.0485</td>
<td>0.0240</td>
<td>0.1256</td>
<td>t1</td>
<td>-</td>
<td>26.2</td>
<td>out</td>
</tr>
<tr>
<td>80</td>
<td>4.052</td>
<td>2.188</td>
<td>0.0233</td>
<td>0.0086</td>
<td>0.0793</td>
<td>t1</td>
<td>-</td>
<td>29.1</td>
<td>out</td>
</tr>
<tr>
<td>160</td>
<td>1.864</td>
<td>0.929</td>
<td>0.0148</td>
<td>0.0040</td>
<td>0.0491</td>
<td>t7</td>
<td>-</td>
<td>33.8</td>
<td>out</td>
</tr>
<tr>
<td>320</td>
<td>0.888</td>
<td>0.457</td>
<td>0.0090</td>
<td>0.0025</td>
<td>0.0224</td>
<td>t7</td>
<td>-</td>
<td>42.5</td>
<td>out</td>
</tr>
<tr>
<td>640</td>
<td>0.292</td>
<td>0.162</td>
<td>0.0035</td>
<td>0.0008</td>
<td>0.0068</td>
<td>t7</td>
<td>-</td>
<td>60.9</td>
<td>within</td>
</tr>
<tr>
<td>1280</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>95.3</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>sim_hz=640</code> - cheapest rung inside tolerance with every finer rung also inside it.</p>
<h3 id="pymunk-solver_iterations">pymunk: solver_iterations</h3>
<p>Constraint iterations per step in pymunk, Newton iterations per step in SuperDex.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>0.147</td>
<td>0.057</td>
<td>0.0017</td>
<td>0.0008</td>
<td>0.0013</td>
<td>t5</td>
<td>-</td>
<td>72.5</td>
<td>within</td>
</tr>
<tr>
<td>2</td>
<td>0.082</td>
<td>0.022</td>
<td>0.0014</td>
<td>0.0003</td>
<td>0.0003</td>
<td>t7</td>
<td>-</td>
<td>73.2</td>
<td>within</td>
</tr>
<tr>
<td>4</td>
<td>0.039</td>
<td>0.012</td>
<td>0.0008</td>
<td>0.0002</td>
<td>0.0002</td>
<td>t7</td>
<td>-</td>
<td>73.5</td>
<td>within</td>
</tr>
<tr>
<td>8</td>
<td>0.041</td>
<td>0.011</td>
<td>0.0009</td>
<td>0.0002</td>
<td>0.0003</td>
<td>t7</td>
<td>-</td>
<td>75.5</td>
<td>within</td>
</tr>
<tr>
<td>16</td>
<td>0.035</td>
<td>0.009</td>
<td>0.0008</td>
<td>0.0002</td>
<td>0.0002</td>
<td>t7</td>
<td>-</td>
<td>78.3</td>
<td>within</td>
</tr>
<tr>
<td>32</td>
<td>0.023</td>
<td>0.005</td>
<td>0.0005</td>
<td>0.0001</td>
<td>0.0002</td>
<td>t7</td>
<td>-</td>
<td>84.6</td>
<td>within</td>
</tr>
<tr>
<td>64</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>95.3</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>solver_iterations=1</code> - cheapest rung inside tolerance with every finer rung also inside it.</p>
<h3 id="pymunk-pusher_sides">pymunk: pusher_sides</h3>
<p>Polygon resolution of the pusher disc. Geometric discretisation of the contact patch.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>4</td>
<td>11.086</td>
<td>4.480</td>
<td>0.0435</td>
<td>0.0138</td>
<td>0.1717</td>
<td>t2</td>
<td>-</td>
<td>92.2</td>
<td>out</td>
</tr>
<tr>
<td>8</td>
<td>2.421</td>
<td>0.809</td>
<td>0.0103</td>
<td>0.0032</td>
<td>0.0271</td>
<td>t6</td>
<td>-</td>
<td>96.4</td>
<td>out</td>
</tr>
<tr>
<td>16</td>
<td>0.377</td>
<td>0.134</td>
<td>0.0032</td>
<td>0.0014</td>
<td>0.0051</td>
<td>t6</td>
<td>-</td>
<td>94.8</td>
<td>within</td>
</tr>
<tr>
<td>32</td>
<td>0.173</td>
<td>0.074</td>
<td>0.0022</td>
<td>0.0010</td>
<td>0.0007</td>
<td>t6</td>
<td>-</td>
<td>93.6</td>
<td>within</td>
</tr>
<tr>
<td>64</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>95.3</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>pusher_sides=16</code> - cheapest rung inside tolerance with every finer rung also inside it.</p>
<h3 id="pymunk-the-recommendation">pymunk: the recommendation</h3>
<table>
<thead>
<tr>
<th>knob</th>
<th>recommended</th>
<th>reference</th>
<th>ladder top</th>
<th>why</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>sim_hz</code></td>
<td>640</td>
<td>1280</td>
<td>1280</td>
<td>cheapest rung inside tolerance with every finer rung also inside it</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>1</td>
<td>64</td>
<td>64</td>
<td>cheapest rung inside tolerance with every finer rung also inside it</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>16</td>
<td>64</td>
<td>64</td>
<td>cheapest rung inside tolerance with every finer rung also inside it</td>
</tr>
</tbody>
</table>
<p>Verified jointly, not just knob by knob: at <code>sim_hz=640</code>, <code>solver_iterations=1</code>, <code>pusher_sides=16</code> the whole suite replays 0.468 units and 0.0034 rad from the reference at worst (t7), 0.252 units on average, no scenario diverged, 46.8 ms per episode against the reference's 95.3 ms (2.0x cheaper).</p>
<p><strong>What this replaces.</strong> The hand-picked <code>SimParams</code> defaults - <code>sim_hz=100</code>, <code>solver_iterations=10</code>, <code>pusher_sides=24</code> - score 2.720 units and 0.0224 rad from the reference at worst (t1) for 26.3 ms per episode. That is 3x the tolerance, at 0.56x the recommendation's cost - which is the whole reason this study exists.</p>
<p><strong>Agreement window.</strong> Over a full 120-step episode the recommended setting tracks the reference for 63 control steps (6.3 s) before the worst scenario (t2) drifts past 1 unit; the published defaults manage 5 steps (0.5 s). Per scenario: t1 106, t2 63, t3 120, t4 120, t5 120, t6 120, t7 120. The gap between those two numbers is the cost of the hand-picked defaults: an open-loop replay of a contact-rich push amplifies any disagreement, so a setting that is slightly wrong early is arbitrarily wrong later.</p>
<p>Not gratuitously conservative: <code>sim_hz=20</code>, <code>solver_iterations=1</code>, <code>pusher_sides=16</code> - the recommendation with one knob stepped back down - misses by 76.20 units on t3, 76x the tolerance. <code>tests/test_recommended.py</code> re-runs exactly that.</p>
<h2 id="superdex">superdex</h2>
<h3 id="superdex-rest-test-choosing-the-yardstick">superdex: rest test (choosing the yardstick)</h3>
<p>Pusher commanded to hold its starting position; the number is the worst distance the block travels anyway, over the suite. Scenario t7 starts with the pusher already overlapping the block, so some separation motion is unavoidable on any setting - the question is which rungs stay near that floor and which invent motion of their own. A rung that more than doubles the floor is not a yardstick others can be measured against, however small its step; it is still swept as a candidate if it is coarser than the one that is.</p>
<table>
<thead>
<tr>
<th>knob</th>
<th>value</th>
<th>block drift (u)</th>
<th>worst case</th>
<th>role</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>sim_hz</code></td>
<td>20</td>
<td>1.580</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>40</td>
<td>0.924</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>80</td>
<td>0.878</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>160</td>
<td>2.412</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>320</td>
<td>1.435</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>640</td>
<td>20.816</td>
<td>t7</td>
<td>rejected as yardstick</td>
</tr>
<tr>
<td><code>sim_hz</code></td>
<td>1280</td>
<td>71.488</td>
<td>t7</td>
<td>rejected as yardstick</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>1</td>
<td>10.541</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>2</td>
<td>5.161</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>4</td>
<td>6.652</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>8</td>
<td>3.491</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>16</td>
<td>5.180</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>32</td>
<td>0.698</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>64</td>
<td>0.666</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>4</td>
<td>44.334</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>8</td>
<td>3.482</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>16</td>
<td>6.407</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>32</td>
<td>4.380</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>64</td>
<td>1.476</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>1000</td>
<td>1.576</td>
<td>t7</td>
<td>swept</td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>10000</td>
<td>1.614</td>
<td>t7</td>
<td><strong>reference</strong></td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>100000</td>
<td>4.843</td>
<td>t7</td>
<td>rejected as yardstick</td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>1e+06</td>
<td>4.926</td>
<td>t7</td>
<td>rejected as yardstick</td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>1e+07</td>
<td>7.487</td>
<td>t7</td>
<td>rejected as yardstick</td>
</tr>
</tbody>
</table>
<ul>
<li>
<p><code>sim_hz</code> reference <strong>320</strong> - rejected as a yardstick: 160 (2.41 u of drift), 640 (20.82 u of drift), 1280 (71.49 u of drift) against a 0.88 u floor.</p>
</li>
<li>
<p><code>solver_iterations</code> reference <strong>64</strong> - rejected as a yardstick: 1 (10.54 u of drift), 2 (5.16 u of drift), 4 (6.65 u of drift), 8 (3.49 u of drift), 16 (5.18 u of drift) against a 0.67 u floor.</p>
</li>
<li>
<p><code>pusher_sides</code> reference <strong>64</strong> - rejected as a yardstick: 4 (44.33 u of drift), 8 (3.48 u of drift), 16 (6.41 u of drift), 32 (4.38 u of drift) against a 1.48 u floor.</p>
</li>
<li>
<p><code>contact_stiffness</code> reference <strong>10000</strong> - rejected as a yardstick: 100000 (4.84 u of drift), 1e+06 (4.93 u of drift), 1e+07 (7.49 u of drift) against a 1.58 u floor.</p>
</li>
</ul>
<p>Reference setting, each knob at the finest rung the rest test trusts: <code>sim_hz=320</code>, <code>solver_iterations=64</code>, <code>pusher_sides=64</code>, <code>contact_stiffness=10000</code>, <code>control_hz=10</code> - 200 ms per episode.</p>
<h3 id="superdex-sim_hz">superdex: sim_hz</h3>
<p>Physics steps per simulated second. The primary resolution knob: halving the step should stop changing the outcome once the run has converged.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>20</td>
<td>180.171</td>
<td>50.297</td>
<td>0.8758</td>
<td>0.3842</td>
<td>0.6847</td>
<td>t3</td>
<td>-</td>
<td>60.5</td>
<td>out</td>
</tr>
<tr>
<td>40</td>
<td>35.421</td>
<td>7.974</td>
<td>0.9430</td>
<td>0.2230</td>
<td>0.3199</td>
<td>t3</td>
<td>-</td>
<td>80.0</td>
<td>out</td>
</tr>
<tr>
<td>80</td>
<td>34.589</td>
<td>8.217</td>
<td>1.1268</td>
<td>0.2431</td>
<td>0.3216</td>
<td>t3</td>
<td>-</td>
<td>91.9</td>
<td>out</td>
</tr>
<tr>
<td>160</td>
<td>15.921</td>
<td>3.182</td>
<td>0.0646</td>
<td>0.0198</td>
<td>0.0638</td>
<td>t7</td>
<td>-</td>
<td>134.9</td>
<td>out</td>
</tr>
<tr>
<td>320</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>200.1</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>sim_hz=320</code> - no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom.</p>
<h3 id="superdex-solver_iterations">superdex: solver_iterations</h3>
<p>Constraint iterations per step in pymunk, Newton iterations per step in SuperDex.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>144.561</td>
<td>45.951</td>
<td>0.5520</td>
<td>0.2030</td>
<td>0.6847</td>
<td>t3</td>
<td>-</td>
<td>180.9</td>
<td>out</td>
</tr>
<tr>
<td>2</td>
<td>44.822</td>
<td>24.256</td>
<td>0.4384</td>
<td>0.1312</td>
<td>0.2548</td>
<td>t5</td>
<td>-</td>
<td>188.1</td>
<td>out</td>
</tr>
<tr>
<td>4</td>
<td>4.837</td>
<td>1.851</td>
<td>0.9530</td>
<td>0.1571</td>
<td>0.1321</td>
<td>t7</td>
<td>-</td>
<td>190.5</td>
<td>out</td>
</tr>
<tr>
<td>8</td>
<td>10.050</td>
<td>1.501</td>
<td>0.9726</td>
<td>0.1401</td>
<td>0.1300</td>
<td>t7</td>
<td>-</td>
<td>202.6</td>
<td>out</td>
</tr>
<tr>
<td>16</td>
<td>57.858</td>
<td>8.270</td>
<td>0.4119</td>
<td>0.0589</td>
<td>0.0047</td>
<td>t7</td>
<td>-</td>
<td>200.5</td>
<td>out</td>
</tr>
<tr>
<td>32</td>
<td>4.692</td>
<td>0.685</td>
<td>0.0021</td>
<td>0.0004</td>
<td>0.0157</td>
<td>t7</td>
<td>-</td>
<td>205.8</td>
<td>out</td>
</tr>
<tr>
<td>64</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>200.1</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>solver_iterations=64</code> - no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom.</p>
<h3 id="superdex-pusher_sides">superdex: pusher_sides</h3>
<p>Polygon resolution of the pusher disc. Geometric discretisation of the contact patch.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>4</td>
<td>200.194</td>
<td>49.483</td>
<td>2.4700</td>
<td>0.7145</td>
<td>0.3607</td>
<td>t7</td>
<td>-</td>
<td>186.0</td>
<td>out</td>
</tr>
<tr>
<td>8</td>
<td>36.120</td>
<td>8.288</td>
<td>0.3767</td>
<td>0.1073</td>
<td>0.3217</td>
<td>t3</td>
<td>-</td>
<td>198.0</td>
<td>out</td>
</tr>
<tr>
<td>16</td>
<td>3.684</td>
<td>1.045</td>
<td>0.0712</td>
<td>0.0177</td>
<td>0.0663</td>
<td>t3</td>
<td>-</td>
<td>196.6</td>
<td>out</td>
</tr>
<tr>
<td>32</td>
<td>1.370</td>
<td>0.355</td>
<td>0.0238</td>
<td>0.0056</td>
<td>0.0088</td>
<td>t7</td>
<td>-</td>
<td>200.4</td>
<td>out</td>
</tr>
<tr>
<td>64</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>200.1</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>pusher_sides=64</code> - no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom.</p>
<h3 id="superdex-contact_stiffness">superdex: contact_stiffness</h3>
<p>Penalty coefficient of the contact model. Too soft and the pusher sinks into the block; too stiff and the solver needs more iterations.</p>
<table>
<thead>
<tr>
<th>value</th>
<th>worst pos (u)</th>
<th>mean pos (u)</th>
<th>worst ang (rad)</th>
<th>mean ang (rad)</th>
<th>worst cov</th>
<th>worst case</th>
<th>diverged</th>
<th>ms/episode</th>
<th>verdict</th>
</tr>
</thead>
<tbody>
<tr>
<td>1000</td>
<td>15.788</td>
<td>5.346</td>
<td>1.0963</td>
<td>0.2493</td>
<td>0.2685</td>
<td>t7</td>
<td>-</td>
<td>208.3</td>
<td>out</td>
</tr>
<tr>
<td>10000</td>
<td>0.000</td>
<td>0.000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>0.0000</td>
<td>t7</td>
<td>-</td>
<td>200.1</td>
<td>within</td>
</tr>
</tbody>
</table>
<p>Chosen: <code>contact_stiffness=10000</code> - no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom.</p>
<h3 id="superdex-the-stepstiffness-corner">superdex: the step/stiffness corner</h3>
<p>Each sweep above holds the other knobs at their finest trustworthy rung, which is the most stable corner of the space - so a stiffness/step interaction cannot show up there. This grid puts them back together at the recommended solver effort and facet count, over the <em>whole</em> ladder of both knobs rather than only the rungs the rest test trusts: a blow-up is an absolute fact about a setting and is worth knowing wherever a user might go. Cells show the worst-case position error in units against the reference, or the scenarios that diverged; cells marked <code>~</code> use a rung the rest test rejected as a yardstick, so read their error as indicative and their stability as exact.</p>
<table>
<thead>
<tr>
<th>sim_hz \ contact_stiffness</th>
<th>1000</th>
<th>10000</th>
<th>100000</th>
<th>1e+06</th>
<th>1e+07</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>20 Hz</strong> (dt=0.0500 s)</td>
<td>180.171</td>
<td>180.171</td>
<td>~180.171</td>
<td><strong>diverged</strong>: t2</td>
<td><strong>diverged</strong>: t1, t2, t6, t7</td>
</tr>
<tr>
<td><strong>40 Hz</strong> (dt=0.0250 s)</td>
<td>15.429</td>
<td>35.421</td>
<td>~25.347</td>
<td>~70.265</td>
<td><strong>diverged</strong>: t1, t2, t3, t6, t7</td>
</tr>
<tr>
<td><strong>80 Hz</strong> (dt=0.0125 s)</td>
<td>21.643</td>
<td>34.589</td>
<td>~13.684</td>
<td>~51.493</td>
<td>~60.648</td>
</tr>
<tr>
<td><strong>160 Hz</strong> (dt=0.0063 s)</td>
<td>28.388</td>
<td>15.921</td>
<td>~13.706</td>
<td>~38.836</td>
<td>~65.862</td>
</tr>
<tr>
<td><strong>320 Hz</strong> (dt=0.0031 s)</td>
<td>15.788</td>
<td>0.000</td>
<td>~12.551</td>
<td>~36.175</td>
<td>~62.224</td>
</tr>
<tr>
<td><strong>640 Hz</strong> (dt=0.0016 s)</td>
<td>~23.995</td>
<td>~32.850</td>
<td>~146.344</td>
<td>~18.819</td>
<td>~65.316</td>
</tr>
<tr>
<td><strong>1280 Hz</strong> (dt=0.0008 s)</td>
<td>~24.253</td>
<td>~35.654</td>
<td>~206.280</td>
<td>~239.723</td>
<td>~62.130</td>
</tr>
</tbody>
</table>
<p><strong>Divergence boundary.</strong> Nothing diverges above 40 Hz (dt = 0.0250 s); at or below it the solver gives up once the contact is at least 1e+06 N/m stiff. Cell by cell: 20 Hz at stiffness 1e+06 diverges on t2; 20 Hz at stiffness 1e+07 diverges on t1, t2, t6, t7; 40 Hz at stiffness 1e+07 diverges on t1, t2, t3, t6, t7. The recommended rate sits 8x above that boundary and the recommended stiffness 100x below it. <code>tests/test_recommended.py</code> re-runs the diverging cell nearest safety (<code>sim_hz=40</code>, <code>contact_stiffness=1e+07</code>, <code>solver_iterations=64</code>, <code>pusher_sides=64</code>) and requires it to blow up, so this boundary cannot quietly become a claim about an engine that has since been fixed.</p>
<h3 id="superdex-the-recommendation">superdex: the recommendation</h3>
<table>
<thead>
<tr>
<th>knob</th>
<th>recommended</th>
<th>reference</th>
<th>ladder top</th>
<th>why</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>sim_hz</code></td>
<td>320</td>
<td>320</td>
<td>1280</td>
<td>no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom</td>
</tr>
<tr>
<td><code>solver_iterations</code></td>
<td>64</td>
<td>64</td>
<td>64</td>
<td>no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom</td>
</tr>
<tr>
<td><code>pusher_sides</code></td>
<td>64</td>
<td>64</td>
<td>64</td>
<td>no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom</td>
</tr>
<tr>
<td><code>contact_stiffness</code></td>
<td>10000</td>
<td>10000</td>
<td>1e+07</td>
<td>no cheaper rung held tolerance, so this is the reference itself - this knob has not demonstrated convergence, it has run out of headroom</td>
</tr>
</tbody>
</table>
<p>The recommendation is the reference setting itself: no cheaper rung of any ladder held tolerance, so this engine has no measured headroom on this suite. It costs 200.1 ms per episode. That is a real result, not a missing one - the tables above show every rung that was tried and by how much it missed.</p>
<p><strong>What this replaces.</strong> The hand-picked <code>SimParams</code> defaults - <code>sim_hz=100</code>, <code>solver_iterations=10</code>, <code>pusher_sides=24</code>, <code>contact_stiffness=100000</code> - score 24.831 units and 1.1244 rad from the reference at worst (t3) for 97.4 ms per episode. That is 25x the tolerance, at 0.49x the recommendation's cost - which is the whole reason this study exists.</p>
<p><strong>Agreement window.</strong> The recommendation <em>is</em> the reference here, so asking how long it tracks the reference is vacuous. The informative comparison is the published defaults: over a full 120-step episode they track it for 1 control steps (0.1 s) before t7 drifts past 1 unit. Per scenario: t1 11, t2 9, t3 23, t4 120, t5 17, t6 14, t7 1.</p>
<p>Not gratuitously conservative: <code>sim_hz=320</code>, <code>solver_iterations=64</code>, <code>pusher_sides=4</code>, <code>contact_stiffness=10000</code> - the recommendation with one knob stepped back down - misses by 200.19 units on t7, 200x the tolerance. <code>tests/test_recommended.py</code> re-runs exactly that.</p>
<h2 id="caveats">Caveats</h2>
<ul>
<li>
<p><strong>Held fixed.</strong> <code>control_hz</code> is pinned at 10 Hz throughout: it defines the task (how much authority the policy has) rather than the accuracy of the answer, so sweeping it would measure a different problem, not a finer one. Mass, density, friction and the pusher gains are held at their published values - they change the physics being simulated, so a difference there is sensitivity, not error, and there is nothing to converge to. SuperDex's <code>integration_method</code> stays at <code>bdf1</code>; BDF2 is a different integrator, not a finer rung of the same ladder, and mixing it in would make the sweep compare two things at once. <code>contact_damping</code> stays at its published 0: a damped contact would change the physics rather than resolve it, and the rest tables show what the undamped choice costs.</p>
</li>
<li>
<p><strong>The knobs interact.</strong> The single-knob tables hold everything else at the reference rung, which is the most forgiving corner of the space. The grid is where that shows: superdex blows up at sim_hz=20 with contact_stiffness=1e+06, a pair neither single-knob sweep can reach. A user who moves two knobs at once off these defaults is outside what was measured.</p>
</li>
<li>
<p><strong>The reference is a stand-in.</strong> Errors are measured against the rung the rest test trusts, not against truth. On this run on superdex the rest test rejects <code>sim_hz</code> past 320, <code>contact_stiffness</code> past 10000 as a yardstick, so those finest rungs are measured and reported but cannot be the yardstick. If a whole ladder shares a bias - a contact model that is systematically too soft, say - none of these tables can see it. The <code>compare_backends</code> harness is the cross-check for that: two engines sharing a bug is much less likely than one.</p>
</li>
<li>
<p><strong>One scenario carries the rest test.</strong> Every rest number above is scenario t7, because t7 is the only case whose starting pose puts the pusher inside the block; the other six sit still at every rung on both engines. How an engine resolves an initial overlap is a real property worth knowing - it is what disqualifies a rung as a yardstick here - but it is a different question from integration accuracy, and it is being answered by a sample of one.</p>
</li>
<li>
<p><strong>The driver hits hard.</strong> The scripted policy issues absolute position targets, and when it switches from circling the block to pushing it the target can jump most of the workspace in one control period. The pusher then arrives at over a metre per second, and a high-speed impact is the single most step-size-sensitive event in the whole task. It is what sets the rates above: pymunk needs 640 Hz against a published 100 Hz; superdex needs 320 Hz against a published 100 Hz. A gentler policy would need less of all of it.</p>
</li>
<li>
<p><strong>One horizon, one policy.</strong> Scoring is at 40 control steps (4 s) under the scripted policy, for the reason in the method section. The agreement window is the honest statement of how far that extends. The numbers are a floor on required fidelity, not a ceiling.</p>
</li>
<li>
<p><strong>Single sample per scenario.</strong> Scenarios are deterministic fixed poses, so repeats would be identical and there is no variance to report; the spread across the seven cases is doing the job a confidence interval would do elsewhere.</p>
</li>
<li>
<p><strong>Timings are machine-specific.</strong> Wall-clock milliseconds per episode were measured serially on one laptop CPU. The ratio between a setting and the reference travels; the absolute number does not.</p>
</li>
</ul></body></html>