Add tap regulator control side topology validation to Python validator#1293
Add tap regulator control side topology validation to Python validator#1293
Conversation
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
|
@copilot CI is still failing. Mypy is also reporting errors |
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Fixed the mypy error by adding explicit type annotation for the priority queue in Dijkstra's algorithm. The error was on line 1440 where mypy couldn't infer the type parameter for Changes in commit 853a471:
|
|
@copilot Pytest is still failing. Please fix. |
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Fixed pytest and lint errors in commit 29dac1e: Test fix: Corrected Lint fixes:
|
|
@copilot please address the complaints from Ruff-check. This includes a complexity refactoring of a long funciton. |
…lexity issues Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Addressed all Ruff complaints in commit d9d37e7: Complexity refactoring: Split the 300+ line
Fixed issues:
All Ruff checks now pass. |
|
Please fix the mypy errors @copilot |
Co-authored-by: Jerry-Jinfeng-Guo <6221579+Jerry-Jinfeng-Guo@users.noreply.github.com>
Fixed all mypy errors in commit ada84af: Issues resolved:
All mypy checks now pass with "Success: no issues found". |
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
Signed-off-by: Jerry Guo <Jerry.Jinfeng.Guo@alliander.com>
|



Implementation Plan for Tap Regulator Control Side Validation
Recent Changes
Fixed mypy errors:
invalid_regulator_ids: list[int]in helper functionsnoqadirectiveAll mypy and Ruff checks now pass.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.