-
Notifications
You must be signed in to change notification settings - Fork 30
Codebase
The codebase object records a reference to the code used for some phase of the sim:
- the Model
:source/codebase
records the code used to create the model - the Test
:source/codebase
records the code used to create the test activity stream - the Sim
:source/codebase
records the code use in the running of the sim
Given that a key objective of simulation is repeatability, recording the codebase for all simulation activities is critical, allowing you to go back to the exact same code that was used at that phase in the sim. This also allows you to track e.g. running sims for different points in time of a codebase against the same test activity stream.
Codebase references are, like all key entities in Simulant, [tagged](Tagged Entities) -- in this case with the :codebase/type
tag. The :codebase.type/git
tag is included with Simulant, but it is easy to add other codebase types -- just make sure you specify enough information to get back to a point in time value of the codebase.