STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_layerx_limits.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_layerx_limits

Functions

 test_layerx_limits._saved_burns ()
 test_layerx_limits._by_key (entries)
 test_layerx_limits._ui_verdict (result)
 test_layerx_limits.test_the_reference_run_matches_the_audits_hand_worked_worst_times ()
 test_layerx_limits.test_the_worst_index_points_at_the_graded_value (name, result)
 test_layerx_limits._result (n=8, dt=0.05)
 test_layerx_limits.test_a_burn_with_nothing_to_grade_grades_nothing ()
 test_layerx_limits.test_chug_from_the_stability_diagnostics_grades_the_settled_minimum_and_reports_the_start ()
 test_layerx_limits.test_chug_margin_is_red_below_one_and_amber_below_one_point_two (margin, expect)
 test_layerx_limits.test_the_chug_amber_edge_follows_a_requirement_above_one_point_two_but_never_below_it ()
 test_layerx_limits.test_a_drawing_basis_run_without_its_stability_block_does_not_grade_the_config_margin ()
 test_layerx_limits.test_the_delivered_chug_minimum_maps_onto_the_series_by_firing_step ()
 test_layerx_limits.test_stiffness_band_edges_and_the_rule_of_thumb_without_a_band ()
 test_layerx_limits.test_stiffness_worst_time_ignores_the_first_fifth_of_a_second ()
 test_layerx_limits.test_tank_peak_against_mawp_meop_and_the_design_cap ()
 test_layerx_limits.test_a_design_cap_the_design_never_stated_is_reported_not_graded ()
 test_layerx_limits.test_bottle_sag_and_depletion_edges ()
 test_layerx_limits.test_a_burn_that_never_ran_dry_says_so ()
 test_layerx_limits.test_a_vessel_trip_is_red_at_its_instant ()
 test_layerx_limits.test_diagnostics_blocks_are_graded_when_present_and_skipped_when_absent ()
 test_layerx_limits.test_cavitation_is_red_once_the_orifice_cavitates_and_amber_near_it (ratio, expect)
 test_layerx_limits.test_a_stated_flag_margin_moves_the_saturation_amber_edge ()
 test_layerx_limits.test_separation_from_the_hardware_block_and_schmucker_as_amber ()
 test_layerx_limits.test_nozzle_separation_from_the_delivered_exit_pressure ()
 test_layerx_limits.test_flight_limits_fall_back_to_the_competition_rules ()
 test_layerx_limits.test_requirements_are_read_from_the_recorded_yaml_without_a_config ()
 test_layerx_limits.test_a_malformed_block_costs_only_its_own_grades ()
 test_layerx_limits.test_every_entry_carries_the_contract_keys ()

Variables

str test_layerx_limits.RUNS = Path(__file__).resolve().parents[1] / ".userdata" / "local" / "engine" / "layerx" / "runs"
str test_layerx_limits.REFERENCE = RUNS / "20261002-231658-7e47d1.json"
float test_layerx_limits.PSI = 6894.757293168361
 test_layerx_limits.SAVED = _saved_burns()
 test_layerx_limits.needs_saved = pytest.mark.skipif(not SAVED, reason="no saved Layer X burns in .userdata (the user's runs)")
dict test_layerx_limits.VERDICT
dict test_layerx_limits.SERIES_BACKED