Skip to content

Fix/irrelevant buffer owning dataset#1340

Open
TonyXiang8787 wants to merge 13 commits intomainfrom
fix/irrelevant-buffer-owning-dataset
Open

Fix/irrelevant buffer owning dataset#1340
TonyXiang8787 wants to merge 13 commits intomainfrom
fix/irrelevant-buffer-owning-dataset

Conversation

@TonyXiang8787
Copy link
Member

Fixes #1339

Also with some refactor in enums in validation test.

Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
@TonyXiang8787 TonyXiang8787 added the bug Something isn't working label Mar 23, 2026
@TonyXiang8787 TonyXiang8787 self-assigned this Mar 23, 2026
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
Copy link
Member

@figueroa1395 figueroa1395 left a comment

Choose a reason for hiding this comment

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

Final remark, can you add a unit test with an input dataset with faults and then create an output dataset for state estimation based on it? Additionally another one, but for an input dataset with some sensors and and output dataset for short circuit calculations.

Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
@nitbharambe
Copy link
Member

@figueroa1395 done with the review.

Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
@nitbharambe
Copy link
Member

Ok LGTM.
09be44e and 0ff8f0d related discussion is ongoing and maybe we follow up with a new PR. The fault component related bug gets resolved in this PR.

nitbharambe
nitbharambe previously approved these changes Mar 25, 2026
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
@figueroa1395
Copy link
Member

09be44e and 0ff8f0d related discussion is ongoing and maybe we follow up with a new PR. The fault component related bug gets resolved in this PR.

This discussion and alternative implementation started because of a separate bug that is now described in #1342. This new bug is to be treated in a different PR and hence the issue was created.

For this reason, I reverted to the original implementation. The added tests are now complete.

nitbharambe
nitbharambe previously approved these changes Mar 25, 2026
Signed-off-by: Santiago Figueroa Manrique <figueroa1395@gmail.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] CPP API Owning dataset creates irrelevant buffers for a given calculation type

3 participants