Skip to main content

How do I version and freeze my research platform so the study version is reproducible?

Tag one release in version control, pin every prompt and model snapshot to that tag, export the configuration, log every change made during the pilot, and archive code, config and de-identified data together. For most research platforms the setup takes 20 to 40 hours of engineering, best done before the first student logs in.

What has to be frozen, and where it lives

A study version is not just the code. It is everything that shaped what a participant saw: the code, the content, the prompts, the model, and the settings that assigned conditions. If any one of these can change without a record, the version is not reproducible.

Artifact What to freeze Where it lives
Code A tagged commit plus dependency lock files Git repository, e.g. tag study-v1.0.0
Prompts Every system and user prompt template, as files The same repository, under the same tag
Model Dated model snapshot ID and parameters A config file in the repository
Configuration Condition assignment, feature flags, content bank, security rules Exported snapshot, hashed and stored with the tag
Changes Every deploy during the pilot, with date and reason CHANGELOG.md plus a version stamp on every logged event
Final dataset De-identified data, codebook, code and config at the final tag An institutional or data repository the IRB and DUA allow

A note on What Works Clearinghouse: WWC reviewers rate the study design and reporting, such as assignment, attrition and baseline equivalence, not your source code. What a frozen platform gives them, and any replication team, is a precise description of the intervention as delivered.

Release tagging: one name for the study version

Before the pilot starts, cut a release and give it an annotated Git tag such as study-v1.0.0. Commit the lock file (package-lock.json, poetry.lock or similar) so a rebuild pulls the same library versions. If you deploy containers, record the image digest, not just the tag name, because tags can be moved.

Then make the running app report its version. Every event the platform logs should carry an app_version field. This one field is what lets an analyst separate data by version later, and it costs an hour to add before launch and weeks to reconstruct after.

Frozen prompts and model versions

For studies that use a language model, prompts and models drift faster than code. Treat them as code.

  • Store prompt templates as files in the repository, not in a database field someone can edit from an admin screen.
  • Call a dated model snapshot ID, not an alias like latest that the vendor updates silently.
  • Record temperature, max tokens, seed where supported, and any retrieval settings in a versioned config file.
  • Log the full request and response for every model call, with the prompt file’s hash and the model ID.

Be honest about the limit here. Hosted models are retired on the vendor’s schedule, so a replication two years later may not be able to call the same model. The logged inputs and outputs are then the record of what participants received, and the replication team documents the substitution. If exact re-execution matters to the design, an open-weight model whose weights you archive with a checksum is the only way to guarantee it.

Config snapshots and change logs during the pilot

Export the configuration at the freeze: condition assignments, feature flags, problem or content banks, and database security rules. Strip secrets, hash the file, and store it next to the tag. Repeat the export every time anything in it changes.

Agree on a change policy with the PI before launch. A typical rule: during the study window, only fixes for crashes, data loss and security ship; new features and content edits wait. Each change gets a new patch tag, a dated changelog entry, the reason, the conditions affected, and the PI’s approval.

Worked example: a 12-week pilot

Week Release Change Effect on data
0 study-v1.0.0 Frozen study version Baseline for all conditions
2 study-v1.0.1 Fix for lost saves on slow school networks Analyst flags 2 weeks of sessions for a save-failure check
7 study-v1.0.2 Security patch to a dependency No change to participant experience; logged anyway
12 study-v1.0.2 Final tag archived Dataset and code archived at this tag

Three tags, three changelog entries, and every event stamped with one of them. A reviewer can see exactly what changed, when, and for whom.

Discipline in deployment matters as much as the tags. On an NSF-funded React/Firebase platform used across several universities, we made saving and loading student work 100% reliable and gave the distributed research groups one deployment pipeline, so there was a single path by which any version reached participants.

The archive for the final dataset

At the end of the study, package one archive that a stranger could use without emailing you:

  1. The code at the final tag, with a README that builds it.
  2. Prompt files, model IDs and parameters, and the config snapshots for every tag.
  3. The changelog, with dates mapped to study weeks.
  4. The de-identified dataset, a codebook defining every field, and the app_version values.
  5. A short methods note describing how versions map to participants and conditions.

What you may share depends on your IRB approval, the data use agreement with each district, and FERPA. We design the export so identifiers are separable from the research data, but the institution’s counsel or compliance office decides what leaves the building and where it is deposited, whether that is an institutional repository, ICPSR or OSF.

Frequently asked questions

Does What Works Clearinghouse review the software itself?
No. WWC reviewers assess the study’s design and reporting, such as how participants were assigned, attrition and baseline equivalence. A frozen, documented platform supports that review by describing the intervention as delivered, and it makes a later replication possible.

Can I freeze a hosted AI model like GPT or Claude for a study?
You can pin a dated model snapshot ID for the study period, but vendors retire snapshots on their own schedule. Log every request and response so the record of what participants received survives the model. If exact re-execution is essential, use an open-weight model and archive its weights with a checksum.

What if we find a bug in the middle of the pilot?
Fix it if it causes crashes, data loss or a security risk, and ship it as a new patch tag with a dated changelog entry and the PI’s approval. Every event logged after the fix carries the new version, so the analyst can check whether the bug affected outcomes. Feature changes should wait until the study window closes.

How long should the study archive be kept?
Federal grant rules generally require keeping records for three years after the final financial report, and your award terms, IRB or data use agreements may require longer. Many teams deposit the archive in a repository so it outlives staff turnover. Your institution’s compliance office sets the actual retention period.

Who actually does the work if we hire Smplfy?
Charlie scopes every project and makes the architecture calls, and Smplfy’s own engineers build it. The first project has a fixed scope, and you read a written scope before committing. A retainer across the pilot period starts only if you choose one.

Freezing a platform before a pilot or replication?

We offer a free 30-minute review of your pilot plan or the technical section of your proposal. Bring the prototype’s repository or a demo, the pilot timeline, and the funder’s requirements. Start a conversation.