Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
102
============================= 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 12 items
::test_artifacts_and_schema FAILED [ 8%]
::test_cerenkov_geometry FAILED [ 16%]
::test_field_waveform_pointwise FAILED [ 25%]
::test_field_invariants FAILED [ 33%]
::test_peak_field_and_units FAILED [ 41%]
::test_spectrum_peak FAILED [ 50%]
::test_radiated_energy FAILED [ 58%]
::test_3d_dipole_geometry FAILED [ 66%]
::test_3d_sum_rule FAILED [ 75%]
::test_3d_field_waveform FAILED [ 83%]
::test_3d_peak_and_energy FAILED [ 91%]
::test_3d_spectrum_and_interlock FAILED [100%]
=================================== FAILURES ===================================
__________________________ test_artifacts_and_schema ___________________________
def test_artifacts_and_schema():
> assert RESULTS.exists() and stat.S_ISREG(RESULTS.lstat().st_mode) and not RESULTS.is_symlink()
E AssertionError: assert (False)
E + where False = exists()
E + where exists = PosixPath('/root/results.json').exists
/verifier/test_outputs.py:126: AssertionError
____________________________ test_cerenkov_geometry ____________________________
def test_cerenkov_geometry():
"""gamma = sqrt(eps_THz) * v/c (THz index, NOT optical); theta_c=acos(1/gamma)."""
> r = R()
^^^
/verifier/test_outputs.py:154:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/verifier/test_outputs.py:118: in R
return json.loads(RESULTS.read_text())
^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/pathlib.py:1027: in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/root/results.json'), mode = 'r', buffering = -1
encoding = 'locale', errors = None, newline = None
def open(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None):
"""
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
"""
if "b" not in mode:
encoding = io.text_encoding(encoding)
> return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E FileNotFoundError: [Errno 2] No such file or directory: '/root/results.json'
/usr/local/lib/python3.12/pathlib.py:1013: FileNotFoundError
________________________ test_field_waveform_pointwise _________________________
def test_field_waveform_pointwise():
"""The returned E_c(z) must match Eq.19 on its own grid (shape+sign+units)."""
> r = R()
^^^
/verifier/test_outputs.py:162:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/verifier/test_outputs.py:118: in R
return json.loads(RESULTS.read_text())
^^^^^^^^^^^^^^^^^^^
/usr/local/lib/python3.12/pathlib.py:1027: in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/root/results.json'), mode = 'r', buffering = -1
encoding = 'locale', errors = None, newline = None
def open(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None):
"""
Open the file pointed to by this path and return a file object, as
the built-in open() function does.
"""
if "b" not in mode:
encoding = io.text_encoding(encoding)
> return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E FileNotFoundError: [Errno 2] No such file or directory: '/root/results.json'
/usr/local/lib/python3.12/pathlib.py:1013: FileNotFoundError
____________________________ test_field_invariants _____________________________
def test_field_invariants():
"""Model-independent: single-cycle wave is ODD about the Cerenkov surface,
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
40