feat(benchmark): Phase 4 validation pipeline integration, metric_CRPS… - #4062
Open
ayushman1210 wants to merge 4 commits into
Open
feat(benchmark): Phase 4 validation pipeline integration, metric_CRPS…#4062ayushman1210 wants to merge 4 commits into
ayushman1210 wants to merge 4 commits into
Conversation
ayushman1210
force-pushed
the
phase4-benchmarking-integration
branch
from
August 4, 2026 07:11
6bb6f9a to
25e7854
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements Phase 4: Biogeochemistry MVP Integration and Initial Benchmarks (#4059), proving the decoupled PEcAn validation pipeline end-to-end against real model output and observations.
Key changes include:
metric_CRPS.RImplementation & Metric Registry: Added Continuous Ranked Probability Score inmetric_CRPS.RusingscoringRules::crps_sample()with pure-R analytical fallback. RegisteredCRPSinpecan_metric_registryand added unit test suitetest-metric_CRPS.R(6/6 PASS).salinas-socs/ensemble_benchmark/run_benchmarks.Rto ingest EFI-long ensemble outputs, align monthly model data to annual observations withalign_by_time(), compute point metrics (RMSE, MAE, R2) & spread metrics (Coverage, CRPS), and compile a dynamic HTML report (Salinas_SOC_Validation_Report.html).test-ensemble_integration.Rintestthat(18/18 PASS) to verify time alignment, metric calculations, and scorecard column structures without heavy model execution in CI.metric_Coverage.Rfor direct in-band scoring and updatedmetric_timeseries_plot.Rwith numerical PMU scores andStatus: PASS/FAILannotations.Motivation and Context
This change fulfills Phase 4 of the GSoC 2026 Validation Toolkit workplan. Building on the core data intake API (#4017), test coverage (#4032), and Quarto reporting layer (#4040, #4041), Phase 4 proves the pipeline on real biogeochemistry datasets (Salinas SOC ensemble & AmeriFlux MVP) and introduces ensemble spread metrics (CRPS, Coverage).
Closes #4059.
Types of changes
Checklist: