-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/sustainable solution for bug #468
Conversation
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
should this be merged before #460? |
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
@mgovers If this is still working in progress, please put the PR in draft. |
Signed-off-by: Martijn Govers <[email protected]>
everything is done except for sonar cloud/CI. i thought it was already ready for review until i saw the code smells. CI should pass now. If not, i'll pull it back to draft |
remaining code smells were already introduced in original |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were using some confusing names before. Since we are refactoring here, please change the names of variables correctly using the terminology defined here.
https://power-grid-model.readthedocs.io/en/stable/user_manual/dataset-terminology.html
Especially, we use the loop variable name batch_number
, it should be actually scenario_number
. We only have one batch, which consists of multiple sub-batches for multithreading, which consist again multiple scenarios per sub-batch.
Signed-off-by: Martijn Govers <[email protected]>
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 3 New issues |
Sustainable solution for #461 .
Replaces quick fix in #462 .
Tests in #460 .
A large portion of the complexity in the batch update is refactored away to separate lambda functions: