Closed jcrozum closed 7 months ago
Forgot to mention I added short doc strings for type aliases because they are heavily used in the control module.
Coverage Report
File Stmts Miss Cover Missing balm control.py 114 14 88% 102, 114, 120, 124, 129, 138–154, 472, 475, 488 interaction_graph_utils.py 54 5 91% 6–8, 47, 165–166 motif_avoidant.py 152 2 99% 25, 121 petri_net_translation.py 148 11 93% 18–22, 58, 94, 207–208, 232–233, 242, 346 space_utils.py 129 4 97% 25–27, 252, 278 succession_diagram.py 247 12 95% 6, 163, 177, 185, 188, 205–206, 312, 439, 627, 665, 700 symbolic_utils.py 26 3 88% 10–12, 44 trappist_core.py 183 30 84% 11–15, 45, 47, 82, 129, 195, 197, 199, 227–230, 234–236, 256–262, 320, 322, 352, 392, 394, 425, 454 balm/_sd_algorithms compute_attractor_seeds.py 30 1 97% 8 expand_attractor_seeds.py 51 5 90% 6, 42, 97–102 expand_bfs.py 28 1 96% 6 expand_dfs.py 30 1 97% 6 expand_minimal_spaces.py 37 2 95% 6, 31 expand_source_SCCs.py 164 6 96% 19–21, 91, 101, 143, 287 expand_to_target.py 31 3 90% 6, 38, 43 TOTAL 1469 100 93%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
363 | 0 :zzz: | 0 :x: | 0 :fire: | 1m 2s :stopwatch: |
We've already discussed most of the changes and the rest should be inoffensive. The tests are passing, so I'm just going to merge this.
Documentation for the
control
module. Also some updates to the doc generation to fix small errors and clean up the docs website.Finally, I changed the way
Intervention
objects are compared. Previously, we drew a very confusing distinction between equivalence and equality that no one is going to care about. I removed theis_equivalent
function and made the equality function a bit more clear.Note that this branch was derived from #100, so I will close that PR in favor of this one.