No coverage for `__imatmul__` (`@=`)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 87/100
Research direction
Start by reading the existing test_iop coverage and test_linalg.py, then check how array_api_tests exercises operator overloads. Add coverage for the @= operation through imatmul and verify that an implementation raising AttributeError is detected by the test suite.
Written by the indexing model from the issue text.
Description
It looks like __imatmul__ currently lacks test coverage in the suite. A broken implementation (e.g. one raising AttributeError) can pass array_api_tests without triggering any failures.
Checking the codebase:
imatmulisn't referenced anywhere underarray_api_tests/.test_ioponly covers elementwise binary ops, somatmulisn't included.test_linalg.pytestsnamespace.matmul()directly, but doesn't exercise@or@=.
Happy to send a PR adding @= coverage if needed!
- Dominant language
- Python
- Stars
- 74
- Forks
- 54
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from data-apis/array-api-tests
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
data-apis/array-api-tests#460 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
data-apis/array-api-tests#455 · 2 comments ·
-
tracking
Difficulty 5/5 Over a week Newbie friendliness 25/100
data-apis/array-api-tests#381 · 9 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
data-apis/array-api-tests#379 · 10 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
data-apis/array-api-tests#368 · 3 comments ·
All issues in data-apis/array-api-tests
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100