Create intermediate Works with: Any AI

Reproducible Environment Setup

Structured brief

Pin versions so results can be rerun later.

The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.

Rate this prompt

Loading ratings…

Help me make my project reproducible. Language and main libraries: [LANGUAGE_AND_LIBRARIES]. Operating systems used: [OPERATING_SYSTEMS]. How the project is run: [HOW_RUN]. Who else needs to run it: [COLLABORATORS].

Provide:
1. A comparison of environment tools (venv with pip, conda, poetry, uv, containers) with a recommendation and the trade-offs.
2. The files to commit: a lock file with exact versions, a README with commands, a Makefile or task script, and a .gitignore (data, secrets, caches).
3. Exact commands to create the environment from scratch and to export it.
4. Randomness: set seeds for Python, NumPy, and the ML framework; explain that GPU operations may stay nondeterministic and how to report it.
5. Data versioning options (checksums, DVC, dated snapshots) and a rule for raw data being read-only.
6. A "fresh machine" test: clone, create environment, run, and compare outputs to stored checksums or tolerances.
7. A table of what can still break reproducibility (system libraries, time zones, locale, file ordering) and a check for each.
Write the README template.

Fill in before use

Optional: type your details and the prompt above updates. Nothing is saved or sent.

Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.

Related prompts