test_reference: say where the unbounded-focal mutant died

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-02 19:21:12 +01:00
commit 263236ba4d

View file

@ -10,7 +10,7 @@ tolerances round a known truth that no mutant claims. The mutants, each run once
M1 plain squares for the pseudo-Huber loss test_one_point_60_px_off_does_not_turn_the_camera
M2 auto chooses by in-sample rms test_auto_takes_the_model_that_predicts_left_out_points
M3 the lens walk restarts from the grid test_the_band_is_walked_from_the_last_solve
M4 no bound on the focal length test_long_lenses_stay_finite_and_inside_the_range
M4 no bound on the focal length SolveTests.setUpClass (OverflowError), before test_long_lenses_stay_finite_and_inside_the_range
M5 shift_y's sign flipped in blender() test_blender_params_draw_the_same_pixels
M6 the turned group is not turned test_a_turned_torso_is_recovered_as_twist
M7 square holds the yaw along y only test_square_solves_elevations_along_both_axes
@ -150,7 +150,8 @@ class SolveTests(unittest.TestCase):
def test_long_lenses_stay_finite_and_inside_the_range(self):
"""long-lens-bounded, M4: with no bound the 400 mm view on a build 4 cm off runs log f to OverflowError and
the orthographic one reads 20208 mm."""
the orthographic one reads 20208 mm; so does one start of the oblique solve in setUpClass, which is where
the mutant run died (every test of this class with it)."""
for lens in (135, 400):
cam = camera(self.points, 35, 20, lens)
for build in (0.0, 0.04):