Updating changed models' code
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 20
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
If you change a child model's code, you currently need to reload the model, thus losing its current state.
I am wondering if we can update the code in models that have already been loaded. It seems to be possible in main NetLogo (if you set up a model, run it a bit, change one of its procedures, and run it again, it will run with the changed procedure). So it seems that you can change the code of a model without wiping its state.
Can we somehow transfer that feature to LevelSpace?
Contributor guide
No contributing guide indexed for this repository
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 comparing LevelSpace's behavior with main NetLogo, where a changed procedure can run without wiping model state. Read the related issue #43 for context. Done means loaded child models can accept code changes while preserving their current state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100