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

Figure out how hardcoded level-curves work #18

Open
RensDur opened this issue Feb 16, 2023 · 0 comments
Open

Figure out how hardcoded level-curves work #18

RensDur opened this issue Feb 16, 2023 · 0 comments

Comments

@RensDur
Copy link
Collaborator

RensDur commented Feb 16, 2023

In the frontend code, you'll find the file hardCoded.ts under src>lib>data. This file exports two constants that together make up the structure of the default model. It's not clear to me how these are structured, because the structure of the curve doesn't match the structure that's required by the current implementation.

The hardcoded model is currently implemented in structure [number, number][][], while the required structure reads number[][].

All updates that I've made to the code are located in branch impl-default-model.

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

No branches or pull requests

1 participant