Add high-accuracy test runner script for generating and comparing CAMB references#197
Open
cmbant wants to merge 5 commits into
Open
Add high-accuracy test runner script for generating and comparing CAMB references#197cmbant wants to merge 5 commits into
cmbant wants to merge 5 commits into
Conversation
Owner
Author
|
Thanks, will try to have a look before too long. Did self.assertAlmostEqual(pars.YHe, 0.246218, 5) give you a problem? Seems fine on the github runners. The vscode config change also looks odd. Does this method of configuring a BaseModel+ work with Cobaya? @Auggie review |
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.
Motivation
Description
fortran/tests/run_high_accuracy_tests.py, a new script that implements argument parsing and two main modes:generate_referenceto create high-accuracy INI files and produce reference outputs, andcompareto run standard tests and diff them against references usingCAMB_test_filesintegration.--int_tol_boost,--l_sample_boost,--l_accuracy_boost,--lens_potential_accuracy,--lens_margin,--stability_factor, and--do_late_rad_truncation, applied in_apply_high_accuracy_settingsbefore writing reference INIs.--override KEY=VALUE), cleaning of target dirs, runner selection (--runner), and output customization; create reference INIs withmake_reference_inisand execute them withrun_reference_inis.summarize_differenceswhich reads numeric tables, computes per-file and overall RMS(relative) and worst errors, and prints top offenders.Testing
Codex Task