Repository navigation
fix: expose effective probability cutoff for PPCR operating points - #416
Conversation
Expose producer-owned probability_threshold column in prepare_performance_data() derived via Type-7 linear quantile mapping for PPCR stratification, and populate operating_points.cutoff from probability_threshold in _prepare_probs_distribution_data(). Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Expose producer-owned probability_threshold column in prepare_performance_data() derived via Type-7 linear quantile mapping for PPCR stratification, and populate operating_points.cutoff from probability_threshold in _prepare_probs_distribution_data(). Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
Thanks. The effective For the tied Therefore the predicted-positive observations are: The correct values are: The PR currently hard-codes the PPCR This means Please:
STOP if correcting the PPCR classification causes disagreement with current R at any grid point. Do not implement the standalone consumer or merge this PR yet. |
Expose producer-owned probability_threshold column in prepare_performance_data() derived via Type-7 linear quantile mapping for PPCR stratification, and populate operating_points.cutoff from probability_threshold in _prepare_probs_distribution_data(). Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
The static PPCR oracle correction now looks correct, and the full local suite passes. |
I have removed the changes to extract_aj_estimate_by_cutoffs() in src/rtichoke/processing/adjustments.py, leaving time-dependent performance data completely untouched. The static PPCR correction and all 25 prediction distribution tests pass through the _cast_and_join_adjusted_data_binary() rounding fix in transforms.py alone. All 367 tests across the complete test suite pass. |
Expose producer-owned probability_threshold column in prepare_performance_data() derived via Type-7 linear quantile mapping for PPCR stratification, and populate operating_points.cutoff from probability_threshold in _prepare_probs_distribution_data(). Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
Fix Python PPCR effective probability cutoff parity by exposing producer-owned probability_threshold column in prepare_performance_data() using Type-7 quantile mapping and updating operating_points in _prepare_probs_distribution_data().
PR created automatically by Jules for task 12215796212733856025 started by @uriahf