clean-code

Logo

Training materials and slides for courses on version control, clean code and documentation with practical examples and exercises in Python and R

View the Project on GitHub RISE-UNIBAS/clean-code

Course on version control, clean code and documentation

A 4-day hands-on course teaching researchers how to write maintainable code, document effectively, and collaborate using Git and GitHub. Includes practical examples in Python and R, plus AI-assisted coding workflows with Claude Code and PyCharm.

Course Structure

Day 1 (3 hours): Git, Documentation & GitHub - Version control basics and collaborative workflows

Day 2 (6 hours): Clean Code & AI-Assisted Coding - Code quality principles, file structures, and hands-on AI tools session

Day 3 (3 hours): Advanced Tools & Publishing - PyCharm integration, Sphinx documentation, GitHub-Zenodo pipeline

Day 4 (3 hours): Bring Your Own Data - Apply learned concepts to your own research projects

See detailed program for full schedule.

Target Audience

Researchers and graduate students working with code (Python, R, or similar) who want to improve their software development practices. Basic programming experience required.

Creator

These materials were created by the University of Basel’s Research and Infrastructure Support RISE (rise@unibas.ch) between 2024 and 2026.

File Structure

The file structure mirrors the outline of the course:

Upcoming and past course dates

For Instructors

These materials are designed to be modular and adaptable:

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.