Code consists of all the compute capsule's source files, i.e. anything executable. Data are any files that the code operates on. When a capsule runs, code will be found in the /code  folder, while its data will be found in /data . (We recommend using the relative path ../data   to make it easier for you and your users to run your code locally.)

While there is nothing stopping you from mixing code and data, there are certain advantages to the separation — first and foremost, clearly communicating what is the essence of your innovation. Another advantage is making it easier for you and other users of your capsule to swap out your sample data for the data they’re interested in. Finally, you can assign different licenses to your code and data if applicable.

Did this answer your question?