odissei-data / ODISSEI-code-library

Repository of the ODISSEI code library
https://odissei-data.github.io/ODISSEI-code-library/
3 stars 2 forks source link

Code quality checklist - development #4

Open AngelicaMaineri opened 2 weeks ago

AngelicaMaineri commented 2 weeks ago

Code quality checklist

The following checklist can be used to ensure good code documentation is available before publishing code, and it is meant for guidance for researchers (mostly social scientists, but not only) who are willing to share their pre-processing and analysis scripts. The initial set of requirements is based on the blog post "Practical tips on sharing code" published on the ODISSEI website in November 2024, but additions and changes can be discussed below.

Before publishing the code, the following should be checked in the syntax(es)/script(s):

The README:

Before publishing code:

After publishing code:

hanneoberman commented 1 day ago

Suggestion: add optional check box for a reproducible environment (e.g. renv or conda) or container (e.g. Docker)

AngelicaMaineri commented 1 day ago

Suggestion: add optional check box for a reproducible environment (e.g. renv or conda) or container (e.g. Docker)

Thank you @hanneoberman! This is a great suggestion