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

Make stats generation based on targeted school year #1252

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

pskl
Copy link
Collaborator

@pskl pskl commented Nov 29, 2024

Closes #1193

Adaptation work to the Stats lib

The approach chosen to handle the support of multiple SchoolYear is to pass a parameter to the generating scripts

Why this approach?

  • some of the indicators are really big like the Bops one so if we have to deduplicate the bops table for each year it will soon grow out of reason
  • even the relatively smallish indicators will scale dramatically in size if we have imagine the script handling like 4-5 years

Also contains:

  • an update reflecting the fact that the definition of validated now includes Rib readiness and Da presence

Syntax of script with year passed:

sh script/stats/get_global_stats_from_prod.sh aply-prod 2024

@pskl pskl changed the title WIP: Make stats generation based on targeted school year Make stats generation based on targeted school year Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ajuster les stats par rapport à la nouvelle année
1 participant