Activate browser operating-point controls - #403
Conversation
- Attach top-level operatingPoint metadata to canonical v2 specs. - Preserve cutoff and ppcr fields in curve data payloads. - Wire standalone browser renderers and summary reports. 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. |
|
Summary of Changes
This PR activates the existing
rtichoke_vizv0.18 operating-point sliders and selected-point markers across Python browser charts and summary reports by emitting the top-leveloperatingPointmetadata ({"dimension": "probability_threshold"}or{"dimension": "ppcr"}).Audit & State:
a8583a46ab02c0beaae01f377b701a1fe1102f3d0.1.36rtichoke_vizversion:v0.18.0(source_commit=dbabedb495ab70062ee635cd9d59eefcafe55a43,sha256=1cd3af962be8357d0fd4c2f2ecf5e5953774683de8854ead2facbac807b6bc84)Component Activation Matrix:
operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr)operatingPoint: {dimension: "probability_threshold"}(data containsthreshold)operatingPoint: {dimension: "probability_threshold"}(data containsthreshold)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr, series containshorizon)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr, series containshorizon)operatingPoint: {dimension: "probability_threshold" | "ppcr"}(data containscutoff+ppcr, series containshorizon)operatingPoint: {dimension: "probability_threshold"}(data containsthreshold, series containshorizon)operatingPoint: {dimension: "probability_threshold"}(data containsthreshold, series containshorizon)Files Changed:
src/rtichoke/_viz_spec_v2.pysrc/rtichoke/_decision_curve_viz_spec_v2.pysrc/rtichoke/_interventions_avoided_viz_spec_v2.pysrc/rtichoke/discrimination/precision_recall.pysrc/rtichoke/discrimination/gains.pysrc/rtichoke/discrimination/lift.pysrc/rtichoke/utility/decision.pysrc/rtichoke/summary_report/summary_report.pytests/test_precision_recall_v2.pytests/test_summary_report_times_browser.pytests/test_operating_point_metadata.pyTesting & Verification:
uv run pytest).uv run ruff check,uv run ruff format).PR created automatically by Jules for task 4708834464914728002 started by @uriahf