Redesign the public API test architecture - #434
Draft
lrnv wants to merge 70 commits into
Draft
Conversation
Contributor
🟢 Tachometer — no performance regressions detected25 benchmarks compared · Full results (25 benchmarks)
baseline |
- Updated `test_dependence_contract` to include conditional measures based on the type of copula. - Expanded `test_distribution_contract` with additional CDF tests and error handling for invalid dimensions. - Added comprehensive tests for the StatsBase model-result interface in `test_fitting`. - Improved `test_rosenblatt_contract` to verify the inverse Rosenblatt transformation. - Enhanced `test_sklar` to include log-likelihood checks. - Added subsetting tests in `test_subsetting_contract` for CDF consistency. - Extended `test_utilities` to validate scalar and pairwise dependence measures. - Introduced new tests for public API surfaces and generator constructors. - Added mathematical coherence tests for CDF and density functions. - Implemented statistical tests for representative samplers and Rosenblatt statistics. - Created new test files for public compositions and measure inverses.
- Introduced tests for specialized FGM paths, Gumbel generator, and logistic tail to ensure consistency with generic oracles. - Implemented a smooth polynomial oracle with corresponding CDF and PDF functions. - Added tests for generator oracles, tail oracles, and various mathematical coherence checks. - Enhanced the test suite to include measures of dependence, conditional densities, and Rosenblatt transformations. - Updated the test runner to include the new dispatch paths tests.
- Added comprehensive tests for specialized CDF and log-density routes, ensuring they satisfy mass identities and other properties. - Introduced new test sets for atomic conditioning routes and joint conditioning routes, verifying their correctness against normalized CDF derivatives. - Updated the dispatch mechanism to include conditional joint operations and ensure every selected deterministic route has a corresponding proof. - Enhanced fitting tests to validate log-likelihoods for fitted copulas against source copulas. - Removed obsolete dispatch path functions to streamline the routing obligations.
lrnv
force-pushed
the
test-architecture-redesign
branch
from
August 28, 2026 16:21
6258c7b to
e76f50c
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #434 +/- ##
==========================================
+ Coverage 86.07% 86.27% +0.19%
==========================================
Files 91 90 -1
Lines 7764 7905 +141
==========================================
+ Hits 6683 6820 +137
- Misses 1081 1085 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- Added tests for Gaussian Sklar conditioning to ensure consistency with multivariate normal algebra. - Removed outdated constructor validation tests from nested Archimedean copula tests. - Consolidated extreme-value conditioning tests into a dedicated file for better organization. - Introduced focused conditioning regressions for various copula families, including Bernstein and Checkerboard copulas. - Implemented mathematical correctness tests for Williamson transforms, verifying real-order identities and transformations. - Established equivalence tests for extreme-value copulas, ensuring consistency across different parameterizations. - Updated test suite to include new test files and improved organization for clarity and maintainability.
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.
Summary
Closes #422
Tracks #424, #425, #426, #428, and #430.