topmark.pipeline.steps.prober¶
topmark / pipeline / steps / prober
Probe file type and processor resolution.
Runs the shared resolution probe and applies the same effective resolution
mapping as ResolverStep, then halts after successful probing because the probe
pipeline is intentionally resolution-only.
ProberStep ¶
Bases: BaseStep
Run resolution probing and stop the probe pipeline.
This step is intended for the probe pipeline. It records the full resolution
explanation on ctx.resolution_probe, mirrors the effective resolution
outcome onto the normal resolve axis, and halts after successful resolution.
Axes written
- resolve
Sets
ctx.resolution_probectx.file_typectx.header_processorctx.status.resolve
Source code in src/topmark/pipeline/steps/prober.py
may_proceed ¶
Return True because probing is the first and only probe step.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
ProcessingContext
|
The processing context for the current file. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True. |
run ¶
Resolve and store probe-visible diagnostic details.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
ProcessingContext
|
Processing context representing the file being probed. |
required |
Source code in src/topmark/pipeline/steps/prober.py
hint ¶
Advise about probe resolution outcome.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ctx
|
ProcessingContext
|
The processing context. |
required |