AI Policy#

「AI」 herein refers to generative AI tools like large language models (LLMs) that can generate, edit, and review software code, create and manipulate images, or generate human-like communication.

責任#

無論程式碼是手動編寫還是由人工智慧生成,您都需對提交到 NumPy 儲存庫的所有程式碼負責。您必須理解並能夠解釋您提交的程式碼以及現有的相關程式碼。提交您自己都無法理解和解釋的補釘是不可接受的。在解釋您的貢獻時,請勿使用人工智慧自動生成評論、拉取請求描述或議題描述。有關人工智慧翻譯系統的方針,請參見下文。

Disclosure#

You must disclose whether AI has been used to assist in the development of your pull request. If so, you must document which tool(s) have been used, how they were used, and specify what code or text is AI generated. We will reject any pull request that does not include the disclosure.

程式碼品質#

貢獻者需提交符合 NumPy 標準的程式碼。我們將拒絕任何我們認為是「AI 垃圾代碼 」的拉取請求。請勿提交完全或大部分由 AI 生成且不符合我們標準的程式碼,以免浪費開發者的時間。

Communication#

When interacting with developers (forums, discussions, issues, pull requests, etc.) do not use AI to speak for you, except for translation or grammar editing. If the developers want to chat with a chatbot, they can do so themselves. Human-to-human communication is essential for an open source community to thrive.

AI Agents#

The use of an AI agent that writes code and then submits a pull request autonomously is not permitted. A human must check any generated code and submit a pull request according to the 『Responsibility』 section above.

其他資源#

While these do not formally form part of NumPy’s AI policy, the following resources may be helpful in understanding some pitfalls associated with using AI to contribute to NumPy:

Acknowledgements#

We thank the SciPy developers for their AI policy, upon which this document is largely based.