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

Switch to Charge Version as base for 2PT matching #340

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

Cruikshanks
Copy link
Member

https://eaflood.atlassian.net/browse/WATER-4046

Update the existing matching algorithm for matching 2PT returns to charge versions to be based on charge_versions as the primary table instead of licences.

For example, a charge version may have 2 charge elements that match and therefore currently cause our results to spit out the same licence twice. Also, we know eventually the data will be used to feed billing which uses charge versions as the primary data source.

https://eaflood.atlassian.net/browse/WATER-4046

Update the existing matching algorithm for matching 2PT returns to charge versions to be based on `charge_versions` as the primary table instead of licences.

For example, a charge version may have 2 charge elements that match and therefore currently cause our results to spit out the same licence twice. Also, we know eventually the data will be used to feed billing which uses charge versions as the primary data source.
@Cruikshanks Cruikshanks added the housekeeping Refactoring, tidying up or other work which supports the project label Aug 7, 2023
@Cruikshanks Cruikshanks self-assigned this Aug 7, 2023
@Cruikshanks
Copy link
Member Author

We are getting told off by SonarCloud on code coverage but that is to be expected @StuAA78

@Cruikshanks Cruikshanks marked this pull request as ready for review August 7, 2023 17:12
@Cruikshanks Cruikshanks requested a review from StuAA78 August 7, 2023 17:13
@Cruikshanks Cruikshanks merged commit 4e5ebad into main Aug 8, 2023
@Cruikshanks Cruikshanks deleted the switch-to-charge-version-for-matching branch August 8, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
housekeeping Refactoring, tidying up or other work which supports the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant