-
Notifications
You must be signed in to change notification settings - Fork 35
Keep only important integration tests: step 2 #841
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
Keep only important integration tests: step 2 #841
Conversation
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
…only-important-integration-tests-2
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
…only-important-integration-tests-2
…t-integration-tests-2 Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@mgovers one suggestion. Sensor output in power flow calculations is undefined. We should not test them. So remove the tests in the current |
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
while i'm OK with not testing, it does feel a little bit weird to call it UB, though, because we do by default output it if there are sensors in the grid |
UB means the C-API users are not supposed to provide a sensor output buffer in the dataset if you are running power flow. If you do, there is no guarantee what data will be written (or not at all) in the sensor output buffer. It just happens to have some non-sense output now in the sensor buffer. It can change to anything in the future. NOTE: Python API never creates the sensor output buffer anyway. This is for C-API user. |
ohhhh right, i completely forgot about the existence of https://github.com/PowerGridModel/power-grid-model/blob/main/src/power_grid_model/_core/power_grid_model.py#L171-L195 Agreed with the conclusion, although this still does feel weird In addition, shouldn't we add it explicitly to the sensor output documentation? |
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
|
Relates to #833
Relates to #486
test_main_model_sc.cpp
to validation casestest_main_model.cpp