1 TargetSelectionResult

data_handling.TargetSelectionResult(
    rows,
    ranked_rows,
    selected_rows,
    k,
    policy,
    source_mode,
    source,
    seed,
    temperature,
    warnings=(),
    reason_code_version=TARGET_INVALID_REASON_VERSION,
)

Ranked target table and selected top-K rows for one snippet.

rows contains every non-padded candidate target that could be interpreted from the resolved actor-visible source. ranked_rows filters that table to eligible rows and sorts it by the configured selection score. selected_rows is the top-K or stochastic policy output used to condition candidate generation and target-RRI labeling.

source records the resolved target source, for example detected_obbs or backbone.obb_pred_viz. In V1, GT OBBs can appear only in GT match fields; if GT was the selection source, source_mode must be v0_gt_sanity.

1.1 Methods

Name Description
diagnostic_summary Return compact stratified counts for selector threshold audits.

1.1.1 diagnostic_summary

data_handling.TargetSelectionResult.diagnostic_summary()

Return compact stratified counts for selector threshold audits.