Pseudo-Data
Every replication package must run from start to finish on the data included in the package. Replace any data that cannot be shared publicly with pseudo-data that have the same structure as the original data.
Why pseudo-data?
Pseudo-data are artificial data that mimic the structure of the original data (file names, formats, variables, and types) without containing any actual records. The results they produce do not need to be meaningful. We consider pseudo-data a key part of every replication package for three reasons:
- Every submission can be checked: With pseudo-data, the DE can verify that the code runs without errors for all submissions.
- Original data stay untouched: The DE sets up and tests the full computational environment on pseudo-data first. Original data enter the secure environment only once the code runs cleanly, which minimizes their exposure and keeps the verification step short. Pseudo-data runs can also be significantly faster due to their narrower scope.
- Documentation that works: Future replicators receive data that show exactly what the code expects. Unlike codebooks, which are often incomplete or outdated, pseudo-data serve as working documentation of the data structure that replicators can use to adapt the code to their own data access.
Generation prompt
Unfold the prompt below and copy it to use with an LLM agent of your choice that can access and run code on your replication folder (e.g., Claude Code or OpenAI Codex). Make sure that using such a tool on your data is permitted under your data use agreements. If it is not, use the prompt as a guide to create the pseudo-data yourself. Either way, review the result carefully before submission: confirm that no original records remain in the package and that the code runs from the main entry point.
▶ View pseudo-data generation prompt
Loading prompt…
The prompt keeps your original files by moving them into _original subfolders next to the pseudo-data. Move all _original folders out of the replication folder before you upload the package to the RFS Dataverse. Keep the original files, since you will need them for the verification step.