Skip to main content
Run any Skill in Manus
with one click

cohort-broadening-event-source-scope-leak

Stars1
Forks0
UpdatedJuly 8, 2026 at 12:14

Diagnose silent monotonicity violations (e.g. "Low bucket has higher conversion rate than High bucket" on a rank-quality chart, or any reverse-ordered metric on a model-quality dashboard) caused by broadening a cohort filter in one CTE while leaving sibling event/stage-source CTEs at their original narrower scope. Use when: (1) you just removed or relaxed a `WHERE period IN (...)` / `WHERE scope = X` / similar scope filter on a cohort-defining CTE to broaden coverage (e.g. "include all scored records, not just period-A applicants"), (2) the downstream JOIN pulls in a `funnel_stage` / `latest_status` / `enrollment_state` field from a separate row in the same table, (3) a rank-quality chart suddenly shows reverse-ordered or otherwise impossible numbers (Low > High on Net/cumulative rate, while per-step conditional rates look fine), (4) the per-step transition rates (conditional on prior stage) look reasonable but the "% of full cohort reached final stage" column is broken. Root cause: cohort CTE now spans perio

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly