[challenge]: Agentic verification of an experimental Rust tensor library: grow the canonical record of performance benchmarks and correctness oracles
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- pytorch, rust
- Domain
- machine-learning, performance, testing-qa
Research direction
Start by reviewing the tenferro-benchmark and tensor-ad-oracles repositories to understand their existing benchmark entries, workload specifications, and oracle provenance. Identify one uncovered workload or correctness gap, then measure it against the named references and record a reproducible result. Done means a merged benchmark entry or oracle case with full provenance, rather than an issue report alone.
Written by the indexing model from the issue text.
Description
Released by
Hiroshi Shinaoka, Saitama University
Contact email
shinaoka@mail.saitama-u.ac.jp
Method
Other
Challenge issue
Context. Agentic coding moves the bottleneck from writing code to trusting code. Trust requires continuously measuring two quantities against independent references: performance and numerical correctness. tenferro-rs is an experimental pure-Rust tensor library (einsum, linear algebra, eager and traced autodiff with complex-number support, CPU/GPU), largely agent-written. Its measurement infrastructure exists as two public repositories: tenferro-benchmark, a continuous performance benchmark against PyTorch, JAX, Julia, HPTT, and cuTENSOR, and tensor-ad-oracles, a machine-readable JSON database of derivative-correctness oracles generated from PyTorch.
Where the action is. Benchmark coverage is still far from sufficient. Realistic workloads, such as sequences of small and medium contractions, permutation-heavy einsum, eager-mode loops, and end-to-end autodiff training loops, are not yet covered systematically. Growing this coverage is this challenge.
The challenge. Use AI agents to grow the canonical record:
- Add benchmark suites for the uncovered regimes: tensor-network contraction sequences (DMRG/TEBD-like sweeps), permutation-heavy einsum, small-tensor eager loops, and whole-program VJP training steps, each measured head-to-head against PyTorch and JAX.
- For every gap found, fix it into the canonical record as a tracked benchmark entry with full reproduction (workload spec, sizes, hardware profile), so the gap stays visible until it is closed.
- Diagnose: attribute gaps to their cause (GEMM backend, dispatch overhead, memory layout, missing fusion) with profiling evidence. A well-attributed gap is worth more than ten unexplained ones.
- Correctness side: extend tensor-ad-oracles where coverage is thin (a documented JAX generator contract awaits implementation; higher-order derivatives, complex conjugation conventions, degenerate spectra) and run the oracles against tenferro-rs.
- Bonus: prototype a fix for one attributed gap and show the benchmark entry improving.
What counts as a discovery. A performance gap or numerical discrepancy counts once it is fixed as part of the canonical record: a tracked benchmark entry, or a merged oracle case with full provenance. Issue reports alone do not count; merged cases do.
Scoring. Systematic contributions rank above single findings: a benchmark suite covering a workload regime ranks above a cluster of entries, which ranks above a single measurement. An attributed gap ranks above an unattributed one. A null result backed by new systematic coverage ("this regime is on par") is a valid contribution.
Recognition. Substantial contributions earn listing as a contributor to the tenferro-rs ecosystem. Substantial and sustained contributions will qualify for co-authorship on the planned tenferro-rs software paper, following standard authorship criteria.
Why this may lead to research output. Where and why a Rust tensor stack lags or matches the ML frameworks, measured systematically, is exactly the evidence base a foundational library needs, and the methodology of agent-driven performance metrology is a contribution to the AI agent infrastructure theme of this school. The collected suites remain public infrastructure that any tensor library can run against.
- Dominant language
- Python
- Stars
- 66
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
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 QuantumBFS/quantum.harness
-
challenge
Difficulty 5/5 Over a week Newbie friendliness 15/100
QuantumBFS/quantum.harness#291 ·
-
challenge
Difficulty 5/5 Over a week Newbie friendliness 25/100
QuantumBFS/quantum.harness#290 · 1 reaction ·
-
challenge
Difficulty 5/5 Over a week Newbie friendliness 25/100
QuantumBFS/quantum.harness#289 ·
-
challenge
Difficulty 5/5 Over a week Newbie friendliness 25/100
QuantumBFS/quantum.harness#286 ·
-
challenge
Difficulty 5/5 Over a week Newbie friendliness 25/100
QuantumBFS/quantum.harness#276 ·
All issues in QuantumBFS/quantum.harness
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100