You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IDProblem has no way to state its infection shape explicitly #364
IDModel takes its shape as an argument (as_turing_model(model, y_t, n)), so a caller who wants a stratum count neither the observation chain nor the data can supply has a route. IDProblem has no equivalent: the shape is always resolved from the observation model plus data.y_t.
After #363 that resolution is a lot better behaved. The chain states what it can, and the data speaks only along the axis the component consuming it calls a stream axis. So there is no known case today that needs the escape hatch, which is why #363 did not add one.
It is worth adding if a case turns up. The obvious shape is an optional field on IDProblem, and the thing to be careful about is type stability: a Union{Int, Nothing} field read inside the model body is a runtime branch on a small union in a @model, so the count would have to be a type parameter rather than a plain field.
This was opened by a bot. Please ping @seabbs for any questions.
Activity