~/talk

Make ASCII, not war: ascii-art for testing network analysis

Talkat PyCon Canada 2017 · 2017-11-18..11-21· [testing]
links:none on file
slides:none on file

An ASCII-diagram parser turns text art into networkx graphs and then into power-system objects and CIM XML so tests contain the diagram not 40 lines of XML. Phase labels map to conductor count, one character equals 100 m per character for line length, labels create sources, loads, PV, transformers and switches, and pytest parameterization runs many phase/config cases. Code is open source as asciigraf on PyPI and feeds power-flow and UI checks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:23The problem
  3. 3:48The data model
  4. 5:29Simple test
  5. 5:59Hard to read
  6. 6:22New tests
  7. 6:49Documentation
  8. 8:00Maintaining rings
  9. 8:17Testing in XML
  10. 8:31Not perfect
  11. 8:41The test
  12. 9:15ASCII graph
  13. 10:11NetworkX graph
  14. 10:47NetworkX neighbors
  15. 11:12Skew
  16. 12:18Node Labels
  17. 13:30Power Flow
  18. 14:41Test yourself
  19. 14:55New test cases
  20. 16:08Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.