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

Completed test case C15 #1375

Merged
merged 6 commits into from
Oct 29, 2024
Merged

Conversation

developersbm
Copy link
Contributor

@developersbm developersbm commented Oct 29, 2024

Implemented test C15 in readingsCompareMeterFlow.js

Co-authored by:
Sebastian Bastida Marin: @developersbm
Aliyah McDowell: @amcdowell226
Colin Nguyen: @khoamelo

Partly Addresses #962

Type of change
Implemented test for C15
(Check the ones that apply by placing an "x" instead of the space in the [ ] so it becomes [x])

[ ] Note merging this changes the database configuration.
[ ] This change requires a documentation update

Checklist
(Note what you have done by placing an "x" instead of the space in the [ ] so it becomes [x]. It is hoped you do all of them.)

[x] I have followed the OED pull request ideas
[x] I have removed text in ( ) from the issue request
[x] You acknowledge that every person contributing to this work has signed the OED Contributing License Agreement and each author is listed in the Description section.

Limitations
The implemented test doesn't work with C15's expected values [1990.55774277443, 2057.611897078], but works with the expected values [7962.23097109771, 8230.447588312], which is the expected value for C2.

@developersbm developersbm changed the title Compared test case C15 Completed test case C15 Oct 29, 2024
huss added 3 commits October 29, 2024 10:11
@huss
Copy link
Member

huss commented Oct 29, 2024

I merged in the updated SQL (merged development) and updated the expected values to the new ones in the testing design doc. They all work now. I also needed to update the expected value for CG15 due to the value being wrong in the testing design document. CG15 is not really part of this PR put the tests were failing so I included this fix in this PR. See the developer Discord channel for a discussion of the issue.

This is not really part of this PR but needed to get this test to pass.
The testing design document had the wrong values for compare
group flow so when the new SQL was merged it started to fail.
Copy link
Member

@huss huss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to @developersbm, @amcdowell226 & @khoamelo for their first contribution to OED. Review and testing found it was implemented as desired. See my comments/commits for some changes I made due to issues with the testing design doc. Sorry about them. Congratulations on your first accepted work into OED.

@huss huss merged commit 0a58f71 into OpenEnergyDashboard:development Oct 29, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants