Spaces:
Running
Running
| <html lang="en" class="jetbrains_mono_68d574a-module__ggYvfa__variable"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/051742360c26797e-s.p.1bkzbscqrt8rl.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/0-9w4s7c6xtvk.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/310vm2bl3xxpt.js"/><script src="/_next/static/chunks/2mmpezlrfmbu5.js" async=""></script><script src="/_next/static/chunks/3e4keds9ktjdu.js" async=""></script><script src="/_next/static/chunks/09acbkyiffhmk.js" async=""></script><script src="/_next/static/chunks/turbopack-42u0ebbwz0w9w.js" async=""></script><script src="/_next/static/chunks/3fntmmi971322.js" async="" crossorigin=""></script><script src="/_next/static/chunks/0o30atouitu-3.js" async="" crossorigin=""></script><script src="/_next/static/chunks/2p594__5egvvs.js" async="" crossorigin=""></script><title>ApexSignal β System Design Workflow</title><meta name="description" content="The full radio-to-verdict pipeline as a flowchart, with each stage mapped to its exact model, parameters, and source file."/><meta property="og:title" content="ApexSignal β The Silent Co-Driver"/><meta property="og:description" content="A public, interactive incident replay connecting driver radio to telemetry evidence and historical memory."/><meta property="og:url" content="https://apex-signal-sigma.vercel.app/"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:title" content="ApexSignal β The Silent Co-Driver"/><meta name="twitter:description" content="A public, interactive incident replay connecting driver radio to telemetry evidence and historical memory."/><link rel="icon" href="/icon.svg?icon.1fi2ifkq8n3ga.svg" sizes="any" type="image/svg+xml"/><meta name="next-size-adjust" content=""/><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><main class="min-h-screen bg-bg pb-24 pt-20"><header class="fixed inset-x-0 top-0 z-50 flex items-center justify-between border-b border-rule bg-bg/92 px-6 py-3.5 text-[10.5px] uppercase tracking-[0.16em] backdrop-blur"><a href="#hero" class="font-semibold text-ink"><span class="mr-1 text-red">β</span>ApexSignal</a><nav class="hidden items-center gap-5 md:flex"><a href="#pipeline" class="text-dim transition hover:text-red">how it works</a><a href="#live-pipeline" class="text-dim transition hover:text-red">live pipeline</a><a href="#live" class="text-dim transition hover:text-red">inspector</a><a href="#evidence" class="text-dim transition hover:text-red">evidence</a><a href="#human-loop" class="text-dim transition hover:text-red">human-in-the-loop</a><a class="border border-teal/50 bg-teal/5 px-2.5 py-1 text-teal transition hover:bg-teal hover:text-bg" href="/technical/index.html">technical walkthrough</a><div class="relative"><button type="button" aria-expanded="false" class="flex items-center gap-1 transition text-dim hover:text-red">more<svg width="8" height="8" viewBox="0 0 10 6" fill="none" class="transition-transform "><path d="M1 1L5 5L9 1" stroke="currentColor" stroke-width="1.5"></path></svg></button></div><a href="https://github.com/Deltasthicc/ApexSignal" target="_blank" rel="noreferrer" class="border border-rule px-2.5 py-1 text-dim transition hover:border-red/50 hover:text-red">github</a><a class="border border-gold/50 bg-gold/5 px-2.5 py-1 text-gold transition hover:bg-gold hover:text-bg" href="/login/index.html">engineer console</a></nav><div class="flex items-center gap-2 md:hidden"><a class="border border-teal/50 bg-teal/5 px-2.5 py-1.5 text-teal transition hover:bg-teal hover:text-bg" href="/technical/index.html">Tech</a><a class="border border-gold/50 px-3 py-1.5 text-gold transition hover:bg-gold hover:text-bg" href="/login/index.html">Console</a></div></header><div class="mx-auto max-w-7xl px-6 pt-10"><p class="text-[10.5px] uppercase tracking-[0.14em]"><a class="text-teal transition hover:text-red" href="/technical/index.html">β technical walkthrough</a></p><p class="label-red mb-2 mt-4">System design</p><h1 class="mb-3 text-2xl font-medium uppercase tracking-[0.03em] text-ink">System Design Workflow</h1><p class="mb-8 max-w-2xl text-[12.5px] leading-relaxed text-dim">The diagram is the fast reference for explaining the product out loud or to a driver-facing engineer. The breakdown underneath it is the same workflow with the exact file, function, and parameter behind every box, for anyone who wants to check the code directly.</p><div class="flex flex-col gap-6"><div class="border border-rule bg-bg p-6"><p class="mb-1 text-[9px] uppercase tracking-[0.16em] text-red">Visual reference</p><h2 class="mb-1 text-lg font-medium uppercase tracking-[0.03em] text-ink">Radio call β verdict, top to bottom</h2><p class="mb-5 max-w-2xl text-[11.5px] leading-relaxed text-dim">One audio clip splits into two model paths, merges into a single structured record, runs through four independent evidence checks in parallel, and converges into one verdict. Nothing here is a single black-box score β every arrow is a real function call, mapped out in detail underneath the diagram.</p><div class="overflow-x-auto"><svg viewBox="0 0 1200 1020" class="h-auto w-full min-w-[860px]" role="img" aria-label="ApexSignal system design flowchart: radio audio flows through ASR, tone, and classifier models into a Radio Analysis Output record, which feeds four evidence-engine checks that converge into a final Incident Assessment shown on the engineer's screen."><defs><marker id="flow-arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#4a4a4a"></path></marker></defs><g><path d="M 580 90 L 580 120 L 220 120 L 220 150" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path><text x="408" y="114" font-size="10" fill="#767676" font-family="'JetBrains Mono', monospace">same clip</text></g><g><path d="M 580 90 L 580 120 L 940 120 L 940 150" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path><text x="768" y="114" font-size="10" fill="#767676" font-family="'JetBrains Mono', monospace">same clip</text></g><g><path d="M 220 234 L 220 292" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path><text x="228" y="257" font-size="10" fill="#767676" font-family="'JetBrains Mono', monospace">transcript</text></g><g><path d="M 220 376 L 220 405 L 580 405 L 580 434" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 940 234 L 940 334 L 580 334 L 580 434" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 580 518 L 580 567 L 147.5 567 L 147.5 616" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 580 518 L 580 567 L 442.5 567 L 442.5 616" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 580 518 L 580 567 L 737.5 567 L 737.5 616" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 580 518 L 580 567 L 1032.5 567 L 1032.5 616" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 147.5 708 L 147.5 745 L 580 745 L 580 782" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 442.5 708 L 442.5 745 L 580 745 L 580 782" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 737.5 708 L 737.5 745 L 580 745 L 580 782" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 1032.5 708 L 1032.5 745 L 580 745 L 580 782" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><g><path d="M 580 866 L 580 924" fill="none" stroke="#4a4a4a" stroke-width="1.5" marker-end="url(#flow-arrow)"></path></g><text x="600" y="598" text-anchor="middle" font-size="10.5" letter-spacing="1.5" fill="#00d2be" font-family="'JetBrains Mono', monospace">EVIDENCE ENGINE β PLAIN MATH, NOT AI, ALL FOUR RUN INDEPENDENTLY</text><rect x="0" y="608" width="1200" height="110" fill="none" stroke="#00d2be" stroke-opacity="0.25" stroke-dasharray="4 4"></rect><g><rect x="440" y="20" width="280" height="70" rx="2" class="bg-bg2 border-dim2" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#4a4a4a"></rect><foreignObject x="440" y="20" width="280" height="70"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Driver Radio Call</span><span class="mt-0.5 text-[10px] text-dim">raw audio in</span></div></foreignObject></g><g><rect x="60" y="150" width="320" height="84" rx="2" class="bg-red/5 border-red/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#e10600"></rect><foreignObject x="60" y="150" width="320" height="84"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="mb-1 text-[8px] uppercase tracking-[0.14em] text-red">AI model</span><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Speech-to-Text</span><span class="mt-0.5 text-[10px] text-dim">distil-whisper (ASR)</span></div></foreignObject></g><g><rect x="780" y="150" width="320" height="84" rx="2" class="bg-red/5 border-red/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#e10600"></rect><foreignObject x="780" y="150" width="320" height="84"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="mb-1 text-[8px] uppercase tracking-[0.14em] text-red">AI model</span><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Tone / Voice Scoring</span><span class="mt-0.5 text-[10px] text-dim">VoiceCLAP encoder</span></div></foreignObject></g><g><rect x="60" y="292" width="320" height="84" rx="2" class="bg-red/5 border-red/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#e10600"></rect><foreignObject x="60" y="292" width="320" height="84"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="mb-1 text-[8px] uppercase tracking-[0.14em] text-red">AI model</span><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Complaint Classifier</span><span class="mt-0.5 text-[10px] text-dim">embedding similarity</span></div></foreignObject></g><g><rect x="440" y="434" width="280" height="84" rx="2" class="bg-gold/5 border-gold/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#ffd60a"></rect><foreignObject x="440" y="434" width="280" height="84"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="mb-1 text-[8px] uppercase tracking-[0.14em] text-gold">data contract</span><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Radio Analysis Output</span><span class="mt-0.5 text-[10px] text-dim">transcript + tone + category (JSON)</span></div></foreignObject></g><g><rect x="10" y="616" width="275" height="92" rx="2" class="bg-teal/5 border-teal/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#00d2be"></rect><foreignObject x="10" y="616" width="275" height="92"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Own-Baseline Check</span><span class="mt-0.5 text-[10px] text-dim">this lap vs. driver's own last 5</span></div></foreignObject></g><g><rect x="305" y="616" width="275" height="92" rx="2" class="bg-teal/5 border-teal/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#00d2be"></rect><foreignObject x="305" y="616" width="275" height="92"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Historical Memory Match</span><span class="mt-0.5 text-[10px] text-dim">similar past incidents</span></div></foreignObject></g><g><rect x="600" y="616" width="275" height="92" rx="2" class="bg-teal/5 border-teal/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#00d2be"></rect><foreignObject x="600" y="616" width="275" height="92"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Lead-Time Measurement</span><span class="mt-0.5 text-[10px] text-dim">seconds of driver warning</span></div></foreignObject></g><g><rect x="895" y="616" width="275" height="92" rx="2" class="bg-teal/5 border-teal/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#00d2be"></rect><foreignObject x="895" y="616" width="275" height="92"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Recurrence Check</span><span class="mt-0.5 text-[10px] text-dim">"again" / "still" wording</span></div></foreignObject></g><g><rect x="440" y="782" width="280" height="84" rx="2" class="bg-gold/5 border-gold/60" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#ffd60a"></rect><foreignObject x="440" y="782" width="280" height="84"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="mb-1 text-[8px] uppercase tracking-[0.14em] text-gold">data contract</span><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Incident Assessment</span><span class="mt-0.5 text-[10px] text-dim">one verdict, evidence attached</span></div></foreignObject></g><g><rect x="440" y="924" width="280" height="70" rx="2" class="bg-bg2 border-dim2" fill="currentColor" fill-opacity="0.04" stroke="currentColor" stroke-width="1.25" style="color:#4a4a4a"></rect><foreignObject x="440" y="924" width="280" height="70"><div class="flex h-full w-full flex-col items-center justify-center px-3 text-center"><span class="text-[12px] font-medium uppercase tracking-[0.03em] text-ink">Engineer's Screen</span><span class="mt-0.5 text-[10px] text-dim">Pit-Wall Incident Inspector</span></div></foreignObject></g></svg></div><div class="mt-5 flex flex-wrap gap-4 border-t border-rule pt-4"><span class="flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim"><span class="h-2.5 w-2.5 border border-dim2"></span>input / screen</span><span class="flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim"><span class="h-2.5 w-2.5 border border-red/60"></span>AI model (learned)</span><span class="flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim"><span class="h-2.5 w-2.5 border border-teal/60"></span>evidence engine (classical math)</span><span class="flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim"><span class="h-2.5 w-2.5 border border-gold/60"></span>data contract (JSON handoff)</span></div></div><div class="border border-rule bg-bg p-6"><p class="mb-1 text-[9px] uppercase tracking-[0.16em] text-red">For technical Q&A</p><h2 class="mb-1 text-lg font-medium uppercase tracking-[0.03em] text-ink">System Design Workflow</h2><p class="mb-6 max-w-2xl text-[11.5px] leading-relaxed text-dim">What happens, in order, when a radio call comes in β and exactly which file and function does it. Every parameter below is a real, measured value, not a placeholder.</p><div class="flex flex-col gap-5"><div class="border border-rule bg-bg2 p-4"><div class="flex items-baseline gap-3"><span class="text-[10px] text-red">01</span><p class="text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink">Audio in β Transcription</p></div><p class="mt-2 text-[11.5px] leading-relaxed text-dim">The driver's radio call (raw audio) is converted into text. This is the βtranslationβ step β speech to words.</p><div class="mt-3 flex flex-col gap-1 border-t border-rule pt-3"><p class="text-[10px] text-dim"><span class="text-teal">model </span>distil-whisper/distil-large-v3.5-ct2 (via faster-whisper)</p><p class="text-[10px] text-dim"><span class="text-teal">where in code </span><code class="text-ink">services/radio_ai/app/asr.py β transcribe()</code></p><p class="text-[10px] text-dim"><span class="text-teal">parameters live in </span><code class="text-ink">Model ID + pinned version: services/radio_ai/app/config.py β ModelConfig</code></p></div></div><div class="border border-rule bg-bg2 p-4"><div class="flex items-baseline gap-3"><span class="text-[10px] text-red">02</span><p class="text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink">Tone / Voice Analysis</p></div><p class="mt-2 text-[11.5px] leading-relaxed text-dim">The raw audio itself (not the words) is scored for how the driver sounds β calm, stressed, or tired.</p><ul class="mt-3 flex flex-col gap-1"><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>Arousal β how excited/tense the voice sounds</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>Fatigue_Exhaustion β how tired the voice sounds</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>Recording_Quality β how clean the audio is</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>Background_Noise β how much noise is in the clip</li></ul><p class="mt-3 border-l-2 border-gold/50 bg-gold/5 py-1.5 pl-3 text-[10.5px] leading-relaxed text-gold">Fatigue β₯ 1.1 β FATIGUED. Else if Arousal β₯ 2.565 β ELEVATED_AROUSAL. Else β CALM. Low quality/high noise doesn't change the label β it lowers the confidence score instead.</p><div class="mt-3 flex flex-col gap-1 border-t border-rule pt-3"><p class="text-[10px] text-dim"><span class="text-teal">model </span>laion/voiceclap-commercial (encoder + attribute heads)</p><p class="text-[10px] text-dim"><span class="text-teal">where in code </span><code class="text-ink">services/radio_ai/app/tone.py β score_waveform(), map_to_label()</code></p><p class="text-[10px] text-dim"><span class="text-teal">parameters live in </span><code class="text-ink">services/radio_ai/app/config.py β ToneThresholds class β Arousal threshold 2.565, Fatigue threshold 1.1</code></p></div></div><div class="border border-rule bg-bg2 p-4"><div class="flex items-baseline gap-3"><span class="text-[10px] text-red">03</span><p class="text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink">Complaint Category</p></div><p class="mt-2 text-[11.5px] leading-relaxed text-dim">The transcribed words are matched against 5 fixed problem categories β sorted, not diagnosed.</p><div class="mt-3 flex flex-col gap-1 border-t border-rule pt-3"><p class="text-[10px] text-dim"><span class="text-teal">model </span>sentence-transformers/all-MiniLM-L6-v2 (embedding + prototype similarity)</p><p class="text-[10px] text-dim"><span class="text-teal">where in code </span><code class="text-ink">services/radio_ai/app/complaint_classifier.py β classify()</code></p><p class="text-[10px] text-dim"><span class="text-teal">parameters live in </span><code class="text-ink">services/radio_ai/app/config.py β ClassifierConfig class β 5 category descriptions + similarity margin 0.16</code></p></div></div><div class="border border-rule bg-bg2 p-4"><div class="flex items-baseline gap-3"><span class="text-[10px] text-red">04</span><p class="text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink">Evidence Engine β the solution being generated</p></div><p class="mt-2 text-[11.5px] leading-relaxed text-dim">This is where the actual answer gets built: is the car really behaving differently, has this happened before, and how much warning did the call give. Plain statistics, not a model.</p><ul class="mt-3 flex flex-col gap-1"><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>baseline.py β compare_to_baseline() β this lap vs. the driver's own last 5 laps at this corner</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>retrieval.py β best_match() β search past incidents for a similar report</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>lead_time.py β measure_lead_time() β seconds between the call and the measurable change</li><li class="pl-3 text-[10.5px] leading-relaxed text-dim"><span class="mr-2 text-teal">Β·</span>recurrence.py β assess_recurrence() β does the driver's own wording say βagainβ/βstillβ</li></ul><div class="mt-3 flex flex-col gap-1 border-t border-rule pt-3"><p class="text-[10px] text-dim"><span class="text-teal">where in code </span><code class="text-ink">services/evidence_memory/</code></p></div></div><div class="border border-rule bg-bg2 p-4"><div class="flex items-baseline gap-3"><span class="text-[10px] text-red">05</span><p class="text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink">Final Output β Incident Assessment</p></div><p class="mt-2 text-[11.5px] leading-relaxed text-dim">Everything above is combined into one verdict β sent to the dashboard as a single JSON record, never a raw score.</p><div class="mt-3 flex flex-col gap-1 border-t border-rule pt-3"><p class="text-[10px] text-dim"><span class="text-teal">where in code </span><code class="text-ink">services/core_api/app/pipeline.py β evaluate_incident()</code></p><p class="text-[10px] text-dim"><span class="text-teal">parameters live in </span><code class="text-ink">Served over HTTP by services/core_api/app/main.py β /v1/incidents/{id}</code></p></div></div></div></div></div></div></main><!--$--><!--/$--><script src="/_next/static/chunks/310vm2bl3xxpt.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/3fntmmi971322.js\"],\"default\"]\n3:I[58298,[\"/_next/static/chunks/3fntmmi971322.js\",\"/_next/static/chunks/0o30atouitu-3.js\"],\"default\"]\n4:I[37457,[\"/_next/static/chunks/3fntmmi971322.js\"],\"default\"]\n5:I[22016,[\"/_next/static/chunks/3fntmmi971322.js\",\"/_next/static/chunks/2p594__5egvvs.js\"],\"\"]\n6:I[18993,[\"/_next/static/chunks/3fntmmi971322.js\",\"/_next/static/chunks/2p594__5egvvs.js\"],\"TopBar\"]\n29:I[68027,[\"/_next/static/chunks/3fntmmi971322.js\"],\"default\",1]\n:HL[\"/_next/static/chunks/0-9w4s7c6xtvk.css\",\"style\"]\n:HL[\"/_next/static/media/051742360c26797e-s.p.1bkzbscqrt8rl.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n27:X\n0:{\"P\":null,\"c\":[\"\",\"technical\",\"system-design-workflow\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"technical\",{\"children\":[\"system-design-workflow\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0-9w4s7c6xtvk.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3fntmmi971322.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"jetbrains_mono_68d574a-module__ggYvfa__variable\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$3\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/0o30atouitu-3.js\",\"async\":true}]],\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"main\",null,{\"className\":\"flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center\",\"children\":[[\"$\",\"p\",null,{\"className\":\"label-red\",\"children\":\"404\"}],[\"$\",\"h1\",null,{\"className\":\"text-xl font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"No incident at this address\"}],[\"$\",\"p\",null,{\"className\":\"max-w-md text-[12.5px] leading-relaxed text-dim\",\"children\":\"This route is not part of the ApexSignal pit-wall replay. Head back to the incident inspector.\"}],[\"$\",\"$L5\",null,{\"href\":\"/\",\"className\":\"mt-2 border border-rule px-4 py-2 text-[11px] uppercase tracking-[0.14em] text-ink transition-colors hover:border-red hover:text-red\",\"children\":\"Back to pit wall\"}]]}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"main\",null,{\"className\":\"min-h-screen bg-bg pb-24 pt-20\",\"children\":[[\"$\",\"$L6\",null,{}],[\"$\",\"div\",null,{\"className\":\"mx-auto max-w-7xl px-6 pt-10\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-[10.5px] uppercase tracking-[0.14em]\",\"children\":[\"$\",\"$L5\",null,{\"href\":\"/technical\",\"className\":\"text-teal transition hover:text-red\",\"children\":\"β technical walkthrough\"}]}],[\"$\",\"p\",null,{\"className\":\"label-red mb-2 mt-4\",\"children\":\"System design\"}],[\"$\",\"h1\",null,{\"className\":\"mb-3 text-2xl font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"System Design Workflow\"}],[\"$\",\"p\",null,{\"className\":\"mb-8 max-w-2xl text-[12.5px] leading-relaxed text-dim\",\"children\":\"The diagram is the fast reference for explaining the product out loud or to a driver-facing engineer. The breakdown underneath it is the same workflow with the exact file, function, and parameter behind every box, for anyone who wants to check the code directly.\"}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-6\",\"children\":[[\"$\",\"div\",null,{\"className\":\"border border-rule bg-bg p-6\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-1 text-[9px] uppercase tracking-[0.16em] text-red\",\"children\":\"Visual reference\"}],[\"$\",\"h2\",null,{\"className\":\"mb-1 text-lg font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Radio call β verdict, top to bottom\"}],[\"$\",\"p\",null,{\"className\":\"mb-5 max-w-2xl text-[11.5px] leading-relaxed text-dim\",\"children\":\"One audio clip splits into two model paths, merges into a single structured record, runs through four independent evidence checks in parallel, and converges into one verdict. Nothing here is a single black-box score β every arrow is a real function call, mapped out in detail underneath the diagram.\"}],[\"$\",\"div\",null,{\"className\":\"overflow-x-auto\",\"children\":[\"$\",\"svg\",null,{\"viewBox\":\"0 0 1200 1020\",\"className\":\"h-auto w-full min-w-[860px]\",\"role\":\"img\",\"aria-label\":\"ApexSignal system design flowchart: radio audio flows through ASR, tone, and classifier models into a Radio Analysis Output record, which feeds four evidence-engine checks that converge into a final Incident Assessment shown on the engineer's screen.\",\"children\":[\"$L7\",[\"$L8\",\"$L9\",\"$La\",\"$Lb\",\"$Lc\",\"$Ld\",\"$Le\",\"$Lf\",\"$L10\",\"$L11\",\"$L12\",\"$L13\",\"$L14\",\"$L15\"],\"$L16\",\"$L17\",[\"$L18\",\"$L19\",\"$L1a\",\"$L1b\",\"$L1c\",\"$L1d\",\"$L1e\",\"$L1f\",\"$L20\",\"$L21\",\"$L22\"]]}]}],\"$L23\"]}],\"$L24\"]}]]}]]}],[\"$L25\"],\"$L26\"]}],{},null,false,null]},null,false,\"$27\"]},null,false,\"$27\"]},null,false,null],\"$L28\",false]],\"m\":\"$undefined\",\"G\":[\"$29\",[\"$L2a\"]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"llMeKx2KbwClHYKGrlJ9T\"}\n31:I[97367,[\"/_next/static/chunks/3fntmmi971322.js\"],\"OutletBoundary\"]\n32:\"$Sreact.suspense\"\n34:I[97367,[\"/_next/static/chunks/3fntmmi971322.js\"],\"ViewportBoundary\"]\n36:I[97367,[\"/_next/static/chunks/3fntmmi971322.js\"],\"MetadataBoundary\"]\n7:[\"$\",\"defs\",null,{\"children\":[\"$\",\"marker\",null,{\"id\":\"flow-arrow\",\"viewBox\":\"0 0 10 10\",\"refX\":\"8\",\"refY\":\"5\",\"markerWidth\":\"7\",\"markerHeight\":\"7\",\"orient\":\"auto-start-reverse\",\"children\":[\"$\",\"path\",null,{\"d\":\"M0,0 L10,5 L0,10 z\",\"fill\":\"#4a4a4a\"}]}]}]\n8:[\"$\",\"g\",\"0\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 90 L 580 120 L 220 120 L 220 150\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],[\"$\",\"text\",null,{\"x\":408,\"y\":114,\"fontSize\":\"10\",\"fill\":\"#767676\",\"fontFamily\":\"'JetBrains Mono', monospace\",\"children\":\"same clip\"}]]}]\n9:[\"$\",\"g\",\"1\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 90 L 580 120 L 940 120 L 940 150\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],[\"$\",\"text\",null,{\"x\":768,\"y\":114,\"fontSize\":\"10\",\"fill\":\"#767676\",\"fontFamily\":\"'JetBrains Mono', monospace\",\"children\":\"same clip\"}]]}]\na:[\"$\",\"g\",\"2\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 220 234 L 220 292\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],[\"$\",\"text\",null,{\"x\":228,\"y\":257,\"fontSize\":\"10\",\"fill\":\"#767676\",\"fontFamily\":\"'JetBrains Mono', monospace\",\"children\":\"transcript\"}]]}]\nb:[\"$\",\"g\",\"3\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 220 376 L 220 405 L 580 405 L 580 434\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\nc:[\"$\",\"g\",\"4\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 940 234 L 940 334 L 580 334 L 580 434\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\nd:[\"$\",\"g\",\"5\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 518 L 580 567 L 147.5 567 L 147.5 616\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\ne:[\"$\",\"g\",\"6\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 518 L 580 567 L 442.5 567 L 442.5 616\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\nf:[\"$\",\"g\",\"7\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 518 L 580 567 L 737.5 567 L 737.5 616\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n10:[\"$\",\"g\",\"8\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 518 L 580 567 L 1032.5 567 L 1032.5 616\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n11:[\"$\",\"g\",\"9\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 147.5 708 L 147.5 745 L 580 745 L 580 782\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n12:[\"$\",\"g\",\"10\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 442.5 708 L 442.5 745 L 580 745 L 580 782\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n13:[\"$\",\"g\",\"11\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 737.5 708 L 737.5 745 L 580 745 L 580 782\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n14:[\"$\",\"g\",\"12\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 1032.5 708 L 1032.5 745 L 580 745 L 580 782\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n15:[\"$\",\"g\",\"13\",{\"children\":[[\"$\",\"path\",null,{\"d\":\"M 580 866 L 580 924\",\"fill\":\"none\",\"stroke\":\"#4a4a4a\",\"strokeWidth\":\"1.5\",\"markerEnd\":\"url(#flow-arrow)\"}],\"$undefined\"]}]\n16:[\"$\",\"text\",null,{\"x\":600,\"y\":598,\"textAnchor\":\"middle\",\"fontSize\":\"10.5\",\"letterSpacing\":\"1.5\",\"fill\":\"#00d2be\",\"fontFamily\":\"'JetBrains Mono', monospace\",\"children\":\"EVIDENCE ENGINE β PLAIN MATH, NOT AI, ALL FOUR RUN INDEPENDENTLY\"}]\n17:[\"$\",\"rect\",null,{\"x\":0,\"y\":608,\"width\":1200,\"height\":110,\"fill\":\"none\",\"stroke\":\"#00d2be\",\"strokeOpacity\":\"0.25\",\"strokeDasharray\":\"4 4\"}]\n18:[\"$\",\"g\",\"input\",{\"children\":[[\"$\",\"rect\",null,{\"x\":440,\"y\":20,\"width\":280,\"height\":70,\"rx\":2,\"className\":\"bg-bg2 border-dim2\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#4a4a4a\"}}],[\"$\",\"foreignObject\",null,{\"x\":440,\"y\":20,\"width\":280,\"height\":70,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Driver Radio Call\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"raw audio in\"}]]}]}]]}]\n19:[\"$\",\"g\",\"asr\",{\"children\":[[\"$\",\"rect\",null,{\"x\":60,\"y\":150,\"width\":320,\"height\":84,\"rx\":2,\"className\":\"bg-red/5 border-red/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#e10600\"}}],[\"$\",\"foreignObject\",null,{\"x\":60,\"y\":150,\"width\":320,\"height\":84,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-1 text-[8px] uppercase tracking-[0.14em] text-red\",\"children\":\"AI model\"}],[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Speech-to-Text\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"distil-whisper (ASR)\"}]]}]}]]}]\n1a:[\"$\",\"g\",\"tone\",{\"children\":[[\"$\",\"rect\",null,{\"x\":780,\"y\":150,\"width\":320,\"height\":84,\"rx\":2,\"className\":\"bg-red/5 border-red/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#e10600\"}}],[\"$\",\"foreignObject\",null,{\"x\":780,\"y\":150,\"width\":320,\"height\":84,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-1 text-[8px] uppercase tracking-[0.14em] text-red\",\"children\":\"AI model\"}],[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Tone / Voice Scoring\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"VoiceCLAP encoder\"}]]}]}]]}]\n1b:[\"$\",\"g\",\"classifier\",{\"children\":[[\"$\",\"rect\",null,{\"x\":60,\"y\":292,\"width\":320,\"height\":84,\"rx\":2,\"className\":\"bg-red/5 border-red/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#e10600\"}}],[\"$\",\"foreignObject\",null,{\"x\":60,\"y\":292,\"width\":320,\"height\":84,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-1 text-[8px] uppercase tracking-[0.14em] text-red\",\"children\":\"AI model\"}],[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Complaint Classifier\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"embedding similarity\"}]]}]}]]}]\n1c:[\"$\",\"g\",\"merge\",{\"children\":[[\"$\",\"rect\",null,{\"x\":440,\"y\":434,\"width\":280,\"height\":84,\"rx\":2,\"className\":\"bg-gold/5 border-gold/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#ffd60a\"}}],[\"$\",\"foreignObject\",null,{\"x\":440,\"y\":434,\"width\":280,\"height\":84,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-1 text-[8px] uppercase tracking-[0.14em] text-gold\",\"children\":\"data contract\"}],[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Radio Analysis Output\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"transcript + tone + category (JSON)\"}]]}]}]]}]\n1d:[\"$\",\"g\",\"baseline\",{\"children\":[[\"$\",\"rect\",null,{\"x\":10,\"y\":616,\"width\":275,\"height\":92,\"rx\":2,\"className\":\"bg-teal/5 border-teal/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#00d2be\"}}],[\"$\",\"foreignObject\",null,{\"x\":10,\"y\":616,\"width\":275,\"height\":92,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Own-Baseline Check\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"this lap vs. driver's own last 5\"}]]}]}]]}]\n1e:[\"$\",\"g\",\"retrieval\",{\"children\":[[\"$\",\"rect\",null,{\"x\":305,\"y\":616,\"width\":275,\"height\":92,\"rx\":2,\"className\":\"bg-teal/5 border-teal/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#00d2be\"}}],[\"$\",\"foreignObject\",null,{\"x\":305,\"y\":616,\"width\":275,\"height\":92,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Historical Memory Match\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"similar past incidents\"}]]}]}]]}]\n1f:[\"$\",\"g\",\"leadtime\",{\"children\":[[\"$\",\"rect\",null,{\"x\":600,\"y\":616,\"width\":275,\"height\":92,\"rx\":2,\"className\":\"bg-teal/5 border-teal/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#00d2be\"}}],[\"$\",\"foreignObject\",null,{\"x\":600,\"y\":616,\"width\":275,\"height\":92,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Lead-Time Measurement\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"seconds of driver warning\"}]]}]}]]}]\n20:[\"$\",\"g\",\"recurrence\",{\"children\":[[\"$\",\"rect\",null,{\"x\":895,\"y\":616,\"width\":275,\"height\":92,\"rx\":2,\"className\":\"bg-teal/5 border-teal/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#00d2be\"}}],[\"$\",\"foreignObject\",null,{\"x\":895,\"y\":616,\"width\":275,\"height\":92,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Recurrence Check\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"\\\"again\\\" / \\\"still\\\" wording\"}]]}]}]]}]\n21:[\"$\",\"g\",\"assessment\",{\"children\":[[\"$\",\"rect\",null,{\"x\":440,\"y\":782,\"width\":280,\"height\":84,\"rx\":2,\"className\":\"bg-gold/5 border-gold/60\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#ffd60a\"}}],[\"$\",\"foreignObject\",null,{\"x\":440,\"y\":782,\"width\":280,\"height\":84,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-1 text-[8px] uppercase tracking-[0.14em] text-gold\",\"children\":\"data contract\"}],[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Incident Assessment\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"one verdict, evidence attached\"}]]}]}]]}]\n22:[\"$\",\"g\",\"dashboard\",{\"children\":[[\"$\",\"rect\",null,{\"x\":440,\"y\":924,\"width\":280,\"height\":70,\"rx\":2,\"className\":\"bg-bg2 border-dim2\",\"fill\":\"currentColor\",\"fillOpacity\":\"0.04\",\"stroke\":\"currentColor\",\"strokeWidth\":\"1.25\",\"style\":{\"color\":\"#4a4a4a\"}}],[\"$\",\"foreignObject\",null,{\"x\":440,\"y\":924,\"width\":280,\"height\":70,\"children\":[\"$\",\"div\",null,{\"className\":\"flex h-full w-full flex-col items-center justify-center px-3 text-center\",\"children\":[\"$undefined\",[\"$\",\"span\",null,{\"className\":\"text-[12px] font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"Engineer's Screen\"}],[\"$\",\"span\",null,{\"className\":\"mt-0.5 text-[10px] text-dim\",\"children\":\"Pit-Wall Incident Inspector\"}]]}]}]]}]\n23:[\"$\",\"div\",null,{\"className\":\"mt-5 flex flex-wrap gap-4 border-t border-rule pt-4\",\"children\":[[\"$\",\"span\",null,{\"className\":\"flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"h-2.5 w-2.5 border border-dim2\"}],\"input / screen\"]}],[\"$\",\"span\",null,{\"className\":\"flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"h-2.5 w-2.5 border border-red/60\"}],\"AI model (learned)\"]}],[\"$\",\"span\",null,{\"className\":\"flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"h-2.5 w-2.5 border border-teal/60\"}],\"evidence engine (classical math)\"]}],[\"$\",\"span\",null,{\"className\":\"flex items-center gap-2 text-[10px] uppercase tracking-[0.1em] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"h-2.5 w-2.5 border border-gold/60\"}],\"data contract (JSON handoff)\"]}]]}]\n24:[\"$\",\"div\",null,{\"className\":\"border border-rule bg-bg p-6\",\"children\":[[\"$\",\"p\",null,{\"className\":\"mb-1 text-[9px] uppercase tracking-[0.16em] text-red\",\"children\":\"For technical Q\u0026A\"}],[\"$\",\"h2\",null,{\"className\":\"mb-1 text-lg font-medium uppercase tracking-[0.03em] text-ink\",\"children\":\"System Design Workflow\"}],[\"$\",\"p\",null,{\"className\":\"mb-6 max-w-2xl text-[11.5px] leading-relaxed text-dim\",\"children\":\"What happens, in order, when a radio call comes in β and exactly which file and function does it. Every parameter below is a real, measured value, not a placeholder.\"}],[\"$\",\"div\",null,{\"className\":\"flex flex-col gap-5\",\"children\":[[\"$\",\"div\",\"01\",{\"className\":\"border border-rule bg-bg2 p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-baseline gap-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-[10px] text-red\",\"children\":\"01\"}],[\"$\",\"p\",null,{\"className\":\"text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink\",\"children\":\"Audio in β Transcription\"}]]}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-[11.5px] leading-relaxed text-dim\",\"children\":\"The driver's radio call (raw audio) is converted into text. This is the βtranslationβ step β speech to words.\"}],\"$undefined\",\"$undefined\",[\"$\",\"div\",null,{\"className\":\"mt-3 flex flex-col gap-1 border-t border-rule pt-3\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"model \"}],\"distil-whisper/distil-large-v3.5-ct2 (via faster-whisper)\"]}],[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"where in code \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/radio_ai/app/asr.py β transcribe()\"}]]}],[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"parameters live in \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"Model ID + pinned version: services/radio_ai/app/config.py β ModelConfig\"}]]}]]}]]}],[\"$\",\"div\",\"02\",{\"className\":\"border border-rule bg-bg2 p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-baseline gap-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-[10px] text-red\",\"children\":\"02\"}],[\"$\",\"p\",null,{\"className\":\"text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink\",\"children\":\"Tone / Voice Analysis\"}]]}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-[11.5px] leading-relaxed text-dim\",\"children\":\"The raw audio itself (not the words) is scored for how the driver sounds β calm, stressed, or tired.\"}],[\"$\",\"ul\",null,{\"className\":\"mt-3 flex flex-col gap-1\",\"children\":[[\"$\",\"li\",\"Arousal β how excited/tense the voice sounds\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"Arousal β how excited/tense the voice sounds\"]}],[\"$\",\"li\",\"Fatigue_Exhaustion β how tired the voice sounds\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"Fatigue_Exhaustion β how tired the voice sounds\"]}],[\"$\",\"li\",\"Recording_Quality β how clean the audio is\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"Recording_Quality β how clean the audio is\"]}],[\"$\",\"li\",\"Background_Noise β how much noise is in the clip\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"Background_Noise β how much noise is in the clip\"]}]]}],[\"$\",\"p\",null,{\"className\":\"mt-3 border-l-2 border-gold/50 bg-gold/5 py-1.5 pl-3 text-[10.5px] leading-relaxed text-gold\",\"children\":\"Fatigue β₯ 1.1 β FATIGUED. Else if Arousal β₯ 2.565 β ELEVATED_AROUSAL. Else β CALM. Low quality/high noise doesn't change the label β it lowers the confidence score instead.\"}],[\"$\",\"div\",null,{\"className\":\"mt-3 flex flex-col gap-1 border-t border-rule pt-3\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[\"$L2b\",\"laion/voiceclap-commercial (encoder + attribute heads)\"]}],\"$L2c\",\"$L2d\"]}]]}],\"$L2e\",\"$L2f\",\"$L30\"]}]]}]\n25:[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2p594__5egvvs.js\",\"async\":true,\"nonce\":\"$undefined\"}]\n26:[\"$\",\"$L31\",null,{\"children\":[\"$\",\"$32\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@33\"}]}]\n28:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L34\",null,{\"children\":\"$L35\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L36\",null,{\"children\":[\"$\",\"$32\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L37\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n2a:[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0-9w4s7c6xtvk.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]\n27:C\n2b:[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"model \"}]\n2c:[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"where in code \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/radio_ai/app/tone.py β score_waveform(), map_to_label()\"}]]}]\n2d:[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"parameters live in \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/radio_ai/app/config.py β ToneThresholds class β Arousal threshold 2.565, Fatigue threshold 1.1\"}]]}]\n2e:[\"$\",\"div\",\"03\",{\"className\":\"border border-rule bg-bg2 p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-baseline gap-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-[10px] text-red\",\"children\":\"03\"}],[\"$\",\"p\",null,{\"className\":\"text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink\",\"children\":\"Complaint Category\"}]]}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-[11.5px] leading-relaxed text-dim\",\"children\":\"The transcribed words are matched against 5 fixed problem categories β sorted, not diagnosed.\"}],\"$undefined\",\"$undefined\",[\"$\",\"div\",null,{\"className\":\"mt-3 flex flex-col gap-1 border-t border-rule pt-3\",\"children\":[[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"model \"}],\"sentence-transformers/all-MiniLM-L6-v2 (embedding + prototype similarity)\"]}],[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"where in code \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/radio_ai/app/complaint_classifier.py β classify()\"}]]}],[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"parameters live in \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/radio_ai/app/config.py β ClassifierConfig class β 5 category descriptions + similarity margin 0.16\"}]]}]]}]]}]\n2f:[\"$\",\"div\",\"04\",{\"className\":\"border border-rule bg-bg2 p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-baseline gap-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-[10px] text-red\",\"children\":\"04\"}],[\"$\",\"p\",null,{\"className\":\"text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink\",\"children\":\"Evidence Engine β the solution being generated\"}]]}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-[11.5px] leading-relaxed text-dim\",\"children\":\"This is where the actual answer gets built: is the car really behaving differently, has this happened before, and how much warning did the call give. Plain statistics, not a model.\"}],[\"$\",\"ul\",null,{\"className\":\"mt-3 flex flex-col gap-1\",\"children\":[[\"$\",\"li\",\"baseline.py β compare_to_baseline() β this lap vs. the driver's own last 5 laps at this corner\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"baseline.py β compare_to_baseline() β this lap vs. the driver's own last 5 laps at this corner\"]}],[\"$\",\"li\",\"retrieval.py β best_match() β search past incidents for a similar report\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"retrieval.py β best_match() β search past incidents for a similar report\"]}],[\"$\",\"li\",\"lead_time.py β measure_lead_time() β seconds between the call and the measurable change\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"lead_time.py β measure_lead_time() β seconds between the call and the measurable change\"]}],[\"$\",\"li\",\"recurrence.py β assess_recurrence() β does the driver's own wording say βagainβ/βstillβ\",{\"className\":\"pl-3 text-[10.5px] leading-relaxed text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mr-2 text-teal\",\"children\":\"Β·\"}],\"recurrence.py β assess_recurrence() β does the driver's own wording say βagainβ/βstillβ\"]}]]}],\"$undefined\",[\"$\",\"div\",null,{\"className\":\"mt-3 flex flex-col gap-1 border-t border-rule pt-3\",\"children\":[\"$undefined\",[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"where in code \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/evidence_memory/\"}]]}],\"$undefined\"]}]]}]\n30:[\"$\",\"div\",\"05\",{\"className\":\"border border-rule bg-bg2 p-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-baseline gap-3\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-[10px] text-red\",\"children\":\"05\"}],[\"$\",\"p\",null,{\"className\":\"text-[12.5px] font-medium uppercase tracking-[0.04em] text-ink\",\"children\":\"Final Output β Incident Assessment\"}]]}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-[11.5px] leading-relaxed text-dim\",\"children\":\"Everything above is combined into one verdict β sent to the dashboard as a single JSON record, never a raw score.\"}],\"$undefined\",\"$undefined\",[\"$\",\"div\",null,{\"className\":\"mt-3 flex flex-col gap-1 border-t border-rule pt-3\",\"children\":[\"$undefined\",[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"where in code \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"services/core_api/app/pipeline.py β evaluate_incident()\"}]]}],[\"$\",\"p\",null,{\"className\":\"text-[10px] text-dim\",\"children\":[[\"$\",\"span\",null,{\"className\":\"text-teal\",\"children\":\"parameters live in \"}],[\"$\",\"code\",null,{\"className\":\"text-ink\",\"children\":\"Served over HTTP by services/core_api/app/main.py β /v1/incidents/{id}\"}]]}]]}]]}]\n35:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n38:I[27201,[\"/_next/static/chunks/3fntmmi971322.js\"],\"IconMark\"]\n33:null\n37:[[\"$\",\"title\",\"0\",{\"children\":\"ApexSignal β System Design Workflow\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The full radio-to-verdict pipeline as a flowchart, with each stage mapped to its exact model, parameters, and source file.\"}],[\"$\",\"meta\",\"2\",{\"property\":\"og:title\",\"content\":\"ApexSignal β The Silent Co-Driver\"}],[\"$\",\"meta\",\"3\",{\"property\":\"og:description\",\"content\":\"A public, interactive incident replay connecting driver radio to telemetry evidence and historical memory.\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:url\",\"content\":\"https://apex-signal-sigma.vercel.app/\"}],[\"$\",\"meta\",\"5\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"7\",{\"name\":\"twitter:title\",\"content\":\"ApexSignal β The Silent Co-Driver\"}],[\"$\",\"meta\",\"8\",{\"name\":\"twitter:description\",\"content\":\"A public, interactive incident replay connecting driver radio to telemetry evidence and historical memory.\"}],[\"$\",\"link\",\"9\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.1fi2ifkq8n3ga.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L38\",\"10\",{}]]\n"])</script></body></html> |