-
Notifications
You must be signed in to change notification settings - Fork 83
Refactor & Expand Baryon Model Tests + Add Benchmarks #1266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nikosarcevic
wants to merge
9
commits into
master
Choose a base branch
from
feature/baryon-tests
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
00d8802
cleaned up baryon tests
nikosarcevic 7b6bf8f
minor pep8 and typos fixes
nikosarcevic 0e291e7
Clarify vd19 test as regression; add docstring and keep frozen refere…
nikosarcevic 66274b5
Tighten Mead2020 CAMB backend tolerance in baryon tests
nikosarcevic 0b1be2c
Tighten backend tolerance in Schneider15 in baroyn tests
nikosarcevic a062cef
add external van Daalen (fbar) benchmarks and rename old tests to reg…
nikosarcevic 1139b61
benchmarks: fix flake8 line-length issues in baryon tests
nikosarcevic 17cb26d
tests: relax Mead20 CAMB/CCL tolerance
nikosarcevic ed6ac1c
tests: align Mead20 CAMB comparison with existing CAMB test
nikosarcevic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,200 @@ | ||
| 1.000000000000000021e-02 9.999979956162716732e-01 | ||
| 1.023411402105453213e-02 9.999978902040697060e-01 | ||
| 1.047370897959449751e-02 9.999977792485890138e-01 | ||
| 1.071891319205127598e-02 9.999976624583727380e-01 | ||
| 1.096985797892383561e-02 9.999975395266442746e-01 | ||
| 1.122667773510813496e-02 9.999974101305028062e-01 | ||
| 1.148951000187309161e-02 9.999972739300760916e-01 | ||
| 1.175849554052156923e-02 9.999971305676296218e-01 | ||
| 1.203377840777589310e-02 9.999969796666277055e-01 | ||
| 1.231550603292825598e-02 9.999968208307469242e-01 | ||
| 1.260382929679727468e-02 9.999966536428365194e-01 | ||
| 1.289890261253308704e-02 9.999964776638249342e-01 | ||
| 1.320088400831418048e-02 9.999962924315689561e-01 | ||
| 1.350993521198026563e-02 9.999960974596427965e-01 | ||
| 1.382622173764655633e-02 9.999958922360625557e-01 | ||
| 1.414991297434575919e-02 9.999956762219456285e-01 | ||
| 1.448118227674533715e-02 9.999954488500986116e-01 | ||
| 1.482020705798858633e-02 9.999952095235312699e-01 | ||
| 1.516716888470922599e-02 9.999949576138937868e-01 | ||
| 1.552225357427047120e-02 9.999946924598307474e-01 | ||
| 1.588565129428052766e-02 9.999944133652500788e-01 | ||
| 1.625755666443794156e-02 9.999941195975009522e-01 | ||
| 1.663816886076129042e-02 9.999938103854564275e-01 | ||
| 1.702769172225899671e-02 9.999934849174956231e-01 | ||
| 1.742633386009649968e-02 9.999931423393808583e-01 | ||
| 1.783430876931909465e-02 9.999927817520235518e-01 | ||
| 1.825183494319043351e-02 9.999924022091333242e-01 | ||
| 1.867913599020782842e-02 9.999920027147445323e-01 | ||
| 1.911644075385701691e-02 9.999915822206131288e-01 | ||
| 1.956398343517063917e-02 9.999911396234785199e-01 | ||
| 2.002200371815584384e-02 9.999906737621817587e-01 | ||
| 2.049074689815847186e-02 9.999901834146339707e-01 | ||
| 2.097046401323232959e-02 9.999896672946262388e-01 | ||
| 2.146141197858403640e-02 9.999891240484735100e-01 | ||
| 2.196385372416545870e-02 9.999885522514840863e-01 | ||
| 2.247805833548725124e-02 9.999879504042442635e-01 | ||
| 2.300430119772918156e-02 9.999873169287111230e-01 | ||
| 2.354286414322417920e-02 9.999866501641002658e-01 | ||
| 2.409403560239524456e-02 9.999859483625617163e-01 | ||
| 2.465811075822603796e-02 9.999852096846298943e-01 | ||
| 2.523539170434765944e-02 9.999844321944375558e-01 | ||
| 2.582618760682675943e-02 9.999836138546821518e-01 | ||
| 2.643081486974105734e-02 9.999827525213302870e-01 | ||
| 2.704959730463134260e-02 9.999818459380481750e-01 | ||
| 2.768286630392066683e-02 9.999808917303442124e-01 | ||
| 2.833096101839324005e-02 9.999798873994077963e-01 | ||
| 2.899422853882876669e-02 9.999788303156301739e-01 | ||
| 2.967302408188869645e-02 9.999777177117906701e-01 | ||
| 3.036771118035457365e-02 9.999765466758909760e-01 | ||
| 3.107866187782013997e-02 9.999753141436207304e-01 | ||
| 3.180625692794119413e-02 9.999740168904348581e-01 | ||
| 3.255088599835058438e-02 9.999726515232227886e-01 | ||
| 3.331294787934673679e-02 9.999712144715513507e-01 | ||
| 3.409285069746811198e-02 9.999697019784559160e-01 | ||
| 3.489101213406773511e-02 9.999681100907619191e-01 | ||
| 3.570785964900462933e-02 9.999664346489094413e-01 | ||
| 3.654383070957256674e-02 9.999646712762579881e-01 | ||
| 3.739937302478797687e-02 9.999628153678463693e-01 | ||
| 3.827494478516311333e-02 9.999608620785778168e-01 | ||
| 3.917101490809260511e-02 9.999588063108063585e-01 | ||
| 4.008806328898464888e-02 9.999566427012904768e-01 | ||
| 4.102658105827192148e-02 9.999543656074868503e-01 | ||
| 4.198707084443910331e-02 9.999519690931498728e-01 | ||
| 4.297004704320839252e-02 9.999494469132035324e-01 | ||
| 4.397603609302721400e-02 9.999467924978514555e-01 | ||
| 4.500557675700497806e-02 9.999439989358873682e-01 | ||
| 4.605922041145105866e-02 9.999410589571686714e-01 | ||
| 4.713753134116724364e-02 9.999379649142121629e-01 | ||
| 4.824108704165368938e-02 9.999347087628717157e-01 | ||
| 4.937047852839003548e-02 9.999312820420532821e-01 | ||
| 5.052631065335679711e-02 9.999276758524232589e-01 | ||
| 5.170920242896757946e-02 9.999238808340631390e-01 | ||
| 5.291978735958442065e-02 9.999198871430216018e-01 | ||
| 5.415871378079470388e-02 9.999156844267136357e-01 | ||
| 5.542664520663106997e-02 9.999112617981147366e-01 | ||
| 5.672426068491977919e-02 9.999066078086948917e-01 | ||
| 5.805225516094898730e-02 9.999017104200375039e-01 | ||
| 5.941133984965033671e-02 9.998965569740840831e-01 | ||
| 6.080224261649423700e-02 9.998911341619446391e-01 | ||
| 6.222570836730231120e-02 9.998854279912122722e-01 | ||
| 6.368249944718586131e-02 9.998794237517181216e-01 | ||
| 6.517339604882423088e-02 9.998731059796595044e-01 | ||
| 6.669919663030121626e-02 9.998664584200358529e-01 | ||
| 6.826071834272388894e-02 9.998594639873205070e-01 | ||
| 6.985879746785249311e-02 9.998521047242995285e-01 | ||
| 7.149428986597576585e-02 9.998443617590035970e-01 | ||
| 7.316807143427195292e-02 9.998362152596589336e-01 | ||
| 7.488103857590022727e-02 9.998276443875826480e-01 | ||
| 7.663410868007458632e-02 9.998186272479449022e-01 | ||
| 7.842822061337681450e-02 9.998091408383210643e-01 | ||
| 8.026433522257174491e-02 9.997991609949565817e-01 | ||
| 8.214343584919425734e-02 9.997886623366645242e-01 | ||
| 8.406652885618325077e-02 9.997776182062779737e-01 | ||
| 8.603464416684504512e-02 9.997660006095810958e-01 | ||
| 8.804883581643464796e-02 9.997537801516380718e-01 | ||
| 9.011018251665019185e-02 9.997409259704473916e-01 | ||
| 9.221978823334327224e-02 9.997274056678456811e-01 | ||
| 9.437878277775381408e-02 9.997131852375900074e-01 | ||
| 9.658832241158703258e-02 9.996982289905500529e-01 | ||
| 9.884959046625586832e-02 9.996824994769475392e-01 | ||
| 1.011637979766207007e-01 9.996659574055807296e-01 | ||
| 1.035321843295662070e-01 9.996485615599838281e-01 | ||
| 1.059560179277615893e-01 9.996302687114730912e-01 | ||
| 1.084365968689610382e-01 9.996110335290420146e-01 | ||
| 1.109752496412072104e-01 9.995908084860777310e-01 | ||
| 1.135733358343105209e-01 9.995695437638809633e-01 | ||
| 1.162322468679852366e-01 9.995471871519853169e-01 | ||
| 1.189534067370319470e-01 9.995236839452859012e-01 | ||
| 1.217382727739661358e-01 9.994989768380042605e-01 | ||
| 1.245883364295008178e-01 9.994730058145349094e-01 | ||
| 1.275051240713013512e-01 9.994457080372397551e-01 | ||
| 1.304901978014402220e-01 9.994170177312806658e-01 | ||
| 1.335451562929898806e-01 9.993868660666067605e-01 | ||
| 1.366716356462006621e-01 9.993551810372424127e-01 | ||
| 1.398713102647238526e-01 9.993218873380533829e-01 | ||
| 1.431458937523479302e-01 9.992869062392065738e-01 | ||
| 1.464971398307285677e-01 9.992501554585774270e-01 | ||
| 1.499268432786045602e-01 9.992115490324012805e-01 | ||
| 1.534368408930012473e-01 9.991709971845164073e-01 | ||
| 1.570290124729377401e-01 9.991284061945949757e-01 | ||
| 1.607052818261639204e-01 9.990836782658178983e-01 | ||
| 1.644676177994663646e-01 9.990367113925088249e-01 | ||
| 1.683180353330956669e-01 9.989873992283134774e-01 | ||
| 1.722585965398786556e-01 9.989356309555779134e-01 | ||
| 1.762914118095947891e-01 9.988812911566614661e-01 | ||
| 1.804186409392072588e-01 9.988242596880023694e-01 | ||
| 1.846424942895543431e-01 9.987644115578406812e-01 | ||
| 1.889652339691209604e-01 9.987016168086045864e-01 | ||
| 1.933891750455231096e-01 9.986357404050585362e-01 | ||
| 1.979166867853557332e-01 9.985666421294274731e-01 | ||
| 2.025501939230667514e-01 9.984941764848151990e-01 | ||
| 2.072921779595370828e-01 9.984181926083578462e-01 | ||
| 2.121451784910629856e-01 9.983385341956740877e-01 | ||
| 2.171117945694504281e-01 9.982550394382970760e-01 | ||
| 2.221946860939523760e-01 9.981675409759077633e-01 | ||
| 2.273965752357928749e-01 9.980758658653174908e-01 | ||
| 2.327202478960408438e-01 9.979798355682835131e-01 | ||
| 2.381685551976158166e-01 9.978792659603744619e-01 | ||
| 2.437444150122220488e-01 9.977739673632349815e-01 | ||
| 2.494508135230316670e-01 9.976637446027281086e-01 | ||
| 2.552908068239517769e-01 9.975483970955576485e-01 | ||
| 2.612675225563327874e-01 9.974277189670880395e-01 | ||
| 2.673841615839946395e-01 9.973014992031848935e-01 | ||
| 2.736439997074670560e-01 9.971695218389885484e-01 | ||
| 2.800503894183630771e-01 9.970315661876103519e-01 | ||
| 2.866067616948251850e-01 9.968874071117900248e-01 | ||
| 2.933166278390043624e-01 9.967368153415827603e-01 | ||
| 3.001835813575589040e-01 9.965795578411406064e-01 | ||
| 3.072112998861757371e-01 9.964153982276174881e-01 | ||
| 3.144035471591500319e-01 9.962440972451482857e-01 | ||
| 3.217641750250737065e-01 9.960654132967341479e-01 | ||
| 3.292971255097151273e-01 9.958791030366913599e-01 | ||
| 3.370064329271928449e-01 9.956849220260978184e-01 | ||
| 3.448962260405757929e-01 9.954826254533788443e-01 | ||
| 3.529707302730650254e-01 9.952719689218241239e-01 | ||
| 3.612342699709432114e-01 9.950527093054002403e-01 | ||
| 3.696912707195028069e-01 9.948246056737242160e-01 | ||
| 3.783462617131929107e-01 9.945874202864835034e-01 | ||
| 3.872038781812555119e-01 9.943409196569327202e-01 | ||
| 3.962688638701478139e-01 9.940848756833490230e-01 | ||
| 4.055460735840829556e-01 9.938190668465096689e-01 | ||
| 4.150404757850476578e-01 9.935432794703462633e-01 | ||
| 4.247571552536898443e-01 9.932573090419519746e-01 | ||
| 4.347013158125024312e-01 9.929609615860615079e-01 | ||
| 4.448782831127585102e-01 9.926540550880122993e-01 | ||
| 4.552935074866950038e-01 9.923364209580253226e-01 | ||
| 4.659525668664681874e-01 9.920079055284416469e-01 | ||
| 4.768611697714469355e-01 9.916683715743223049e-01 | ||
| 4.880251583654431347e-01 9.913176998465925704e-01 | ||
| 4.994505115855140120e-01 9.909557906057033794e-01 | ||
| 5.111433483440167569e-01 9.905825651426192202e-01 | ||
| 5.231099308056263997e-01 9.901979672728519200e-01 | ||
| 5.353566677410723784e-01 9.898019647882707606e-01 | ||
| 5.478901179593942405e-01 9.893945508505626041e-01 | ||
| 5.607169938205458504e-01 9.889757453095212592e-01 | ||
| 5.738441648302395892e-01 9.885455959288464989e-01 | ||
| 5.872786613189482363e-01 9.881041795018604690e-01 | ||
| 6.010276782070381740e-01 9.876516028395242452e-01 | ||
| 6.150985788580500824e-01 9.871880036133986458e-01 | ||
| 6.294988990221888070e-01 9.867135510367466278e-01 | ||
| 6.442363508721373755e-01 9.862284463678491209e-01 | ||
| 6.593188271333548789e-01 9.857329232208016379e-01 | ||
| 6.747544053110693385e-01 9.852272476705832283e-01 | ||
| 6.905513520162327445e-01 9.847117181410398601e-01 | ||
| 7.067181273927490848e-01 9.841866650665724858e-01 | ||
| 7.232633896483536828e-01 9.836524503207655368e-01 | ||
| 7.401959996915644657e-01 9.831094664078784406e-01 | ||
| 7.575250258771912826e-01 9.825581354160292102e-01 | ||
| 7.752597488629460187e-01 9.819989077339639216e-01 | ||
| 7.934096665797492065e-01 9.814322605364802499e-01 | ||
| 8.119844993184013315e-01 9.808586960467884364e-01 | ||
| 8.309941949353395474e-01 9.802787395872940568e-01 | ||
| 8.504489341802676794e-01 9.796929374333865903e-01 | ||
| 8.703591361485161215e-01 9.791018544877717611e-01 | ||
| 8.907354638610439634e-01 9.785060717956002296e-01 | ||
| 9.115888299750822821e-01 9.779061839230799302e-01 | ||
| 9.329304026284686024e-01 9.773027962243379108e-01 | ||
| 9.547716114208061322e-01 9.766965220229870681e-01 | ||
| 9.771241535346496532e-01 9.760879797360993981e-01 | ||
| 1.000000000000000000e+00 9.754777899690698639e-01 |
110 changes: 110 additions & 0 deletions
110
benchmarks/data/baryons_vd20_from_marcel/VD20_r200_k0.1.txt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| 0.010000000 -0.61923694 | ||
| 0.020000000 -0.55763766 | ||
| 0.030000000 -0.48728581 | ||
| 0.040000000 -0.41555631 | ||
| 0.050000000 -0.34829225 | ||
| 0.060000000 -0.28883801 | ||
| 0.070000000 -0.23833645 | ||
| 0.080000000 -0.19650618 | ||
| 0.090000000 -0.16236108 | ||
| 0.10000000 -0.13469009 | ||
| 0.11000000 -0.11231532 | ||
| 0.12000000 -0.094203008 | ||
| 0.13000000 -0.079493403 | ||
| 0.14000000 -0.067492344 | ||
| 0.15000000 -0.057648360 | ||
| 0.16000000 -0.049526853 | ||
| 0.17000000 -0.042786349 | ||
| 0.18000000 -0.037158484 | ||
| 0.19000000 -0.032431860 | ||
| 0.20000000 -0.028439348 | ||
| 0.21000000 -0.025048223 | ||
| 0.22000000 -0.022152562 | ||
| 0.23000000 -0.019667381 | ||
| 0.24000000 -0.017524132 | ||
| 0.25000000 -0.015667226 | ||
| 0.26000000 -0.014051338 | ||
| 0.27000000 -0.012639322 | ||
| 0.28000000 -0.011400573 | ||
| 0.29000000 -0.010309756 | ||
| 0.30000000 -0.0093457911 | ||
| 0.31000000 -0.0084910591 | ||
| 0.32000000 -0.0077307670 | ||
| 0.33000000 -0.0070524395 | ||
| 0.34000000 -0.0064455121 | ||
| 0.35000000 -0.0059010017 | ||
| 0.36000000 -0.0054112402 | ||
| 0.37000000 -0.0049696569 | ||
| 0.38000000 -0.0045706015 | ||
| 0.39000000 -0.0042091975 | ||
| 0.40000000 -0.0038812222 | ||
| 0.41000000 -0.0035830073 | ||
| 0.42000000 -0.0033113556 | ||
| 0.43000000 -0.0030634725 | ||
| 0.44000000 -0.0028369077 | ||
| 0.45000000 -0.0026295069 | ||
| 0.46000000 -0.0024393709 | ||
| 0.47000000 -0.0022648209 | ||
| 0.48000000 -0.0021043691 | ||
| 0.49000000 -0.0019566938 | ||
| 0.50000000 -0.0018206182 | ||
| 0.51000000 -0.0016950918 | ||
| 0.52000000 -0.0015791750 | ||
| 0.53000000 -0.0014720257 | ||
| 0.54000000 -0.0013728874 | ||
| 0.55000000 -0.0012810793 | ||
| 0.56000000 -0.0011959876 | ||
| 0.57000000 -0.0011170577 | ||
| 0.58000000 -0.0010437880 | ||
| 0.59000000 -0.00097572357 | ||
| 0.60000000 -0.00091245154 | ||
| 0.61000000 -0.00085359645 | ||
| 0.62000000 -0.00079881637 | ||
| 0.63000000 -0.00074779948 | ||
| 0.64000000 -0.00070026101 | ||
| 0.65000000 -0.00065594057 | ||
| 0.66000000 -0.00061459973 | ||
| 0.67000000 -0.00057601991 | ||
| 0.68000000 -0.00054000054 | ||
| 0.69000000 -0.00050635728 | ||
| 0.70000000 -0.00047492063 | ||
| 0.71000000 -0.00044553448 | ||
| 0.72000000 -0.00041805497 | ||
| 0.73000000 -0.00039234939 | ||
| 0.74000000 -0.00036829519 | ||
| 0.75000000 -0.00034577914 | ||
| 0.76000000 -0.00032469648 | ||
| 0.77000000 -0.00030495027 | ||
| 0.78000000 -0.00028645069 | ||
| 0.79000000 -0.00026911448 | ||
| 0.80000000 -0.00025286441 | ||
| 0.81000000 -0.00023762879 | ||
| 0.82000000 -0.00022334101 | ||
| 0.83000000 -0.00020993919 | ||
| 0.84000000 -0.00019736576 | ||
| 0.85000000 -0.00018556718 | ||
| 0.86000000 -0.00017449357 | ||
| 0.87000000 -0.00016409849 | ||
| 0.88000000 -0.00015433866 | ||
| 0.89000000 -0.00014517374 | ||
| 0.90000000 -0.00013656607 | ||
| 0.91000000 -0.00012848054 | ||
| 0.92000000 -0.00012088436 | ||
| 0.93000000 -0.00011374691 | ||
| 0.94000000 -0.00010703958 | ||
| 0.95000000 -0.00010073563 | ||
| 0.96000000 -9.4810071e-05 | ||
| 0.97000000 -8.9239524e-05 | ||
| 0.98000000 -8.4002119e-05 | ||
| 0.99000000 -7.9077393e-05 | ||
| 1.0000000 -7.4446188e-05 | ||
| 1.0100000 -7.0090569e-05 | ||
| 1.0200000 -6.5993737e-05 | ||
| 1.0300000 -6.2139955e-05 | ||
| 1.0400000 -5.8514476e-05 | ||
| 1.0500000 -5.5103480e-05 | ||
| 1.0600000 -5.1894010e-05 | ||
| 1.0700000 -4.8873916e-05 | ||
| 1.0800000 -4.6031805e-05 | ||
| 1.0900000 -4.3356988e-05 | ||
| 1.1000000 -4.0839436e-05 |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my other comment, I wonder why we cannot produce this on the fly during the test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Elisa! I’ve clarified that the vd19 file is a frozen regression target, not an external benchmark (vd19 doesn’t provide public code or tables). I updated the test docstring accordingly and kept the make script so the provenance is explicit.
This was done in 175ce5a