Ten Simple Rules for AI-Assisted Coding in Science

📅 2025-10-25
📈 Citations: 0
Influential: 0
📄 PDF

career value

229K/year
🤖 AI Summary
AI-powered coding tools face significant challenges in scientific computing, including insufficient code reliability, reproducibility, and scientific validity. Method: This paper introduces the first systematic framework of AI-augmented programming guidelines tailored for scientific research, comprising ten actionable principles spanning problem modeling, human–AI collaborative interaction, domain-knowledge integration, automated testing, numerical verification, and iterative optimization. The framework integrates AI code generation with scientific software engineering best practices—incorporating numerical validation, unit testing, and result traceability—while explicitly preserving human researchers’ decision-making authority and the irreplaceable role of domain expertise. Contribution/Results: Evaluated across multiple scientific computing domains, the framework significantly improves development efficiency while rigorously ensuring scientific rigor, computational reproducibility, and methodological reliability.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Addressing code quality and scientific validity in AI-assisted scientific computing
Balancing AI capabilities with scientific rigor throughout development cycles
Ensuring reliability and reproducibility while accelerating software development
Innovation

Methods, ideas, or system contributions that make the work stand out.

Establishing human agency in coding decisions
Implementing robust validation procedures for code
Preserving domain expertise for scientific validity
🔎 Similar Papers
No similar papers found.