-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Uncap those bases #1127
Uncap those bases #1127
Conversation
@TorkelE this looks like the first failure in the tests on the latest SciMLBase / DiffEqBase: Catalyst.jl/test/reactionsystem_core/coupled_equation_crn_systems.jl Lines 593 to 608 in ecd28d6
|
What is that doing? It says it's testing something in the comments but there is no test? |
@AayushSabharwal that looks like a bug, state values shouldn't be called on the odefunction but on the prob |
Hopefully @TorkelE can clarify but I guess it is ultimately testing two different model formulations give the same answers. |
The test are a little bit below. basically, the same model is declared twice, but me basically scrambling up the declaration as much as possible. Since the models are not actually different, their simulations should be identical, which does not seem to be the case anymore. Will have a look. Should be relatively straightforward to remove stuff until they are identical, and figure out which step do not work anymore. |
Yeah. SciML/OrdinaryDiffEq.jl#2541 fixes it, but I'm still figuring out how none of the tests caught that. Does OrdinaryDiffEq not test |
Yeah so OrdinaryDiffEq doesn't test OverrideInit at all, it should have lit up red for multiple reasons |
Only MTK hits overrideinit since it requires building the init system to test it. We probably want to section those out so that SciMLBase can have that in its downstream tests. |
SciMLBase has the entirety of MTK's tests in its downstream. The reason this wasn't detected is because when the initialization was moved to SciMLBase, OrdinaryDiffEq didn't use it so MTK didn't error. When OrdinaryDiffEq was made to use the shifted initialization, it didn't have MTK in its downstream so none of the OverrideInit stuff was hit. |
I see, that's just a twisted circle |
@TorkelE this: https://github.com/SciML/Catalyst.jl/actions/runs/11976784765/job/33393242914#step:6:1726 is the stability failure I mention in the TOFIX issue. I think that may be the last item on the list besides Can you take a look at it? I think I'll merge this unless you object and we can get that fixed in a followup? |
Yes, let's merge this and I will get to the stability thing over the weekend (away tomorrow, but will fix it on Sunday). The spatial one is under way, and the serialization one is ready once I have figured out the new way hierarchical systems are stored. Once I have that figured out I might add some normal tests to our file to ensure that is fully covered in the future as well. |
SteadyStateProblem / NonlinearProblem just needs to be setup to handle the initialization system, which should be done shortly. |
Let's see where things now stand.