text stringlengths 0 193 |
|---|
============================= test session starts ============================== |
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3 |
rootdir: /app |
configfile: ../dev/null |
plugins: json-ctrf-0.3.5 |
collecting ... collected 8 items |
::test_frozen_instance_untampered PASSED [ 12%] |
::test_results_present_and_complete PASSED [ 25%] |
::test_solver_is_a_real_computation PASSED [ 37%] |
::test_each_instance_config_matches_recompute PASSED [ 50%] |
::test_near_contact_law PASSED [ 62%] |
::test_physics_invariants_across_configs PASSED [ 75%] |
::test_held_out_solver_generalizes PASSED [ 87%] |
::test_no_leaked_reference_artifacts PASSED [100%] |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ::test_frozen_instance_untampered |
PASSED ::test_results_present_and_complete |
PASSED ::test_solver_is_a_real_computation |
PASSED ::test_each_instance_config_matches_recompute |
PASSED ::test_near_contact_law |
PASSED ::test_physics_invariants_across_configs |
PASSED ::test_held_out_solver_generalizes |
PASSED ::test_no_leaked_reference_artifacts |
============================== 8 passed in 4.69s =============================== |
============================= test session starts ============================== |
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3 |
rootdir: /app |
configfile: ../dev/null |
plugins: json-ctrf-0.3.5 |
collecting ... collected 8 items |
::test_frozen_instance_untampered PASSED [ 12%] |
::test_results_present_and_complete PASSED [ 25%] |
::test_solver_is_a_real_computation PASSED [ 37%] |
::test_each_instance_config_matches_recompute PASSED [ 50%] |
::test_near_contact_law PASSED [ 62%] |
::test_physics_invariants_across_configs PASSED [ 75%] |
::test_held_out_solver_generalizes PASSED [ 87%] |
::test_no_leaked_reference_artifacts PASSED [100%] |
==================================== PASSES ==================================== |
=========================== short test summary info ============================ |
PASSED ::test_frozen_instance_untampered |
PASSED ::test_results_present_and_complete |
PASSED ::test_solver_is_a_real_computation |
PASSED ::test_each_instance_config_matches_recompute |
PASSED ::test_near_contact_law |
PASSED ::test_physics_invariants_across_configs |
PASSED ::test_held_out_solver_generalizes |
PASSED ::test_no_leaked_reference_artifacts |
============================== 8 passed in 4.62s =============================== |
============================= test session starts ============================== |
platform linux -- Python 3.12.13, pytest-8.4.1, pluggy-1.6.0 -- /usr/local/bin/python3 |
rootdir: /app |
configfile: ../dev/null |
plugins: json-ctrf-0.3.5 |
collecting ... collected 8 items |
::test_frozen_instance_untampered PASSED [ 12%] |
::test_results_present_and_complete PASSED [ 25%] |
::test_solver_is_a_real_computation PASSED [ 37%] |
::test_each_instance_config_matches_recompute PASSED [ 50%] |
::test_near_contact_law PASSED [ 62%] |
::test_physics_invariants_across_configs PASSED [ 75%] |
::test_held_out_solver_generalizes FAILED [ 87%] |
::test_no_leaked_reference_artifacts PASSED [100%] |
=================================== FAILURES =================================== |
_______________________ test_held_out_solver_generalizes _______________________ |
def test_held_out_solver_generalizes(): |
"""Run the agent's own solver on hidden configurations and grade against the |
independent recompute. Hardcoded / instance-specific solvers fail here.""" |
assert SOLVER.is_file(), "Missing solver" |
LOGS.mkdir(parents=True, exist_ok=True) |
records = [] |
for gR in HIDDEN_SPHERE_PLANE: |
payload = _run_solver(["sphere_plane", repr(gR)]) |
payload.setdefault("g_over_R", gR) |
check_sphere_plane(payload, gR, f"HELD-OUT sphere_plane g/R={gR}") |
records.append({"kind": "sphere_plane", "g_over_R": gR, "ok": True}) |
for (R2, gap) in HIDDEN_SPHERE_PAIR: |
payload = _run_solver(["sphere_pair", repr(R2), repr(gap)]) |
check_sphere_pair(payload, R2, gap, f"HELD-OUT sphere_pair R2/R1={R2}, gap/R1={gap}") |
records.append({"kind": "sphere_pair", "R2_over_R1": R2, "gap_over_R1": gap, "ok": True}) |
for (gR, eps) in HIDDEN_DIELECTRIC_PLANE: |
payload = _run_solver(["dielectric_plane", repr(gR), repr(eps)]) |
> check_dielectric_plane(payload, gR, eps, f"HELD-OUT dielectric_plane g/R={gR}, eps={eps}") |
/verifier/test_outputs.py:516: |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ |
rec = {'C_dielectric_norm': 1.8065547231634649, 'F_dielectric_norm': 6.8299648965357855, 'N_dielectric_images': 50, 'conductor_limit_dev': 7.27959931761292e-15, ...} |
gR = 0.0147, eps = 7.2, where = 'HELD-OUT dielectric_plane g/R=0.0147, eps=7.2' |
def check_dielectric_plane(rec, gR, eps, where): |
ref = ref_dielectric_plane(gR, eps) |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 51