tests/live/reference_block.py: MOVED, GAP and GAP_MIRRORED each the geometric mean of the scene's reading and its least mutant's (FAIR 0.05 run through the script in Blender 5.3: 0.0565, 0.0288, 0.0534 against 0.0048, 0.0027, 0.0140); its last run

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-03 11:11:38 +01:00
commit e98b6a4da1
2 changed files with 8 additions and 7 deletions

View file

@ -11,7 +11,8 @@ side is traced in both views where Blender's own projection draws the side as co
fit_shell with the returned fit_traces on the built plate: accepted, every trace explained, and no point
moved over MOVED (fairness holds a bowed side in and fit_shell's own prior lets it out:
tests/test_reference.py test_the_blocking_goes_to_the_parser_and_to_fit_shell reads 74 mm of
it where a pixel is 27 mm; here a pixel is 5 mm)
it where a pixel is 27 mm; here a pixel is 5 mm). MOVED, GAP and GAP_MIRRORED each stand between
this scene's reading and a mutant's
mirrored a mirrored plate with two seam corners, traced the same way: the seam stays on x = 0,
brokkr_kitbash.shell builds both halves, and Blender builds the seam's side and a free side where
core.crease_run says
@ -69,7 +70,7 @@ R = {"blender": bpy.app.version_string, "checks": [], "hostErrors": target.host_
COUNT = [0]
T0 = time.time()
WIDTH, HEIGHT = 1000, 800
MOVED, GAP, GAP_MIRRORED = 0.01, 0.01, 0.03 # metres, tolerances round this scene's readings (0.0048, 0.0027, 0.014; a pixel is 5 mm here): what fit_shell may move a point of the blocked plate, and how far the blocked crowns may stand from their truths
MOVED, GAP, GAP_MIRRORED = 0.0165, 0.0088, 0.0273 # metres, each the geometric mean of this scene's reading and its least mutant's (lodur:ruling:deterministic-bound-margin), the mutants run through this script on a copy of the surface: fit_shell moves a point of the blocked plate 0.0048 (FAIR 0.05: 0.0565), the blocked crown stands 0.0027 from its truth (FAIR 0.05: 0.0288), the mirrored crown 0.0140 (FAIR 0.05: 0.0534; no end terms: 0.0646). Separations 3.4, 3.3 and 1.95 each side. A pixel is 5 mm here and the traces are exact, where weaker fairness reads nearer (FAIR 0.5: 0.0011, 0.0018, 0.0054): tests/test_reference.py test_fairness_is_set_by_the_rendered_roof says why 0.2 stands
def check(name, ok, detail=None):

View file

@ -55,8 +55,8 @@
]
],
"rounds": 2,
"seconds": 0.301,
"chars": 7242
"seconds": 0.137,
"chars": 7703
}
},
{
@ -65,7 +65,7 @@
"detail": null
},
{
"name": "the blocked crown as built stands within 0.01 m of the truth's",
"name": "the blocked crown as built stands within 0.0088 m of the truth's",
"ok": true,
"detail": 0.002711610846938251
},
@ -75,14 +75,14 @@
"detail": 1.1421151381392388e-07
},
{
"name": "fit_shell takes the returned fit_traces on the built plate: accepted, every trace explained, no point moved over 0.01 m",
"name": "fit_shell takes the returned fit_traces on the built plate: accepted, every trace explained, no point moved over 0.0165 m",
"ok": true,
"detail": {
"moved_m": 0.0048
}
},
{
"name": "a mirrored plate: the seam's corners are decided by the mirror plane, its side stays on x = 0, and the crown as built stands within 0.03 m of the truth's",
"name": "a mirrored plate: the seam's corners are decided by the mirror plane, its side stays on x = 0, and the crown as built stands within 0.0273 m of the truth's",
"ok": true,
"detail": {
"gap": 0.013972102623404082,