text stringlengths 0 953 |
|---|
PASSED ::test_j0_spectrum_matches_analytic_morse |
PASSED ::test_kratzer_and_pekeris_relations |
PASSED ::test_isotopologue_mass_scaling |
PASSED ::test_width_falls_with_barrier_action |
PASSED ::test_no_leaked_reference_artifacts |
FAILED ::test_each_config_matches_independent_recompute - AssertionError: con... |
FAILED ::test_held_out_solver_generalizes - AssertionError: HELD-OUT (De=0.04... |
==================== 2 failed, 8 passed in 91.96s (0:01:31) ==================== |
============================= 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 10 items |
::test_frozen_instance_untampered PASSED [ 10%] |
::test_results_present_and_complete PASSED [ 20%] |
::test_solver_is_a_real_computation PASSED [ 30%] |
::test_each_config_matches_independent_recompute PASSED [ 40%] |
::test_j0_spectrum_matches_analytic_morse PASSED [ 50%] |
::test_kratzer_and_pekeris_relations PASSED [ 60%] |
::test_isotopologue_mass_scaling PASSED [ 70%] |
::test_width_falls_with_barrier_action PASSED [ 80%] |
::test_held_out_solver_generalizes FAILED [ 90%] |
::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 De, a, re_eq, mu, v, J in HIDDEN_CONFIGS: |
proc = subprocess.run( |
[sys.executable, str(SOLVER), str(De), str(a), str(re_eq), str(mu), str(v), str(J)], |
capture_output=True, |
text=True, |
timeout=600, |
) |
> assert proc.returncode == 0, f"agent solver failed on hidden ({De},{a},{re_eq},{mu},{v},{J}): {proc.stderr[-800:]}" |
E AssertionError: agent solver failed on hidden (0.0812,1.553,2.887,12655.0,28,8): /root/output/solve_config.py:198: RuntimeWarning: invalid value encountered in sqrt |
E k = np.sqrt(2 * mu * (E - De)) |
E Traceback (most recent call last): |
E File "/root/output/solve_config.py", line 299, in <module> |
E main() |
E File "/root/output/solve_config.py", line 244, in main |
E r3 = brentq(lambda r: V_eff_star(r) - E_res_computed, r_barrier, 45.0) |
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E File "/usr/local/lib/python3.12/site-packages/scipy/optimize/_zeros_py.py", line 806, in brentq |
E r = _zeros._brentq(f, a, b, xtol, rtol, maxiter, args, full_output, disp) |
E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
E ValueError: f(a) and f(b) must have different signs |
E |
E assert 1 == 0 |
E + where 1 = CompletedProcess(args=['/usr/local/bin/python3', '/root/output/solve_config.py', '0.0812', '1.553', '2.887', '12655.0', '28', '8'], returncode=1, stdout='', stderr='/root/output/solve_config.py:198: RuntimeWarning: invalid value encountered in sqrt\n k = np.sqrt(2 * mu * (E - De))\nTraceback ... |
/verifier/test_outputs.py:663: AssertionError |
==================================== 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_config_matches_independent_recompute |
PASSED ::test_j0_spectrum_matches_analytic_morse |
PASSED ::test_kratzer_and_pekeris_relations |
PASSED ::test_isotopologue_mass_scaling |
PASSED ::test_width_falls_with_barrier_action |
PASSED ::test_no_leaked_reference_artifacts |
FAILED ::test_held_out_solver_generalizes - AssertionError: agent solver fail... |
=================== 1 failed, 9 passed in 121.35s (0:02:01) ==================== |
============================= 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 10 items |
::test_frozen_instance_untampered PASSED [ 10%] |
::test_results_present_and_complete PASSED [ 20%] |
::test_solver_is_a_real_computation PASSED [ 30%] |
::test_each_config_matches_independent_recompute PASSED [ 40%] |
::test_j0_spectrum_matches_analytic_morse PASSED [ 50%] |
::test_kratzer_and_pekeris_relations PASSED [ 60%] |
::test_isotopologue_mass_scaling PASSED [ 70%] |
::test_width_falls_with_barrier_action PASSED [ 80%] |
::test_held_out_solver_generalizes PASSED [ 90%] |
::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_config_matches_independent_recompute |
PASSED ::test_j0_spectrum_matches_analytic_morse |
PASSED ::test_kratzer_and_pekeris_relations |
PASSED ::test_isotopologue_mass_scaling |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.