Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TodoList Votes #121

Open
10 of 37 tasks
RouxRC opened this issue Nov 25, 2018 · 3 comments
Open
10 of 37 tasks

TodoList Votes #121

RouxRC opened this issue Nov 25, 2018 · 3 comments

Comments

@RouxRC
Copy link
Member

RouxRC commented Nov 25, 2018

(followup #115)

FRONTEND

  • make a page of a scrutin's results
  • make a viz of a scrutin's results in its page
  • ordonner les groupes politiquement ?
  • ajouter nb_delegations, nb_votants, nb_abstentions sur page scrutin ?
  • add link to actual intervention
  • make a page listing all scrutins (+ viz on all ? cf par ex https://www.regardscitoyens.org/temp/sprint-scrutins/ )
  • display a marker with a link in seance's related intervention
  • display a scrutin's viz seance's related intervention
  • display a list of all scrutins of a dossier in its page
  • make a page listing all scrutins of an MP
    • list all scrutins of an MP
    • séparer les votes effectifs des n'a pas voté
    • add stat participation to all scrutins
    • add stat participation to all scrutins solennels
    • add stat fidélité au groupe when applicable
    • add stat participation aux votes gagnants
  • display an MP's latest votes on its page + link to all
  • add API points for scrutins (cf Access aux données de statistique d'un vote de loi via l'API #93)
    • one
    • list all
    • list all of an mp
    • add seance_id and intervention_id ? and/or link to page intervention ?
    • list all of a dossier
    • list all of a seance ?
    • update doc API
  • update FAQ

BACKEND

  • fix tags interventions missing
  • allow to load new scrutins before seances there
  • force load of scrutins missing from confinement (2733 -> 2738 ; 2740 -> 2745 ; 2747 -> 2762) (hardset intervention id in parser for these ?)
  • build indicator of nb or taux participation scrutins ? (distinction solennel/ordinaires?)
  • build indicator of group fidelity ? (warning : non votants + mises au point)
  • parse/clean titles ("le demande", "le déclaration", etc) + extract scrutins object
  • parse avis comm/gouv in debats ?

Notes:

@RouxRC
Copy link
Member Author

RouxRC commented Oct 5, 2020

À noter que les scrutins n° 2733 à 2762 de la période du confinement COVID-19 ne faisaient plus mention des délégations, ils ont donc été exclus de la prise en compte des présences.
De plus, durant cette période, les compte-rendus de l'AN ne rendaient plus compte des scrutins comme à l'ordinaire en inscrivant le résultat chiffré du vote, les rattacher à nos séances est donc impossible en l'état (à l'exception des 2739 et 2746). Pour éviter les logs à répétition d'impossibilité de les charger, ils ont été ajoutés au dossier loaded comme s'ils étaient bien passés normalement.
En vue d'une future présentation des scrutins, il faudra prévoir de les charger malgré tout (par exemple via l'ajout manuel d'une variable dans le json d'un scrutin indiquant l'id de l'intervention à laquelle rattacher le scrutin?)

@mdamien
Copy link
Member

mdamien commented Oct 31, 2020

Other ideas for things we can do:

  • Show deputies similar to one deputies based on his text votes/votes (text votes are votes on the whole text or an article)
  • List the laws by how many % of in favor text votes they have (demo here, a bit interesting)
  • List the deputies based on how many % of their text votes are in favor (demo here, not very interresting)
  • List the laws based on how late they are voted (need much more info but it's an idea)

@mdamien
Copy link
Member

mdamien commented Nov 2, 2020

Here's a first mockup of what we could have on the depute page:

image

One thing is in this case we don't show the scrutins where the depute is not there and people may want to know for the latest law what their depute voted. So we could add those to the list and show the vote as casted "absent"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants