An open-source book on building better code for science using AI.
Author: Russ Poldrack
Contributors: @giorgioarcara, @yarikoptic
Content will be posted on Substack and added here as it is released.
A rendered version of the complete book is available at https://poldrack.github.io/BetterCodeBetterScience/.
Table of contents (see here for a more detailed roadmap)
- Introduction
- Essential Tools and Techniques
- Principles of Software Engineering
- Software Testing
- Part 1: Introduction
- Part 2: The structure of a good software test
- Part 3: The challenges of AI-generated tests
- Part 4: Test-driven development and AI-assisted coding
- Part 5: Text fixtures and mocking
- Part 6: Parameterized testing
- Part 7: Property-based testing
- Part 8: Automated testing with GitHub Actions
- Part 9: Optimizing the testing workflow
- Coding with AI
- Using AI coding assistants
- AI-assisted coding approaches
- Project Structure and Management
- Validating Scientific Analyses
- Optimizing Performance
- Data Organization and Management
- Workflow Management
- High-Performance Computing
- Sharing Research Objects