REQ-INFER-001: Backend lifecycle is a three-state machine with gated generation¶
What it requires
- Given a COLD backend, When load/activate/deactivate/unload are driven in valid and invalid orders, Then the observed state follows the documented machine and repeated calls are no-ops.
- Given a non-ACTIVE backend, When any generation or evaluation entry point is called, Then it returns ENTROPIC_ERROR_INVALID_STATE and never crashes.
- Given a failing do_load, Then the backend remains COLD.
- tier
- NOT_RUN
How it is met
Implemented by
entropic_inference_generatesrc/inference/inference_c_api.cpp:317entropic_inference_generate_with_cancelsrc/inference/inference_c_api.cpp:437
Tests (10)
Reached through calls
10 tests: 10 absent