# Ten Simple Rules for AI-Assisted Coding in Science

arXiv: https://arxiv.org/abs/2510.22254 · HTML: https://mlsanity.com/paper/2510.22254/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 25 Oct 2025.

## Built on by (most cited first, 3 of 3)

- [AI IDEs or Autonomous Agents? Measuring the Impact of Coding Agents on Software Development](https://mlsanity.com/paper/2601.13597/) (2026)
- [LLMoxie: Exploring Agentic AI for Scientific Software Development](https://mlsanity.com/paper/2607.02703/) (2026)
- [Aleena: Alignment Agent for Research Software Engineering Collaborations](https://mlsanity.com/paper/2607.08043/) (2026)

## Abstract (arXiv)

While AI coding tools have demonstrated potential to accelerate software development, their use in scientific computing raises critical questions about code quality and scientific validity. In this paper, we provide ten practical rules for AI-assisted coding that balance leveraging capabilities of AI with maintaining scientific and methodological rigor. We address how AI can be leveraged strategically throughout the development cycle with four key themes: problem preparation and understanding, managing context and interaction, testing and validation, and code quality assurance and iterative improvement. These principles serve to emphasize maintaining human agency in coding decisions, establishing robust validation procedures, and preserving the domain expertise essential for methodologically sound research. These rules are intended to help researchers harness AI's transformative potential for faster software development while ensuring that their code meets the standards of reliability, reproducibility, and scientific validity that research integrity demands.
