bloqade.lanes.visualize.entropy_tree.tracer.build_entropy_trace
← Module overview
function
source
functionbuild_entropy_trace¶source
bloqade.lanes.visualize.entropy_tree.tracer.build_entropy_trace
Signature
def build_entropy_trace(*, kernel: Any, kernel_name: str, layer_index: int = 0, max_expansions: int | None = 1000, max_goal_candidates: int | None = None) -> EntropyTraceBundleRun the compilation pipeline and capture an entropy trace for layer_index.
Drives the full squin->move pipeline with a RustPlacementTraversal
configured to collect an entropy trace. Returns all the state the
visualizer needs to render the trace.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
kernel | Any | required | |
kernel_name | str | required | |
layer_index | int | 0 | |
max_expansions | int | None | 1000 | |
max_goal_candidates | int | None | None |
Returns
EntropyTraceBundle