bradbell / at_cascade

Cascading Dismod_at Analysis From Parent To Child Regions
https://at-cascade.readthedocs.io
4 stars 3 forks source link

Test file example/csv/prior_pred.py #21

Closed ntemiq closed 1 month ago

ntemiq commented 1 month ago

Generate passing test file for prior prediction logic.

The file at_cascade/csv/predict_prior.py is a placeholder function for the logic of performing the prior prediction. The final version of the logic will be implemented in the csv.predict module

bradbell commented 1 month ago

I think that we should remove breaking up the computation from this example. The following example demonstrates that https://at-cascade.readthedocs.io/csv.break_fit_pred.html

No reason to add that complexity to example/csv/prior_pred.py

P.S. As a first step I set breakup_computation to False (and got an error). Once that is fixed, the next step would be to remove the code that does not get used when breakup_computation is False.

P.P.S. I tried running bin/run_xrst.sh and got an error (it would also come up during bin/check_all.sh).

ntemiq commented 1 month ago

This is a duplicate request of PR #17 Closing and moving to that thread