`playground/cm31_ntt/src/ntt`: refactor
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- cryptography
Research direction
Start in playground/cm31_ntt/src/ntt.rs at test_ntt_r8_hybrid_ps and inspect the TODO near line 1229, including the precomp_for_ntt_r8_ip_p calls and NTT_BLOCK_SIZE_FOR_CACHE branch. Run the relevant Rust test before and after the refactor; done should preserve the test's existing NTT behavior while addressing the TODO.
Written by the indexing model from the issue text.
Description
On 2025-11-05 in ac42e37 “Merge pull request #227 from worldfnd/sl/duplicate-witness”:
refactor
pub fn test_ntt_r8_hybrid_ps() {
for log8_n in 1..8 {
let n = 8usize.pow(log8_n);
let wn = get_root_of_unity(n);
// TODO: refactor
let precomp_small = if n < NTT_BLOCK_SIZE_FOR_CACHE {
precomp_for_ntt_r8_ip_p(n, wn).unwrap()
} else {
precomp_for_ntt_r8_ip_p(
NTT_BLOCK_SIZE_FOR_CACHE,
- Dominant language
- Noir
- Stars
- 138
- Forks
- 47
- Avg merge
- 1d 34m
- Merged PRs (30d)
- 6
Contributor guide
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 worldfnd/provekit
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
All issues in worldfnd/provekit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aegis-aead/libaegis#35 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
snapshot-labs/snapshot.js#1247 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ietf-plants-wg/merkle-tree-certs#323 · 1 reaction ·
-
DataRowRecord JSON key order differs from canonical output (breaks raw-string ciphertext detection) Openbug documentation rust
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
godaddy/asherah-ffi#392 ·