Research notebook

Repeated Stage Matching: teaching example

Edit a Python cell and run it here. Your code runs in this browser tab; the notebook runtime and packages are served by this site.

Python starts when you choose Run.

Repeated stage matching

This teaching model isolates the three matching cases in the figure. The production loader also validates ordered entries, handles unknown or misplaced stages, and works with the runtime checker. Its linked source and tests are the authority.

Sources:

  • https://github.com/torch-spyre/aiu-trace-analyzer/pull/98/files
  • https://github.com/torch-spyre/aiu-trace-analyzer/blob/0b4a5e538fc19e03cb9fdc6c6bed57a04e03ed9f/src/aiu_trace_analyzer/core/stage_profile.py
Python · cell 1
bare [True, True, True, True]
#2 [False, True, False, False]
complete [False, True, True, True]

Python runs locally in this page. Saved results and figures are visible before execution.

Download full experiment notebook