Challenge: Extend the Timeseries example
You have now learned everything you need to know to upload Rules and Programs, and to debug them.
The next step is to learn how to combine multiple Rules and Programs together.
The following pages will give examples for this, but before that it is time for a challenge:
It is possible to extend the example here. If the user unticks the parameter use_inbuilt_visualization in the Option, then a demo_a_simple_timeseries_prediction_need_visualization Tag will be created.
The challenge is to create a Rule that reacts to this Tag, and a Program that is executed to deal with it.
If you try this challenge, you will have to:
- Define a Scenario Plan that is like the Scenario Plan (Tutorial) Demo of a simple timeseries prediction, but also includes your own extension.
- A Rule that works alongside the Rule used by that example, but only triggers when a demo_a_simple_timeseries_prediction_need_visualization Tag is signalled and calls a Program with the files attached to that Tag.
- A Program that can take the timeseries data from the Tag and create a visualization for it. Bonus points if your visualization is in HTML and looks nicer than the default visualization.
Good luck, and if you have any questions, feel free to ask on the forum!