Skip to content

Conversation

@dorchard
Copy link

There is this an idea in computer science about fundamental laws for implementations of 'state' which include things like putting a value into a store and then retrieving it yields the same result, or that putting the same value twice has the same effect as just doing it once.

I think that this could be checked for the intersection of input and output variables in a BMI to ensure that nothing untoward is happening underneath with set_value and get_value. There doesn't seem anything like this in the current bmi-tester. I have had a first pass at it here which seems to compile (but I need to try it on more things first), but would appreciate some discussion (and I don't mind if this gets closed without merge). Does this makes sense? Is it useful?

@dorchard dorchard marked this pull request as ready for review May 28, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant