# Config diff: our 1-step chain vs Xin's 2-step chain

> **File names renamed 2026-09-30 (issue 33 cleanup).** `wcls-img-clus-matching-xin-lib.jsonnet` is now `wcls-img-clus-matching-pr-lib.jsonnet`; the 1-step jobs `wcls-img-clus-matching-xin{,-hits}.jsonnet` are now `obsolete/wcls-img-clus-matching-pr-{flash,hits}.jsonnet` (the upstream name `wcls-img-clus-matching-xin.jsonnet` stays as a one-line shim); the fcls `wcls-img-clus-matching-xin{,-data,-hits,-data-hits}.fcl` are now `wcls-img-clus-matching-pr-{flash,flash-data,hits,data-hits}.fcl`. Production is the 2-step chain `wcls-img-clus-matching.jsonnet` + `wct-pr.jsonnet`. The names below are as they were when this work ran.


Generated by compiling both chains with `wcsonnet` and diffing the component
`data` blocks. The 2-step was compiled with the production `pipeline_names`
TLA that `run_pr_chain_batch_isolated75base.sh` passes, so this is an
apples-to-apples comparison of operating points, not of bare jsonnet defaults.

* 1-step: `sbnd/wcls-img-clus-matching-xin.jsonnet` (reality=sim, enable_tracking_root=true)
* 2-step step 1: `cfg/pgrapher/experiment/sbnd/wct-clus-matching-perevt.jsonnet`
* 2-step step 2: `cfg/pgrapher/experiment/sbnd/wct-pr-perevt.jsonnet`

Both chains import the SAME `cfg/pgrapher/experiment/sbnd/clus.jsonnet`
(`sbnd_xin/clus.jsonnet` is a 10-line re-export shim) and the same
`cfg/pgrapher/common/clus.jsonnet`. Every difference below therefore comes
**Total knobs Xin sets that our 1-step does not: 160.**

from the ENTRY POINT, not from the shared clus jsonnets.

## `ClusteringExamineBundles:all`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `save_bundle_main_provenance` | `true` |

## `ClusteringProtectBundle:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `cathode_rejoin_angle` | `20` |
| `cathode_rejoin_dir_npts` | `20` |
| `cathode_rejoin_dir_radius` | `150` |
| `cathode_rejoin_perp` | `30` |
| `open_convicted_bundles` | `true` |

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `graph_name` | `"relaxed"` | `"relaxed_strict_img_2d_rescue_long_wtrack"` |

## `ClusteringUnmergeBundle:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `require_provenance` | `true` |
| `restore_demoted_mains` | `true` |

## `CreateSteinerGraph:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `edge_charge_forward_dead_mix` | `true` |
| `terminal_adjacent_slice` | `true` |
| `terminal_wire_tol` | `1` |

## `CreateSteinerGraph:prrefresh`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `edge_charge_forward_dead_mix` | `true` |
| `terminal_adjacent_slice` | `true` |
| `terminal_wire_tol` | `1` |

## `MultiAlgBlobClustering:apa0-0`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `save_deadarea` | `false` | `true` |

## `MultiAlgBlobClustering:apa1-0`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `save_deadarea` | `false` | `true` |

## `MultiAlgBlobClustering:clus_all_apa`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `bee_flash_pred_min` | `0` |

## `MultiAlgBlobClustering:clus_pr`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `bee_pf` | `[{"em_ke_min": 5, "emit_empty": true, "grouping": ` | `[{"em_ke_min": 5, "emit_empty": true, "grouping": ` |
| `bee_points_sets` | `[{"algorithm": "clustering", "coords": ["x_t0cor",` | `[{"algorithm": "clustering", "coords": ["x_t0cor",` |
| `save_deadarea` | `false` | `true` |

## `Pgrapher:`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `edges` | `[{"head": {"node": "FrameFanout:sig_fanout", "port` | `[{"head": {"node": "MultiAlgBlobClustering:clus_pr` |

## `TaggerCheckFC:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `evaluate_demoted_mains` | `true` |

