Repository navigation
feat: include pst_tap in enriched action topology - #48
Merged
Merged
Conversation
This commit updates RecommenderService to extract and include PST tap information in the action_topology field of enriched actions, ensuring visibility in the UI.
…or disconnection simply of the related network branch
…t primary action categories like Disconnections take precedence. I've also resolved all frontend lint errors and mirrored these improvements to the standalone interface for consistency. Verification was completed with 13 tests passing and logic hardening in both interfaces.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Include
pst_tapin Enriched Action TopologyThis Pull Request updates the
RecommenderServiceto extract and include Phase Shifter Transformer (PST) tap information in theaction_topologyfield of enriched actions.Changes Overview
Backend Integration (
recommender_service.py)RecommenderService._enrich_actionsto extract thepst_tapattribute from the underlying action objects.{"PST1": 12}) are sent to the frontend.Verification Results
Automated Tests
Expert_op4grid_recommender's test suite that specifically mocks theRecommenderServiceand checks for the presence ofpst_tapin the output.Expert_op4grid_recommender, this completes the end-to-end integration of PST actions.Linked PR: marota/Expert_op4grid_recommender#58