Skip to content

Commit

Permalink
test: add reproducibility tests for BH models
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofavorito authored and marcofavoritobi committed Sep 21, 2023
1 parent 4741ff8 commit 355e44b
Showing 1 changed file with 99 additions and 99 deletions.
198 changes: 99 additions & 99 deletions tests/test_examples/test_brock_hommes.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,105 +142,105 @@ def test_bh4_model() -> None:
seed = 42
expected_output = np.array(
[
[0.08922630308955377],
[0.05634330307256878],
[0.06414066791141397],
[0.10508080199462444],
[0.06465297620368961],
[0.03484719426768868],
[0.08615989071274688],
[0.0913785448619035],
[0.045053375926644455],
[0.0518594284576269],
[0.01784820234069612],
[-0.0067186064600018615],
[0.0044211074099892765],
[-0.07247632349091557],
[-0.12025482695843324],
[-0.10683951117309803],
[-0.11411574029353017],
[-0.06706413981572737],
[-0.08159742266533461],
[-0.11298336100607148],
[-0.02118343228750438],
[-0.02181210940529453],
[-0.012505333335104242],
[-0.06493466919203203],
[-0.06777317743401062],
[-0.04278994714826678],
[-0.07482654477671165],
[-0.037818804665372116],
[-0.04933496149096962],
[-0.046094271127451104],
[-0.05581557283042439],
[0.034347731103219224],
[0.02512761448471606],
[-0.024599348685024267],
[0.014483613538501935],
[-0.03749490281067554],
[-0.018848070441442842],
[-0.0903445511592709],
[-0.11689354629214414],
[-0.07402552988455961],
[-0.0213222075208419],
[-0.006964839502735555],
[-0.009134785382048373],
[-0.01832020700387496],
[-0.07147812371256342],
[-0.07928009011168288],
[-0.07352800331763301],
[-0.009140520210023257],
[0.008546944049819353],
[-0.06352846392417359],
[-0.03278851202689395],
[-0.0374368443569739],
[-0.052935038718777555],
[-0.012897736194776518],
[0.03266695765916192],
[0.06049519104165061],
[0.00938186044487789],
[-0.0067468712667628295],
[0.008106506614296927],
[0.044569547984167394],
[0.012741617482752196],
[0.0008699617587074661],
[-0.04344780597100196],
[-0.07846817350512286],
[-0.023083526873630755],
[0.038777720968499366],
[0.02531720124286847],
[0.05708022146835147],
[0.0546597682993881],
[0.012409093566453908],
[0.02209176221801424],
[0.07646934910751865],
[0.05285043719427516],
[0.09823849499036635],
[-0.034478225021676856],
[0.005964825849260701],
[0.00840848077394073],
[-0.005946308824872809],
[-0.0007876637933463152],
[-0.07916013182054467],
[-0.06531819165292246],
[-0.030998771363946246],
[0.037675659019960714],
[0.007016669311064504],
[-0.02775270057141131],
[-0.03985857414739906],
[0.00829644879270901],
[0.019749784337136797],
[-0.007020082438403985],
[0.014910909631843444],
[0.014652643490741945],
[0.04854568430373574],
[0.006634050123336816],
[-0.009202535783939553],
[-0.022243503584838255],
[-0.0736884382963828],
[-0.040546552819254726],
[-0.017187399613289116],
[-0.011276721036127601],
[0.0892263],
[0.0563433],
[0.06414067],
[0.1050808],
[0.06465298],
[0.03484719],
[0.08615989],
[0.09137854],
[0.04505338],
[0.05185943],
[0.0178482],
[-0.00671861],
[0.00442111],
[-0.07247632],
[-0.12025483],
[-0.10683951],
[-0.11411574],
[-0.06706414],
[-0.08159742],
[-0.11298336],
[-0.02118343],
[-0.02181211],
[-0.01250533],
[-0.06493467],
[-0.06777318],
[-0.04278995],
[-0.07482654],
[-0.0378188],
[-0.04933496],
[-0.04609427],
[-0.05581557],
[0.03434773],
[0.02512761],
[-0.02459935],
[0.01448361],
[-0.0374949],
[-0.01884807],
[-0.09034455],
[-0.11689355],
[-0.07402553],
[-0.02132221],
[-0.00696484],
[-0.00913479],
[-0.01832021],
[-0.07147812],
[-0.07928009],
[-0.073528],
[-0.00914052],
[0.00854694],
[-0.06352846],
[-0.03278851],
[-0.03743684],
[-0.05293504],
[-0.01289774],
[0.03266696],
[0.06049519],
[0.00938186],
[-0.00674687],
[0.00810651],
[0.04456955],
[0.01274162],
[0.00086996],
[-0.04344781],
[-0.07846817],
[-0.02308353],
[0.03877772],
[0.0253172],
[0.05708022],
[0.05465977],
[0.01240909],
[0.02209176],
[0.07646935],
[0.05285044],
[0.09823849],
[-0.03447823],
[0.00596483],
[0.00840848],
[-0.00594631],
[-0.00078766],
[-0.07916013],
[-0.06531819],
[-0.03099877],
[0.03767566],
[0.00701667],
[-0.0277527],
[-0.03985857],
[0.00829645],
[0.01974978],
[-0.00702008],
[0.01491091],
[0.01465264],
[0.04854568],
[0.00663405],
[-0.00920254],
[-0.0222435],
[-0.07368844],
[-0.04054655],
[-0.0171874],
[-0.01127672],
[0.0],
]
)
Expand Down

0 comments on commit 355e44b

Please sign in to comment.