-
Notifications
You must be signed in to change notification settings - Fork 1
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
Automatically calculate milestone expected ages #157
Automatically calculate milestone expected ages #157
Conversation
- uses placeholder algorithm for now - calculates average score for a milestone from each age (1 month bins) - expected age is the first age with an average score >= 3 - the details of this algorithm can be refined later - resolves #133 - add view data button below expected age slider in admin edit milestone dialog - displays a plot of average scores vs age for this milestone - includes a dotted line showing the calculated expected age based on the data - add admin tab for this - displays expected age for each milestone & button to plot data - button to calculate new expected age for each - button to save changes - add @unovis/ts chart/plotting library - using @unovis/ts for now due to lack of svelte 5 support in @unovis/svelte - can switch to the svelte version once this issue is resolved - svelte-vega looked more promising but gave an error at build time - resolves #153 - add numpy to backend dependencies - remove default constructors from some models to improve generated typescript types - e.g. `milestones: list[MilestoneAdmin] = {}` used to give typescript type `MilestoneAdmin[] | undefined` - replace with `milestones: list[MilestoneAdmin]` to give `MilestoneAdmin[]`
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #157 +/- ##
==========================================
- Coverage 27.88% 27.85% -0.04%
==========================================
Files 93 96 +3
Lines 3306 3461 +155
Branches 90 93 +3
==========================================
+ Hits 922 964 +42
- Misses 2316 2426 +110
- Partials 68 71 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some frontend changes confused me a little bit. otherwise looks good.
Quality Gate passedIssues Measures |
* Automatically calculate milestone expected ages - uses placeholder algorithm for now - calculates average score for a milestone from each age (1 month bins) - expected age is the first age with an average score >= 3 - the details of this algorithm can be refined later - resolves #133 - add view data button below expected age slider in admin edit milestone dialog - displays a plot of average scores vs age for this milestone - includes a dotted line showing the calculated expected age based on the data - add admin tab for this - displays expected age for each milestone & button to plot data - button to calculate new expected age for each - button to save changes - add @unovis/ts chart/plotting library - using @unovis/ts for now due to lack of svelte 5 support in @unovis/svelte - can switch to the svelte version once this issue is resolved - svelte-vega looked more promising but gave an error at build time - resolves #153 - add numpy to backend dependencies - remove default constructors from some models to improve generated typescript types - e.g. `milestones: list[MilestoneAdmin] = {}` used to give typescript type `MilestoneAdmin[] | undefined` - replace with `milestones: list[MilestoneAdmin]` to give `MilestoneAdmin[]` * update openapi.json & openapi-ts client * fix incorrect progress bar update * use better translation --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
milestones: list[MilestoneAdmin] = {}
used to give typescript typeMilestoneAdmin[] | undefined
milestones: list[MilestoneAdmin]
to giveMilestoneAdmin[]