Skip to content

DecoySource ​

The source-model register: the ideal source is the default, and the three source-side idealisations refuse by name

3/3 passed in 0ms

TestWhat it doesResult
test_default_idealOmitting source, passing None and passing "ideal" give identical results.✅ pass
test_refusals_directionEvery refusal states the direction of the error it prevents.✅ pass
test_reject_sourcesEvery entry point refuses the discrete-phase, intensity-error and correlated sources, and an unknown name lists the register rather than falling back to the ideal source.✅ pass