Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
0
251
ANTI_TAMPER: verifier integrity preflight passed
============================= test session starts ==============================
platform linux -- Python 3.12.13, pytest-8.4.2, pluggy-1.6.0 -- /usr/local/bin/python3
rootdir: /root
configfile: ../dev/null
plugins: json-ctrf-0.3.5
collecting ... collected 10 items
../root::test_artifacts_parse_and_have_declared_schemas FAILED [ 10%]
../root::test_transient_window_and_interval_counts PASSED [ 20%]
../root::test_all_channel_interval_statistics_match_independent_reduction PASSED [ 30%]
../root::test_background_subtraction_uncertainty_and_fit_membership FAILED [ 40%]
../root::test_weighted_tail_fit_matches_independent_solution FAILED [ 50%]
../root::test_bootstrap_trace_and_reported_interval_are_reproducible PASSED [ 60%]
../root::test_transient_tail_has_the_expected_physical_structure PASSED [ 70%]
../root::test_scientific_figure_matches_submitted_series_fit_and_band FAILED [ 80%]
../root::test_figure_contract_accepts_flexible_wording_and_dimensions PASSED [ 90%]
../root::test_adversarial_figure_shortcuts_are_rejected FAILED [100%]
=================================== FAILURES ===================================
________________ test_artifacts_parse_and_have_declared_schemas ________________
def test_artifacts_parse_and_have_declared_schemas() -> None:
analysis, slopes, report = load_submission()
reference = independent_reference()
assert len(analysis) == len(reference["rows"]) == 138
assert list(analysis[0]) == ANALYSIS_COLUMNS
assert len(slopes) == reference["events"]["precursor"]["fit"]["bootstrap_iterations"]
assert list(slopes[0]) == [
"iteration",
"precursor_spectral_index_p",
"primary_spectral_index_p",
"delta_p_second_minus_first",
]
assert [int(row["iteration"]) for row in slopes] == list(range(len(slopes)))
assert report["schema_version"] == "1.0"
assert set(report) == {
"schema_version",
"events",
"comparison",
"curvature",
}
assert set(report["events"]) == set(EVENT_IDS)
for event_id in EVENT_IDS:
event_report = report["events"][event_id]
assert set(event_report) == {"transient_window", "fit"}
assert set(event_report["transient_window"]) == {
"center_utc",
"start_utc",
"end_utc",
}
assert set(event_report["fit"]) == FIT_FIELDS
assert all(
math.isfinite(float(row[f"{event_id}_spectral_index_p"]))
for row in slopes
)
assert set(report["comparison"]) == {
"first_event_id",
"second_event_id",
"delta_definition",
"n_common_points",
"delta_p_second_minus_first",
"delta_gls_p_second_minus_first",
"delta_method_shift",
"bootstrap_median_delta_p",
"bootstrap_ci95_low_delta_p",
"bootstrap_ci95_high_delta_p",
"bootstrap_probability_delta_positive",
}
assert all(
math.isfinite(float(row["delta_p_second_minus_first"]))
for row in slopes
)
curvature = read_csv(ROOT / "curvature_profile.csv")
assert curvature
assert list(curvature[0]) == CURVATURE_COLUMNS
assert len(curvature) == (
reference["curvature"]["candidate_count"]
+ reference["curvature"]["loo_count"]
)
assert set(report["curvature"]) == {
"event_id",
"candidate_count",
"best_break_energy_kev",
"spectral_index_below",
"spectral_index_above",
"log10_intensity_at_break",
"chi_square",
"reduced_chi_square",
"aicc",
"single_power_law_aicc",
"delta_aicc_broken_minus_single",
"loo_count",
"loo_break_median_kev",
"loo_break_min_kev",
"loo_break_max_kev",
"loo_softening_fraction",
}
> image, manifest = load_figure()
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
452