## `TaggerCheckNeutrino:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `assoc_clear_on_merge` | `true` |
| `assoc_full_recluster` | `true` |
| `assoc_reassign_orphans` | `true` |
| `break_seg_orient` | `true` |
| `broken_muon_cluster_id_count` | `true` |
| `conn3_stitch_max` | `1` |
| `cont_muon_dir3_30cm` | `true` |
| `cosmic_companion_min_length` | `15` |
| `daughter_count_proto_examine_showers` | `true` |
| `daughter_count_proto_main_vertex` | `true` |
| `daughter_shower_angle_reclass_straight_guard` | `true` |
| `dir_track_median_local` | `true` |
| `es3_stub_guard` | `true` |
| `examine_direction_dirsign_shower_in_guard` | `true` |
| `fiducial` | `"BoxFiducial:sbnd_pr_fv"` |
| `fit_blob_coverage` | `0` |
| `fit_exclusion` | `true` |
| `fv_tolerance` | `[-25, -25, -30, -30, -50, -30]` |
| `iso_snap_min_dir_mag` | `4` |
| `kine_charge_dedup` | `true` |
| `kine_charge_rebuild` | `true` |
| `kine_charge_track_ctx` | `true` |
| `kine_count_orphan_tracks` | `true` |
| `kine_drop_stray_satellites` | `true` |
| `kine_hadronic_dqdx` | `true` |
| `kine_long_muon_mode` | `2` |
| `kine_mainvtx_used_guard` | `true` |
| `kine_mass_rules` | `true` |
| `kine_shower_pdg_live` | `true` |
| `kink_break_protect` | `true` |
| `kink_walk_dqdx_stop` | `true` |
| `long_muon_stub_bridge` | `true` |
| `main_vertex_candidate_flag` | `true` |
| `main_vertex_graph_audit` | `true` |
| `main_vertex_require_descriptor` | `true` |
| `michel_stem_michel_check` | `true` |
| `michel_stem_muon_rescue` | `true` |
| `muon_multi_proton_pion` | `true` |
| `mvfit_robust` | `true` |
| `mvga_ac_chord_max` | `30` |
| `mvga_ac_no_cascade` | `true` |
| `mvga_approach_collapse` | `15` |
| `mvga_dup_frac` | `0.8` |
| `mvga_dup_starved_asym` | `0.55` |
| `mvga_dup_starved_mip` | `0.8` |
| `mvga_dup_starved_span` | `0.5` |
| `mvga_interposed` | `true` |
| `mvga_interposed_angle` | `130` |
| `mvga_interposed_deg1` | `true` |
| `mvga_interposed_len` | `10` |
| `mvga_op1_dup_frac` | `0.7` |
| `mvga_op1_post` | `true` |
| `mvga_op1_radius` | `-1` |
| `mvga_proj_angle` | `25` |
| `mvga_proj_dqdx_ratio` | `0.55` |
| `mvga_proj_dup_frac` | `0.7` |
| `mvga_reseat_angle` | `0` |
| `mvga_sat_dup_frac` | `0.7` |
| `mvga_satellite` | `3` |
| `mvga_splice_straighten` | `5` |
| `mvga_straighten_radius` | `1` |
| `mvga_stub` | `2.5` |
| `mvga_stub_pts` | `3` |
| `neutrino_type_bitmask` | `true` |
| `nu_per_bundle` | `true` |
| `nu_per_bundle_demoted_acts` | `true` |
| `nu_per_bundle_min_length` | `15` |
| `nu_selected_as_main` | `true` |
| `oov_prototype_parity` | `true` |
| `other_seg_empty_2d_guard` | `true` |
| `other_seg_keep_isolated` | `true` |
| `pi0_id_shared_allocator` | `true` |
| `pid_flag_reconcile` | `true` |
| `reclass_never_computed_ke_floor` | `true` |
| `reclass_preserve_4mom` | `true` |
| `sccc_bridge_body` | `true` |
| `sccc_kink_max` | `18` |
| `sccc_max_gap` | `6` |
| `sgp_max_sep` | `3` |
| `sgp_weak_qref` | `6000` |
| `sgp_weak_scale` | `5` |
| `shower_absorb_track_guard` | `true` |
| `shower_absorb_unreachable_main` | `true` |
| `shower_accept_pid_guard` | `true` |
| `shower_bragg_protect_start_segment` | `true` |
| `shower_cone_absorb_guard` | `true` |
| `shower_conn3_unreachable` | `true` |
| `shower_connect_from_vertices_straight_guard` | `true` |
| `shower_connect_main_vertex_straight_guard` | `true` |
| `shower_connect_start_seg_straight_guard` | `true` |
| `shower_dedup_start_seg` | `true` |
| `shower_detach_track_stem` | `true` |
| `shower_endpoint_exclude_start_vertex` | `true` |
| `shower_endpoint_skip_orphan_vtx` | `true` |
| `shower_flag_pdg_electron` | `true` |
| `shower_ghost_member_drop` | `true` |
| `shower_hadronic_growth_max` | `0.7` |
| `shower_hadronic_stem_ratio` | `2.8` |
| `shower_hadronic_tag` | `true` |
| `shower_in_cascade_guard` | `true` |
| `shower_less_id_tiebreak` | `true` |
| `shower_long_muon_keep_type` | `true` |
| `shower_nv_bridge_track` | `true` |
| `shower_pdg_exact_muon_test` | `true` |
| `shower_pdg_from_shower_type` | `true` |
| `shower_pdg_from_start_segment` | `true` |
| `shower_proton_daughter_pion` | `true` |
| `shower_proton_daughter_pion_dissolve` | `true` |
| `shower_reclass_case_b_dqdx_guard` | `true` |
| `shower_reclass_dqdx_guard` | `true` |
| `shower_stem_backfill` | `true` |
| `shower_topo_demote_len` | `50` |
| `shower_topo_dqdx_guard` | `true` |
| `shower_topo_reexam_straight_guard` | `true` |
| `shower_topo_reset` | `true` |
| `shower_traj_michel_stem` | `true` |
| `shower_traj_recheck_parity` | `true` |
| `shower_traj_straight_guard` | `true` |
| `shower_vote_track_pid_counts` | `true` |
| `shower_walk_visited_parity` | `true` |
| `single_muon_long_muon_claim` | `true` |
| `single_muon_proton_chain_veto` | `true` |
| `skip_cosmic_companions` | `true` |
| `sp_photon_flag` | `true` |
| `steiner_gap_penalty` | `2` |
| `stem_endpoint_wcpt_parity` | `true` |
| `straight_cont_cross_cluster` | `true` |
| `swap_orphan_dup_audit` | `true` |
| `tagger_ordered_segment_sets` | `true` |
| `teb_bragg_veto_turn` | `30` |
| `teb_turn_min_arm_frac` | `0.4` |
| `track_comp_empty_abstain` | `true` |
| `track_pid_persist_4mom` | `true` |
| `track_pid_persist_dqdx` | `true` |
| `track_pid_persist_dqdx_electron_guard` | `true` |
| `two_end_break` | `true` |
| `v3_extension_guard` | `true` |
| `vertex_dir_use_fit_point` | `true` |
| `vertex_kink_snap` | `true` |

## `TaggerCheckSTM:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `evaluate_demoted_mains` | `true` |

## `TaggerCheckTGM:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `evaluate_demoted_mains` | `true` |
| `exempt_demoted_main_pairs` | `true` |

## `TensorFileSink:clus_all_apa`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `dump_mode` | `false` | `true` |

## `UbooneTaggerOutputVisitor:pr`

Set by Xin, **absent in our 1-step** (so the C++/clus.jsonnet default applies):

| knob | Xin's value |
|---|---|
| `neutrino_type_bitmask` | `true` |
| `nu_per_bundle` | `true` |

## `wire-cell:`

Present in both with different values:

| knob | 1-step | Xin |
|---|---|---|
| `plugins` | `["WireCellGen", "WireCellPgraph", "WireCellAux", "` | `["WireCellGen", "WireCellPgraph", "WireCellAux", "` |

