arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.26110cs.SEastro-ph.IM
收藏

面向 Gammapy 框架的基于智能体的代码生成

Agent-based code generation for the Gammapy framework

JetBrains Limited(JetBrains有限公司);JetBrains GmbH(JetBrains有限责任公司)

Dmitriy Kostunin, Vladimir Sotnikov, Sergo Golovachev, Abhay Mehta, Tim Lukas Holch, Elisa Jones

AI总结:

针对 Gammapy 这类文档与稳定 API 不足的专业科学库,本文提出可在受控环境中编写、执行并验证代码的智能体,并提供网页演示与基准测试套件。

摘要:

使用大型语言模型(LLM)进行软件代码生成,是现代人工智能最成功的应用之一。对于受益于文档、示例和强大社区支持的流行框架,基础模型非常有效。相比之下,专业科学库往往缺少这些资源,并可能暴露处于积极开发中的不稳定 API,这使得在有限或过时数据上训练的模型难以应对。我们通过开发一个能够在受控环境中编写、执行和验证代码的智能体,来解决 Gammapy 库的这些问题。我们展示了一个极简的网页演示以及配套的基准测试套件。本贡献总结了设计,报告了我们的当前状态,并概述了后续步骤。

英文摘要:

Software code generation using Large Language Models (LLMs) is one of the most successful applications of modern artificial intelligence. Foundational models are very effective for popular frameworks that benefit from documentation, examples, and strong community support. In contrast, specialized scientific libraries often lack these resources and may expose unstable APIs under active development, making it difficult for models trained on limited or outdated data. We address these issues for the Gammapy library by developing an agent capable of writing, executing, and validating code in a controlled environment. We present a minimal web demo and an accompanying benchmarking suite. This contribution summarizes the design, reports our current status, and outlines next steps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