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

Move calculation and data normalisation into a shared library #504

Open
Greenheart opened this issue Dec 17, 2024 · 0 comments
Open

Move calculation and data normalisation into a shared library #504

Greenheart opened this issue Dec 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Greenheart
Copy link
Collaborator

Since calculations e.g. for calculatedTotalEmissions, and data normalisation are common tasks that are complex and error-prone, this would be great to move to a separate shared library which could have proper tests to make sure it covers all edge cases.

Then we could use this logic in the API as well as on the frontend.

This would likely be a good task to pick up after we've migrated to a monorepo as per #490

@Greenheart Greenheart added the enhancement New feature or request label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant