-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically calculate milestone expected ages (#157)
* 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>
- Loading branch information
Showing
22 changed files
with
2,666 additions
and
1,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.