Skip to content

fix: Fixed missing parameters in "dynamic" #83

fix: Fixed missing parameters in "dynamic"

fix: Fixed missing parameters in "dynamic" #83

Triggered via pull request January 19, 2024 00:08
Status Failure
Total duration 6m 7s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build (3.11, ubuntu-latest)
Process completed with exit code 1.
build (3.11, macOS-latest)
Process completed with exit code 1.
build (3.10, macOS-latest): tests/sims/test_simulator.py#L31
TestSimulator.test_state_dict AssertionError: assert {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.h0': tensor([]), 'EPL.z_l': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.q': tensor([]), 'EPL.phi': tensor([]), 'EPL.b': tensor([]), 'EPL.t': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([]), 'Sersic.q': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.n': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.Ie': tensor([])} == {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097)} Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: { + 'EPL.b': tensor([]), + 'EPL.phi': tensor([]), + 'EPL.q': tensor([]), + 'EPL.t': tensor([]), + 'EPL.x0': tensor([]), + 'EPL.y0': tensor([]), + 'EPL.z_l': tensor([]), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), + 'FlatLambdaCDM.h0': tensor([]), + 'Sersic.Ie': tensor([]), + 'Sersic.Re': tensor([]), + 'Sersic.n': tensor([]), + 'Sersic.phi': tensor([]), + 'Sersic.q': tensor([]), + 'Sersic.x0': tensor([]), + 'Sersic.y0': tensor([]), 'Sim.z_s': tensor(1.), }
build (3.10, macOS-latest): tests/sims/test_state_dict.py#L56
TestStateDict.test_from_params AssertionError: assert StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)]) == StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: - StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) + StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)])
build (3.10, macOS-latest)
Process completed with exit code 1.
build (3.10, ubuntu-latest): tests/sims/test_simulator.py#L31
TestSimulator.test_state_dict AssertionError: assert {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.h0': tensor([]), 'EPL.z_l': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.q': tensor([]), 'EPL.phi': tensor([]), 'EPL.b': tensor([]), 'EPL.t': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([]), 'Sersic.q': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.n': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.Ie': tensor([])} == {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097)} Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: { + 'EPL.b': tensor([]), + 'EPL.phi': tensor([]), + 'EPL.q': tensor([]), + 'EPL.t': tensor([]), + 'EPL.x0': tensor([]), + 'EPL.y0': tensor([]), + 'EPL.z_l': tensor([]), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), + 'FlatLambdaCDM.h0': tensor([]), + 'Sersic.Ie': tensor([]), + 'Sersic.Re': tensor([]), + 'Sersic.n': tensor([]), + 'Sersic.phi': tensor([]), + 'Sersic.q': tensor([]), + 'Sersic.x0': tensor([]), + 'Sersic.y0': tensor([]), 'Sim.z_s': tensor(1.), }
build (3.10, ubuntu-latest): tests/sims/test_state_dict.py#L56
TestStateDict.test_from_params AssertionError: assert StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)]) == StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: - StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) + StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)])
build (3.10, ubuntu-latest)
Process completed with exit code 1.
build (3.9, ubuntu-latest)
Process completed with exit code 1.
build (3.9, macOS-latest)
Process completed with exit code 1.
build (3.9, windows-latest)
Process completed with exit code 1.
build (3.10, windows-latest): tests\sims\test_simulator.py#L31
TestSimulator.test_state_dict AssertionError: assert {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.h0': tensor([]), 'EPL.z_l': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.q': tensor([]), 'EPL.phi': tensor([]), 'EPL.b': tensor([]), 'EPL.t': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([]), 'Sersic.q': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.n': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.Ie': tensor([])} == {'Sim.z_s': tensor(1.), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'FlatLambdaCDM.Om0': tensor(0.3097)} Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: { + 'EPL.b': tensor([]), + 'EPL.phi': tensor([]), + 'EPL.q': tensor([]), + 'EPL.t': tensor([]), + 'EPL.x0': tensor([]), + 'EPL.y0': tensor([]), + 'EPL.z_l': tensor([]), 'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), + 'FlatLambdaCDM.h0': tensor([]), + 'Sersic.Ie': tensor([]), + 'Sersic.Re': tensor([]), + 'Sersic.n': tensor([]), + 'Sersic.phi': tensor([]), + 'Sersic.q': tensor([]), + 'Sersic.x0': tensor([]), + 'Sersic.y0': tensor([]), 'Sim.z_s': tensor(1.), }
build (3.10, windows-latest): tests\sims\test_state_dict.py#L56
TestStateDict.test_from_params AssertionError: assert StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)]) == StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) Common items: {'FlatLambdaCDM.Om0': tensor(0.3097), 'FlatLambdaCDM.critical_density_0': tensor(1.2705e+11), 'Sim.z_s': tensor(1.)} Left contains 15 more items: {'EPL.b': tensor([]), 'EPL.phi': tensor([]), 'EPL.q': tensor([]), 'EPL.t': tensor([]), 'EPL.x0': tensor([]), 'EPL.y0': tensor([]), 'EPL.z_l': tensor([]), 'FlatLambdaCDM.h0': tensor([]), 'Sersic.Ie': tensor([]), 'Sersic.Re': tensor([]), 'Sersic.n': tensor([]), 'Sersic.phi': tensor([]), 'Sersic.q': tensor([]), 'Sersic.x0': tensor([]), 'Sersic.y0': tensor([])} Full diff: - StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097))]) + StateDict([('Sim.z_s', tensor(1.)), ('FlatLambdaCDM.critical_density_0', tensor(1.2705e+11)), ('FlatLambdaCDM.Om0', tensor(0.3097)), ('FlatLambdaCDM.h0', None), ('EPL.z_l', None), ('EPL.x0', None), ('EPL.y0', None), ('EPL.q', None), ('EPL.phi', None), ('EPL.b', None), ('EPL.t', None), ('Sersic.x0', None), ('Sersic.y0', None), ('Sersic.q', None), ('Sersic.phi', None), ('Sersic.n', None), ('Sersic.Re', None), ('Sersic.Ie', None)])
build (3.10, windows-latest)
Process completed with exit code 1.
build (3.11, windows-latest)
Process completed with exit code 1.