Skip to content

PCEA: link (bcfishpass config) flags different BT rearing segments than bcfishpass (−8.2 km connection, +30.3 km other) #324

Closed

Description

@NewGraphEnvironment

If done: we know why link on the bcfishpass config flags different BT rearing segments than bcfishpass in PCEA, and either fix it or record it as an annotated divergence. If never: a segment-level replication gap stays unexplained. Today it is within the 5 % parity tolerance (+1.87 %).

Answer (2026-10-11): segmentation, annotated

link breaks streams at every 15 / 20 % gradient position; bcfishpass does not in groups where no species with a 15 / 20 % access model (CH, CM, CO, PK, SK, ST, WCT) is present — PCEA, FINA and PARS, which hold BT, DV, GR, RB (and PARS KO). The finer segments' average gradients flip BT spawn and rear tests both ways, and the flips join or cut rearing clusters. The same mechanism runs in FINA and PARS: on the rearing row, segmentation alone nets +26.22 (PCEA), −13.04 (FINA) and +9.81 km (PARS), and PARS's row is negative only through the width exception below. The table below is the rearing flag (connection lines in); *_bt_mechanism_net.csv has the rearing and rearing_stream scopes. Recorded as taxonomy class SEGMENTATION (and class B entries pars-bt-rearing-width-exception and pcea-bt-connection-width-exception), with no code change. Write-up: research/bcfp_segmentation_parity.md; evidence: data-raw/logs/rearing_diff_324/.

BT rearing flag km, link − bcfp rear gradient connectivity bcfp width exception access net gross
PCEA +21.72 +8.19 −9.59 +1.80 +22.11 86.2
FINA +12.21 −25.31 0 +0.23 −12.88 73.7
PARS +19.28 −9.27 −24.78 +0.94 −13.83 112.6
LKEL +0.07 +1.34 0 +0.24 +1.65 1.7

Measured (#319, data-raw/logs/lake_connection_319/, bcfishpass config vs local fresh.streams_vw_bcfp)

PCEA BT rearing link bcfp diff
lake connection lines (1450 in a lake polygon) 367.7 375.9 −8.2 km
everything else 1,655.8 1,625.5 +30.3 km
flag total (before #319) 2,023.5 2,001.4 +22.1 km

FINA, PARS and LKEL match exactly on connection km. Upstream rules for BT rearing are pinned in research/habitat_thresholds.md ("One meaning of rearing_km", smnorris/bcfishpass@620dbe4).

First step

Diff the BT rearing flag segment by segment in PCEA between fresh and fresh.streams_vw_bcfp, joined on position (blue_line_key + measures). Then bucket the differences by edge type, waterbody and gradient / channel width. Relates to #319.

Prior work checked (2026-10-09): none explains it

Activity

  1. added 4 commits that reference this issue on Oct 11, 2026
  2. added 2 commits that reference this issue on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions