mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
- Both recordings share one clock: the Mac's sound starts with the silence it missed. - Echo: the Mac's sound is the reference; a microphone word with no more energy than its echo is the others'. Plus a word-level check for runs of their words. - A speaker heard only in short bits goes back to the closest real voice. - Claude corrects the transcript before the summary (checked, raw kept) and names people when the call says who they are. - Fix a line, reassign it or delete it; corrected words are learnt for the next calls. - Renaming a speaker with another's name merges them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
8 lines
331 B
Bash
Executable File
8 lines
331 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-notetaker.XXXXXX")"
|
|
trap 'rm -rf "$TEST_DIR"' EXIT
|
|
swiftc NotchBuddy/Sources/App/NoteModels.swift NotchBuddy/Sources/App/NoteEcho.swift tests/NoteModelsTests.swift -o "$TEST_DIR/notetaker-tests"
|
|
"$TEST_DIR/notetaker-tests"
|