Lune

CHI2025Top-tier venue

How Scientists Use Large Language Models to Program

Gabrielle O'Brien

Abstract

Scientists across disciplines write code for critical activities like data collection and generation, statistical modeling, and visualization. As large language models that can generate code have become widely available, scientists may increasingly use these models during research software development. We investigate the characteristics of scientists who are early-adopters of code generating models and conduct interviews with scientists at a public, research-focused university. Through interviews and reviews of user interaction logs, we see that scientists often use code generating models as an information retrieval tool for navigating unfamiliar programming languages and libraries. We present findings about their verification strategies and discuss potential vulnerabilities that may emerge from code generation practices unknowingly influencing the parameters of scientific analyses.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Direct Manipulation and Natural Language Programming, Together at Last? cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • What Happens When Reviewers Receive AI Feedback in Their Reviews? cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • Using an LLM to Help With Code Understanding cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • The Metacognitive Demands and Opportunities of Generative AI cites Grounded Copilot: How Programmers Interact with Code-Generating Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. What Happens When Reviewers Receive AI Feedback in Their Reviews?Shiping Chen, Shu Zhong, Duncan P. Brumby, Anna L. CoxCHI 2026 · 1 citation
  2. Beyond the Desk: Barriers and Future Opportunities for AI to Assist Scientists in Embodied Physical TasksIrene Hou, Alexander Qin, Lauren Cheng, Philip J. GuoCHI 2026 · 1 citation
  3. Direct Manipulation and Natural Language Programming, Together at Last?Parker Ziegler, David Minh-Duy Cao, Justin Lubin, Sarah E. ChasinsOOPSLA 2026

Builds on15

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. DS-1000: A Natural and Reliable Benchmark for Data Science Code GenerationYuhang Lai, Chengxi Li, Yiming Wang, Tianyi Zhang et al.ICML 2023 · 504 citations
  3. Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 citations
  4. The Metacognitive Demands and Opportunities of Generative AILev Tankelevitch, Viktor Kewenig, Auste Simkute, Ava Elizabeth Scott et al.CHI 2024 · 279 citations
  5. Using an LLM to Help With Code UnderstandingDaye Nam, Andrew Macvean, Vincent J. Hellendoorn, Bogdan Vasilescu et al.ICSE 2024 · 264 citations

Related papers

  1. An Exploratory Study of ML Sketches and Visual Code AssistantsLuís F. Gomes, Vincent J. Hellendoorn, Jonathan Aldrich, Rui AbreuICSE 2025 · 2 citations
  2. Can LLMs Implicitly Learn Numeric Parameter Constraints in Data Science APIs?Yinlin Deng, Chunqiu Steven Xia, Zhezhen Cao, Meiziniu Li et al.NeurIPS 2024 · 4 citations
  3. Weak Programmers Need Not Apply, LLMs Welcome! Survey Screening in the AI EraIta Ryan, Utz Roedig, Klaas-Jan StolICSE 2026
  4. Flowco: Mixed-Initiative Authoring of Reliable End-to-End Data Analyses via Dataflow Graphs and LLMsStephen N. Freund, Brooke Simon, Emery D. Berger, Eunice JunUIST 2025 · 2 citations
  5. Can Large Language Models Write Parallel Code?Daniel Nichols, Joshua Hoke Davis, Zhaojun Xie, Arjun Rajaram et al.HPDC 2024 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines