Need: way to match instances of model data to code that generated it.
Current behavior is not bad. Old model instances from the DB rendered with new model code have inputs that are as good as expected. Output can be a little messed up.
Possible solution is to save full model code in the model instance in the DB. Very small storage (40kb). Warn user if instance code doesn't match latest code, offer to re-run.
Another possible solution, probably the best one, is to just make the output rendering more resistant to bad data.
Let's sit on this issue for a while and think about it.
Need: way to match instances of model data to code that generated it.
Current behavior is not bad. Old model instances from the DB rendered with new model code have inputs that are as good as expected. Output can be a little messed up.
Possible solution is to save full model code in the model instance in the DB. Very small storage (40kb). Warn user if instance code doesn't match latest code, offer to re-run.
Another possible solution, probably the best one, is to just make the output rendering more resistant to bad data.
Let's sit on this issue for a while and think about it.