-
Notifications
You must be signed in to change notification settings - Fork 4
Support cuts and clamps in tracing #182
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
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
43457ba
.
chestm007 e007fb4
more tests, slight optimisation
chestm007 dc7870a
Add step path provider, and some tests
chestm007 7c4b033
be helpful if the TestNetworkBuilder knew what a Busbar was
chestm007 3b69b62
stashing changes
chestm007 9b9ce0d
NetworkTraceStepPathProvider seems to do the needful
chestm007 3777cde
Network Trace now supports cuts and clamps
chestm007 5a6f2d8
Reworking some internal classes to be less boilerplate
chestm007 847539e
this class isnt a test...
chestm007 a972967
Reworked NetworkStateOperators so auto complete works
chestm007 44e083d
I broke some type hinting, and created circular imports. #winning
chestm007 cf24250
Pretty bulky change
chestm007 a410f72
Reworked the internals of network_trace.Conditions
chestm007 0a3a303
.
chestm007 e31b95e
get rid of alot of `if isinstance` in favor of singledispatch
chestm007 9589cd3
Fixed WeightedPriorityQueue, and rework of network trace/traversal
chestm007 fb08464
More typing, and refactoring code to be more pythonic
chestm007 81d7f7f
slight refactoring to clean up API
chestm007 06c7d4e
Chasing an exponential queueing issue
chestm007 6c54dbf
yield != return.
chestm007 8b4f434
codebase inline with ewb-sdk-jvm PR#220
chestm007 519c0b9
DEV-2568 PR#220, tracing fixes, and more unit tests - 2 unexpected te…
chestm007 c80c9be
because ofcourse i accidentally wrote tests that modify global state
chestm007 66d0449
pointless code prettifying
chestm007 4947e4b
comparing a bound method to an enum will always return False silently
chestm007 d4d9d17
[DEV-2573] changes ported from Kotlin SDK (#221)
chestm007 84453a9
Busbranch tests fixed, this needs verification that its not dumb
chestm007 2510f21
phase inferring is solved 💪
chestm007 3c17140
Added action blocks for `TestNetworkBuilder.with_clamp` and `TestNetw…
chestm007 bfd7add
[DEV-2592] - added tests from kotlin sdk
chestm007 abff444
[DEV-2766] `NetworkTrace`/`Traversal` now correctly respects `can_sto…
chestm007 242c10b
rebase off main incase new build system takes a while
chestm007 5ebd932
remove version lock for pytest-subtests, it can sort itself out
chestm007 5c543ae
DEV-2382
chestm007 9dbfb65
should update the changelog.
chestm007 e7781b3
log inferred phases properly.
chestm007 18e06d5
small changes adressing some PR comments, more left to address.
chestm007 bef32b9
dont keep overwritten class methods after the test scope
chestm007 b30bd9c
added definitely missed changelog notes
chestm007 db71519
added __all__ where missing to affected imports, also added missing i…
chestm007 e2d09d4
Another one
chestm007 0636f5c
Type hints, formatting, and tidyups requested
chestm007 d85b342
rework of NetworkTraceStepPathProvider while i was there fixing a log…
chestm007 08c09c1
.
chestm007 a23ac3e
add default_mrid_prefix to TestNetworkBuilder
chestm007 a5467c6
Type hint fixes
chestm007 803697f
Fixed terminal test.
charlta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,3 +129,5 @@ dmypy.json | |
|
|
||
| /todo.md | ||
| test/resources/test-network-database.txt | ||
|
|
||
| *.iml | ||
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
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
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
2 changes: 1 addition & 1 deletion
2
src/zepben/evolve/database/sqlite/network/network_cim_reader.py
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.