Examples and Results
Examples and Results
Section titled “Examples and Results”This page is a lightweight notebook: run one cell, compare the typical output, then read what changed in the graph. Start here after install if you want a concrete path from a tiny Flow to visual perception and replay.
Cell 1: run the smallest Flow
Section titled “Cell 1: run the smallest Flow”Command cell
Typical output
What this teaches: a Flow is still ordinary Python: typed input, typed output, and a step(...) method. The _signals case shows how Retriever can distinguish “field missing” from “field present with a value” when composing pipelines.
Cell 2: step a graph locally
Section titled “Cell 2: step a graph locally”Command cell
Typical output
What this teaches: before launching a backend, you can advance the same graph in-process. This is the fastest way to set breakpoints inside Flow.step(...), inspect local state, and reproduce a small failing case.
Cell 3: step perception without a camera
Section titled “Cell 3: step perception without a camera”Command cell
Typical output
What this teaches: the perception graph can be debugged with deterministic mock frames first. That keeps the first debugging loop independent of camera permissions, GUI windows, and backend scheduling.
Cell 4: run the perception pipeline
Section titled “Cell 4: run the perception pipeline”Command cell: deterministic first smoke
Command cell: live webcam and Rerun/stdout
Typical mock output
What this teaches: the visual demo is still a small graph: camera, detector, display. Live mode shows the same structure with a real webcam and Rerun when available; mock mode gives a stable expected result for docs, tests, and remote machines.
Cell 5: render the graph before debugging timing
Section titled “Cell 5: render the graph before debugging timing”Command cell
Expected output
What this teaches: the graph view is where timing becomes inspectable. Look for Flow nodes, ports, clocks, sync policies, and feedback edges before debugging backend behavior.
Cell 6: record and replay a run
Section titled “Cell 6: record and replay a run”Command cell
Expected result
What this teaches: a live robot or camera run can become a portable artifact. Replay lets you debug downstream logic without depending on the original sensor timing.
