Skip to content

Review code to ensure 'version' is not necessarily unique #284

@appukuttan-shailesh

Description

@appukuttan-shailesh

@apdavison proposed that:
model version does not have to be unique, but rather the combination of version and parameters should be considered unique.

You can have two model instances with the same code version but different parameters.

I had always worked with the presumption that version for instances was similar to alias for models/tests (a human readable unique identifier, as opposed to the UUID). All my implementations were with this understanding, and I believe even the unit tests were written to test only this aspect. So parts of the codebase could be faulty for this scenario.

The code for the web apps and unit tests would need to be reviewed and updated, where required, to handle this.

To be decided: if the same rule should apply for test instances

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions