glyph / automat

Self-service finite-state machines for the programmer on the go.
MIT License
583 stars 64 forks source link

#8: Analyze states and invalid transitions #134

Open moshez opened 3 years ago

moshez commented 3 years ago

For now this is completely broken, but this is starting to refactor makeDigraph into a more general "transitions" stream which should power more flexible analysis tools without making it too easy to introspect machines in-code directly.

codecov-commenter commented 2 years ago

Codecov Report

Merging #134 (bc46e6e) into trunk (4260ebb) will decrease coverage by 27.31%. The diff coverage is 0.00%.

@@             Coverage Diff             @@
##            trunk     #134       +/-   ##
===========================================
- Coverage   91.83%   64.51%   -27.32%     
===========================================
  Files          11       11               
  Lines        1261     1285       +24     
===========================================
- Hits         1158      829      -329     
- Misses        103      456      +353     
Impacted Files Coverage Δ
automat/_visualize.py 0.00% <0.00%> (-59.46%) :arrow_down:
automat/_discover.py 0.00% <0.00%> (-100.00%) :arrow_down:
automat/_test/test_discover.py 26.90% <0.00%> (-73.10%) :arrow_down:
automat/_test/test_visualize.py 37.31% <0.00%> (-29.86%) :arrow_down:
automat/_methodical.py 98.88% <0.00%> (-1.12%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4260ebb...bc46e6e. Read the comment docs.