STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_switch_warnings Namespace Reference

Functions

dict _switch (str email, str start, **body)
 test_a_clean_injector_swap_is_not_a_seed_but_its_stale_fluids_are_said ()
 test_a_propellant_overlay_is_a_seed_and_only_that ()

Variables

 REPO = Path(__file__).resolve().parents[1]

Detailed Description

POST /api/config/switch says "needs re-optimization" only when the chamber is a seed.

The selector shows ``design_warning`` as "needs re-optimization" (ConfigurationSelector.tsx; the
SwitchResponse contract: null after a clean injector swap, canonical configs being coherent).
3c04b16b folded the fluid-preset drift into design_staleness, so a clean swap to pintle -- whose
canonical config carries the old LOX block -- read "needs re-optimization" for a chamber that is
the right one. The drift now comes back on its own, as ``fluid_warning``.

Function Documentation

◆ _switch()

dict test_switch_warnings._switch ( str email,
str start,
** body )
protected

◆ test_a_clean_injector_swap_is_not_a_seed_but_its_stale_fluids_are_said()

test_switch_warnings.test_a_clean_injector_swap_is_not_a_seed_but_its_stale_fluids_are_said ( )

Definition at line 36 of file test_switch_warnings.py.

References _switch().

◆ test_a_propellant_overlay_is_a_seed_and_only_that()

test_switch_warnings.test_a_propellant_overlay_is_a_seed_and_only_that ( )

Definition at line 45 of file test_switch_warnings.py.

References _switch().

Variable Documentation

◆ REPO

test_switch_warnings.REPO = Path(__file__).resolve().parents[1]

Definition at line 21 of file test_switch_warnings.py.