feat(analyze): add paired truth/pred plots from giant predict #98
Reference in New Issue
Block a user
Delete Branch "feature/predict-analysis-plots"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a
predictionplot family togiant analyze, alongside the existingrollout-vs-reference comparison, and extends
giant predictto make itpossible:
giant predict --coord globalgains schema v3 (--truth/--no-truth,default on): writes true_* physical columns and true secondary lists
alongside the predictions, so the output is fully paired.
giant/analysis/prediction.pybuilds one canonical true/pred frame(
paired_frame) from either predict coord mode.catalog.pygains 35pred_*specs: marginals, 2D truth-vs-pred scatter(new
heatmap2dkind), residuals/relative-residuals/calibration profiles,KS/bias/RMSE scorecards, n_sec + secondary-species confusion matrices,
direction-alignment and constraint-violation checks, and a correlation
delta. Two new Reduced kinds (
paired_hist,heatmap2d) get renderers.Every spec degrades to kind="unavailable" with no --prediction given.
condor.py/cli.py:--prediction/--prediction-labelonanalyze prep/submit, threaded through RunMeta and every compute job.Full test suite (1162 tests), ruff, and ty all pass.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01PpxE9nij3ujg9XcuzvQ26q