Conversation
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Documentation build overview
Show files changed (2 files in total): 📝 2 modified | ➕ 0 added | ➖ 0 deleted
|
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
…dated Signed-off-by: F.N. Claessen <claessen@seita.nl>
…ters Signed-off-by: F.N. Claessen <claessen@seita.nl>
…ycle job Signed-off-by: F.N. Claessen <claessen@seita.nl>
|
Thanks. I also pushed some changes to the test myself now, which now covers the case where more than 1 cycle is asked, thereby resulting in a wrap-up job being returned. We did not cover that yet. There was also a mistake in an if-statement in the test that resulted in us checking each item in an empty list of The new test case unexpectedly failed on creating 3 forecasts instead of the expected 2 (one per cycle). Could you please investigate why? From inspecting the |
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
… pipeline Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
…ecasts Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
…rity Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
I investigated this. The extra forecast comes from viewpoints within each cycle. In this case:
That gives these forecasted events:
This is also why: with most_recent_beliefs_only=True, you see 3 rows, because the two beliefs for to more correctly test which forecasts are being saved into the sensor i set |
|
Thank you for the clear explanation. That almost clears it up for me completely. Two lingering doubts: Why does the second cycle have a viewpoint exactly at the end? That feels odd to me. The only case where that would actually make sense to me is when forecasting an instantaneous sensor (for which the last event in the predict period is exactly at the end). And, if the end is meant to be included, why does the first cycle not include the end? That looks inconsistent, doesn't it? |
yes true the last viewpoint we should see is |
Description
This PR includes several small fixes and improvements to the forecasting pipeline jobs:
TypeError: Job.__init__() missing 1 required argument: 'connection'raised by the wrap-up job.test_forecasting_pipeline.pyto correctly test how many forecasts generated in case of multiple cyclesThese changes ensure that forecasting jobs run correctly and that job metadata returned by the pipeline is clearer and easier to interpret.
Sign-off