Open atalyaalon opened 4 years ago
@assafdayan and @dinasv I suggest with starting with rules that use only the data itself and NOT the newsflash tags. Later on we'll add the newsflash tags information and decide how this affects us.
Also - we can start by dividing the widgets to urban / non urben / both - the newsflash resolution that already exists can help us which choosing the relevant widgets - which can be an initial good filtering that does not relate to the accidents data itself yet (road resolution vs street resolution)
Technical question - @ziv17 we discussed on removing the rank field and just sort the widgets by importance order (that's how FE is sorting widgets nowadays - by order rather than the rank field) @assafdayan and @dinasv is this acceptable with you?
We decided to leave the rank field - the widgets will be sorted by importance in the backend, but the rank field is useful if the widgets will be sorted in the frontend in the future.
This is a task for a BackEnd programmer together with a Data Scientist. For the existing infographics API - set a threshold or a rule (can be unique per widget) to decide wether to send the widget for the specific newsflash. The decision can be made using both data from the newsflash and CBS data regarding the location of the news flash.
Arrange the API rank field accordingly.