JuliaDynamics / JuliaDynamics/ProcessBasedModelling.jl
Improve test suite with deterministic test
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The very first test in the test suite fails. Locally on my computer it runs fine, but online it doesn't work.
Regardless, we have to improve this test. Now I am using a 1D energy balance model that is bistable. That is not a good approach. We should instead construct a stable linear 2D system, and add a 3rd equation of an exponential relaxation that relaxes to a function of the first two variables. There we know analytically what the fixed point solution should be! We should check that this system gives the correct ODEProblem then!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the first test in the test suite and inspect how its current 1D bistable energy-balance model constructs the ODEProblem. Replace that setup with a stable linear 2D system plus an exponential-relaxation equation, then verify the analytically known fixed point through the test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100