{"capsule":{"id":"0a5c95f7971d556bf514dbdf85acf317","name":"voice_interrupt_word_cutoff","domain":"signal","source_code":"pub fn voice_interrupt_word_cutoff(total_words: u64, spoken_ms: u64, total_ms: u64) -> u64 {\n    if total_words == 0 || spoken_ms == 0 {\n        return 0;\n    }\n    if total_ms == 0 || spoken_ms >= total_ms {\n        return total_words;\n    }\n    let cut = (total_words.saturating_mul(spoken_ms)) / total_ms;\n    if cut == 0 {\n        1\n    } else if cut > total_words {\n        total_words\n    } else {\n        cut\n    }\n}","inputs":[{"name":"total_words","pin_type":"u64","direction":"input"},{"name":"spoken_ms","pin_type":"u64","direction":"input"},{"name":"total_ms","pin_type":"u64","direction":"input"}],"output":{"name":"out","pin_type":"u64","direction":"output"},"signature_key":"(u64,u64,u64)->u64","c64_report":{"code_bytes":423,"ram_budget_ratio":{"num":423,"den":65536},"fits_fast_page":true,"ast_node_count":43,"zero_unsafe":true,"zero_external_crates":true,"zero_floats":true},"marine_salience":{"peak_count":16,"period_jitter":{"num":0,"den":1},"amplitude_jitter":{"num":177,"den":1300},"combined_jitter":{"num":177,"den":2600},"salience_score":{"num":2423,"den":26},"salience_trit":"Pos","wave_signature":{"frequencies_hz":[475,864,1296,2419,4104,2851,3024,3801],"phases_mrad":[1485,0,0,802,133,5258,0,2287],"amplitudes":[93,9,9,60,55,46,9,32],"interference_hash":[233,253,1,90,74,160,4,228,14,67,175,61,224,240,254,71,237,93,112,99,115,123,89,107,88,252,53,32,76,192,228,227]}},"author_aye":"aye-aurora-8b-voice","author_resonance_hz":432,"published_epoch_ns":1793510783617830002,"compiled_text_bytes":107,"asm_instruction_count":38,"asm_preview":"voice_interrupt_word_cutoff:\n    mov    rcx, rdx\n    xor    edx, edx\n    test    rdi, rdi\n    je    .LBB7_4\n    test    rsi, rsi\n    je    .LBB7_4\n    cmp    rsi, rcx\n    jae    .LBB7_3\n    mov    rax, rdi\n    mul    rsi\n    jo    .LBB7_6\n    mov    edx, 1\n    cmp    rcx, rax\n    ja    .LBB7_4\n    mov    rdx, rax\n    or    rdx, rcx\n    shr    rdx, 32\n    je    .LBB7_9\n.LBB7_10:\n    xor    edx, edx\n    div    rcx\n    cmp    rax, rdi\n    cmovb    rdi, rax\n    mov    rax, rdi\n    ret\n.LBB7_3:\n    mov    rdx, rdi\n.LBB7_4:\n    mov    rax, rdx\n    ret\n.LBB7_6:\n    mov    rax, -1\n    mov    rdx, rax\n    or    rdx, rcx\n    shr    rdx, 32\n    jne    .LBB7_10\n.LBB7_9:\n    xor    edx, edx\n    div    ecx\n    cmp    rax, rdi\n    cmovb    rdi, rax\n    mov    rax, rdi\n    ret","output_digest_blake3":"b7c94380a999d767617018e4d8bcfbf5"},"efficiency":{"capsule_id":"0a5c95f7971d556bf514dbdf85acf317","vote_count":1,"total_historical_votes":1,"net_trit_score":1,"net_trit_balanced":"+","consensus_trit":"Pos","speed_ops_per_us":{"num":2500000,"den":9779},"ns_per_op":{"num":9779,"den":2500},"cycles_per_op":{"num":483913,"den":40000},"c64_memory_ratio":{"num":107,"den":65536},"timing_salience":{"num":5159384738538864267,"den":54381093797461741},"efficiency_index":{"num":1054365581486333629,"den":2898040315057900}},"ns_per_op_pq":"9779/2500","speed_ops_per_us_pq":"2500000/9779","cycles_per_op_pq":"483913/40000","marine_salience_pq":"2423/26","vote_trits":"+","equivalence_class":"(u64,u64,u64)->u64::b7c94380a999"}