Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 248869 B / 5979051 B (ratio 248869/5979051, saved 5730182/5979051, 11695 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36669
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1..12 of 12 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#42
SOLE CROWN #1 <10 CYC
aurora_pq_quantal_token_id
domain: signal | id: cb8111b61bd5
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 2dca5e4d6e1f
C64 RAM: 313/65536 (313 B src)
2197621/400000 cyc/op
710377/400000 ns/op | 400000000/710377 ops/us
46 B .text (11 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (313 B)
pub fn aurora_pq_quantal_token_id(base_vocab: u64, semantic_code: u64, rvq_stage0: u64) -> u64 {
    let base = if base_vocab == 0 { 151936 } else { base_vocab };
    let p_sem = semantic_code & 8191;
    let q_res = rvq_stage0 & 1023;
    let token_id = base.saturating_add(p_sem);
    (token_id << 10) | q_res
}
#44
SOLE CROWN #1 <10 CYC
outreach_char_budget_trit_gate
domain: routing | id: 0d7a31b62645
Aye: aye-aurora-8b-voice @ 432Hz
Balanced Ternary & b158 Quantization
Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 8281e73ba287
C64 RAM: 389/65536 (389 B src)
2154407/400000 cyc/op
174103/100000 ns/op | 100000000/174103 ops/us
63 B .text (19 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (389 B)
pub fn outreach_char_budget_trit_gate(char_len: u64, citation_count: u64, slop_hits: u64) -> u64 {
    if char_len == 0 || char_len > 300 || citation_count == 0 || slop_hits > 0 {
        return 0;
    }
    let headroom = 300 - char_len;
    let capped_citations = if citation_count > 16 { 16 } else { citation_count };
    headroom.saturating_add(capped_citations.saturating_mul(1024))
}
#51
CROWN #1 of 2 <10 CYC
st_golf_aurora_mopd2_distill_loss_q15_u64
domain: aurora-mopd2 | id: 78104ea09e7d
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: c98418af6c87
C64 RAM: 43/8192 (344 B src)
291299/40000 cyc/op
790293/400000 ns/op | 400000000/790293 ops/us
125 B .text (33 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (344 B)
pub const fn st_golf_aurora_mopd2_distill_loss_q15_u64(student_q15: u64, mimo_teacher_q15: u64, audio8_teacher_q15: u64) -> u64 {
    let dm = student_q15.abs_diff(mimo_teacher_q15);
    let da = student_q15.abs_diff(audio8_teacher_q15);
    let w = (dm.saturating_mul(60) + da.saturating_mul(40)) / 100;
    if w > 32767 { 32767 } else { w }
}
#59
CROWN #1 of 2 <10 CYC
st_golf_aurora_grpo_advantage_q15_u64
domain: aurora-grpo | id: d5676684960a
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: def87c32b8b1
C64 RAM: 27/4096 (432 B src)
383779/50000 cyc/op
832947/400000 ns/op | 400000000/832947 ops/us
134 B .text (41 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (432 B)
pub const fn st_golf_aurora_grpo_advantage_q15_u64(reward_q15: u64, mean_q15: u64, std_q15: u64) -> u64 {
    let denom = if std_q15 == 0 { 1 } else { std_q15 };
    let diff = reward_q15.abs_diff(mean_q15);
    let scaled = diff.saturating_mul(4096) / denom;
    if reward_q15 >= mean_q15 {
        32768 + if scaled > 32767 { 32767 } else { scaled }
    } else {
        32768 - if scaled > 32768 { 32768 } else { scaled }
    }
}
#77
CROWN #1 of 2 <10 CYC
st_golf_searchix_bm25_option_rank_q15_u64
domain: searchix-bm25 | id: 9446db816a44
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 198e83aa9fca
C64 RAM: 437/65536 (437 B src)
961493/100000 cyc/op
260847/100000 ns/op | 100000000/260847 ops/us
121 B .text (35 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (437 B)
pub const fn st_golf_searchix_bm25_option_rank_q15_u64(term_freq: u64, doc_len: u64, exact_prefix_match: u64) -> u64 {
    if term_freq == 0 {
        return 0;
    }
    let dl4 = (if doc_len < 8 { 8 } else { doc_len }) >> 2;
    let tf_q15 = term_freq.saturating_mul(32768) / term_freq.saturating_add(dl4);
    let score = tf_q15.saturating_add(((exact_prefix_match != 0) as u64) << 14);
    if score > 65535 { 65535 } else { score }
}
#81
SOLE CROWN #1 <10 CYC
aurora_quantal_80ms_header_pack
domain: signal | id: d7bf5878b192
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 0dc03b657341
C64 RAM: 33/8192 (264 B src)
3082733/400000 cyc/op
62313/25000 ns/op | 25000000/62313 ops/us
31 B .text (9 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (264 B)
pub fn aurora_quantal_80ms_header_pack(seq_num: u64, vad_prob_q8: u64, flags: u64) -> u64 {
    let magic: u64 = 43184;
    let seq = seq_num & 65535;
    let vad = vad_prob_q8 & 255;
    let flg = flags & 255;
    magic | (seq << 16) | (vad << 32) | (flg << 40)
}
#245
SOLE CROWN #1 <10 CYC
aurora_semantic_vad_horizon_gate
domain: signal | id: c5636c2ba978
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 773de41300ca
C64 RAM: 387/65536 (387 B src)
65193/8000 cyc/op
210777/80000 ns/op | 80000000/210777 ops/us
77 B .text (22 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (387 B)
pub fn aurora_semantic_vad_horizon_gate(speech_energy: u64, pause_ms: u64, bot_speaking: u64) -> u64 {
    if speech_energy >= 320 && bot_speaking != 0 {
        return 5;
    }
    if speech_energy >= 180 {
        return 1;
    }
    if pause_ms == 0 {
        return 0;
    }
    if pause_ms < 1000 {
        2
    } else if pause_ms <= 3000 {
        4
    } else {
        0
    }
}
#522
PEER of 2
aurora_mopd2_distill_loss_q15
domain: signal | id: d437ee3acb74
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: c98418af6c87
C64 RAM: 525/65536 (525 B src)
4018219/400000 cyc/op
649379/200000 ns/op | 200000000/649379 ops/us
125 B .text (33 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (525 B)
pub fn aurora_mopd2_distill_loss_q15(student_q15: u64, mimo_teacher_q15: u64, audio8_teacher_q15: u64) -> u64 {
    let diff_mimo = if student_q15 >= mimo_teacher_q15 { student_q15 - mimo_teacher_q15 } else { mimo_teacher_q15 - student_q15 };
    let diff_audio8 = if student_q15 >= audio8_teacher_q15 { student_q15 - audio8_teacher_q15 } else { audio8_teacher_q15 - student_q15 };
    let weighted = (diff_mimo.saturating_mul(60) + diff_audio8.saturating_mul(40)) / 100;
    if weighted > 32767 { 32767 } else { weighted }
}
#644
SOLE CROWN #1
voice_interrupt_word_cutoff
domain: signal | id: 0a5c95f7971d
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: b7c94380a999
C64 RAM: 423/65536 (423 B src)
483913/40000 cyc/op
9779/2500 ns/op | 2500000/9779 ops/us
107 B .text (38 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (423 B)
pub fn voice_interrupt_word_cutoff(total_words: u64, spoken_ms: u64, total_ms: u64) -> u64 {
    if total_words == 0 || spoken_ms == 0 {
        return 0;
    }
    if total_ms == 0 || spoken_ms >= total_ms {
        return total_words;
    }
    let cut = (total_words.saturating_mul(spoken_ms)) / total_ms;
    if cut == 0 {
        1
    } else if cut > total_words {
        total_words
    } else {
        cut
    }
}
#1532
PEER of 2
searchix_bm25_option_rank_q15
domain: routing | id: e7922cf22041
Aye: aye-aurora-8b-voice @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: 198e83aa9fca
C64 RAM: 237/32768 (474 B src)
4684317/400000 cyc/op
1514363/400000 ns/op | 400000000/1514363 ops/us
121 B .text (35 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (474 B)
pub fn searchix_bm25_option_rank_q15(term_freq: u64, doc_len: u64, exact_prefix_match: u64) -> u64 {
    if term_freq == 0 {
        return 0;
    }
    let norm_len = if doc_len < 8 { 8 } else { doc_len };
    let tf_q15 = (term_freq.saturating_mul(32768)) / (term_freq.saturating_add(norm_len / 4));
    let prefix_bonus = if exact_prefix_match != 0 { 16384 } else { 0 };
    let score = tf_q15.saturating_add(prefix_bonus);
    if score > 65535 { 65535 } else { score }
}
#1539
SOLE CROWN #1 <10 CYC
ayeos_gate_0x62_fold_step
domain: ayeos-rpi | id: 2713856be5c4
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: a1a0a88a75f5
C64 RAM: 15/4096 (240 B src)
1/1 cyc/op
2048167/400000 ns/op | 400000000/2048167 ops/us
38 B .text (8 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (240 B)
pub fn ayeos_gate_0x62_fold_step(seed: u64, word: u64, lane_idx: u64) -> u64 {
    let shift = ((lane_idx & 7) << 3) as u32;
    let mixed = seed.rotate_left(7) ^ word.rotate_left(shift) ^ 0x6262_6262_6262_6262;
    (mixed & !0xFF) | 0x62
}
#1657
PEER of 2
aurora_grpo_advantage_q15
domain: signal | id: dd168d1447da
Aye: aye-aurora-8b-voice @ 432Hz
Deterministic Sovereign Compute Kernel
Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: def87c32b8b1
C64 RAM: 289/32768 (578 B src)
5993323/400000 cyc/op
1937713/400000 ns/op | 400000000/1937713 ops/us
183 B .text (56 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (578 B)
pub fn aurora_grpo_advantage_q15(reward_q15: u64, mean_q15: u64, std_q15: u64) -> u64 {
    let denom = if std_q15 == 0 { 1 } else { std_q15 };
    if reward_q15 >= mean_q15 {
        let diff = reward_q15 - mean_q15;
        let scaled = (diff.saturating_mul(4096)) / denom;
        let clamped = if scaled > 32767 { 32767 } else { scaled };
        32768 + clamped
    } else {
        let diff = mean_q15 - reward_q15;
        let scaled = (diff.saturating_mul(4096)) / denom;
        let clamped = if scaled > 32768 { 32768 } else { scaled };
        32768 - clamped
    }
}
Page 1 of 1 (12 total capsules)