Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Generate value filters for element-wise tests

Open
#147 0 comments 0 reactions 1 assignee View on GitHub

@honno is already working on this.

Since Oct 4, 2022.

Assessment

This issue has not been assessed yet.

Description

low priority

Currently we parse the spec and generate tests for special cases. How about we use that machine reading to also generate the filter_ we pass to the element-wise tests?

https://github.com/data-apis/array-api-tests/blob/adfee28374165a4a0285c2935d152e7015c33201/array_api_tests/test_operators_and_elementwise_functions.py#L93-L97

I notice we actually have some incorrect filters (will explore, didn't want to change incase I'm missing other concerns + need to document if so), so this should help with accuracy as well as maintenance.

Dominant language
Python
Stars
74
Forks
54
Avg merge
4h 35m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from data-apis/array-api-tests

All issues in data-apis/array-api-tests

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.