regardscitoyens / the-law-factory-parser

Data generator for the-law-factory project
https://www.lafabriquedelaloi.fr
GNU General Public License v3.0
45 stars 9 forks source link

Add last pending step (including CC) to all textes en cours #89

Closed RouxRC closed 5 years ago

RouxRC commented 6 years ago

Handle cases where texts are not published in the right order :

cf https://github.com/regardscitoyens/the-law-factory-parser/commit/dea0565f3406d5203863f35c179c021679ef5331

~I thought it was already the case, but it seems it is not always the case, for instance here: https://www.lafabriquedelaloi.fr/articles.html?loi=ppl17-337 with the TA AN hémicycle is awaiting publication http://www.assemblee-nationale.fr/15/ta/ta0164.asp pjl17-249~

mdamien commented 5 years ago

Action plan to empirically test we always have the predicted step:

mdamien commented 5 years ago

Closed, for now :)

boogheta commented 5 years ago

Seems like some cases are still not handled : https://www.lafabriquedelaloi.fr/articles.html?loi=15-ratification_accord_dialogue_politique_ue_cuba

Like for the dates, this should be tested properly in the backend : if we have neither an ongoing step nor an url_jo, we should report an issue

mdamien commented 5 years ago

Now it raises an exception if this happens: 0c32f716fa2f557c983304c1471920be646a0691