Skip to main content

What is the difference between code and data files?

Updated over 2 years ago

Code consists of a compute capsule's source files, that means anything executable. Data are any files that the code operates on. When a capsule runs, code should be in /code  while data should be in /data .

Follow the help page link for reasons to clearly separate your code and data.

Note: If you publish on Code Ocean, this will be something we ask of you as part of the verification process.

Did this answer your question?