Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Test device support

未關閉
#302 4 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
python
領域
testing

研究方向

首先檢查 array-api-tests 中現有的測試,以及 issue 中引用的 array-api-strict 裝置行為。確認測試如何涵蓋函式和裝置相關結果,然後為混合裝置例外以及保留輸入裝置新增覆蓋;當支援函式的相關合規性測試通過時,即視為完成。

由索引模型根據 Issue 內容生成。

描述

high priority

Basic device support should be tested. In particular, we can test things like whether mixing devices properly raises an exception in all functions (this would be useful for the array-api-strict library, which implements this but it currently isn't tested). We can also test things like that the output device is equal to the input device.

主要語言
Python
星號
74
分支
54
平均合併
1 小時 50 分鐘
30 天內合併 PR
2

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

data-apis/array-api-tests 的其他 Issue

查看 data-apis/array-api-tests 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。