src/dazzle_back/pra/profiles.py¶
Generated: 2026-03-30T04:38:46.562554+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Load profiles for PRA stress testing.
Defines various load shapes as specified in the PRA specification: - Steady Ramp: Gradual increase to peak load - Burst: Sudden spike (≥10× baseline) for short duration - Skewed Burst: Burst focused on a small key set - Failure Injection: Partial downstream fai...
Key Exports¶
LoadPhaseLoadStateLoadProfileSteadyRampProfileBurstProfileSkewedBurstProfileFailureInjectionProfileReplayProfilecreate_quick_test_profilecreate_standard_test_profilecreate_extended_test_profilenametotal_duration_secondsget_stateis_completenametotal_duration_secondsget_statenametotal_duration_seconds
Dependencies¶
Imports¶
__future__.annotationsabc.ABCabc.abstractmethoddataclasses.dataclassdataclasses.fieldenum.StrEnumtyping.Any
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_pra_cli.pytests/unit/test_pra_harness.pytests/unit/test_pra_metrics.pytests/unit/test_pra_load_generator.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.