Skip to content

[BUG]: Failing test cases #51

Description

@liunelson

We have three test cases for which Funman fails to produce expected results.

Case 1

I start with a simple SIR model and got a reasonable response from Funman. However, the parameter distributions in the contracted_model do not match with the parameter lower & upper bounds in the only true box (beta ~ [0.1, 0.49], gamma ~ [0.05, 0.355]). In fact, the contracted_model distributions appear to be identical to those from the input model.

Screenshot 2024-11-07 at 10 25 55 AM

response1.json

Case 2

Using the same settings as Case 1, except where the number of timesteps is increased from 5 to 6 (or any integer > 5), Funman responds with [] for all types of boxes.

Screenshot 2024-11-07 at 10 35 31 AM

response2.json

Case 3

Here, I use a non-normalized SIR model - that is, the state variables are in units of person, not dimensionless fractions of the total population. Funman responds with trajectories that do not correspond to those produced by pyciemss.sample.

For example, I(t = 35) should be around 1000, not 400.
Screenshot 2024-11-07 at 10 49 41 AM

response3.json

Case 4

This request, which seems to perfectly acceptable, causes Funman to hang forever for no apparent reason.

request4.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions