df7b474ad68d7dc9f71cf3cec31d8a4b11f215a3

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Bump threshold

Diff

 1diff --git a/AGENTS.md b/AGENTS.md
 2index 3d62630a5a66e1c012d9d73565d054a7b2737c77..335a55ff19579fc18d2ad665d33e2bf7d6711f6b 100644
 3--- a/AGENTS.md
 4+++ b/AGENTS.md
 5@@ -20,7 +20,7 @@ Single `main` package, one file per concern:
 6   the window start); the segment is written as a temp WAV and played with
 7   `aplay`. Requires ffmpeg, ffprobe, and aplay on PATH.
 8 - `matching.go` — `fuzzyMatch`: normalized similarity (title 4 pts, album 4 pts,
 9-  artist 2 pts) with a parenthesized-suffix retry; `matchThreshold = 0.7`.
10+  artist 2 pts) with a parenthesized-suffix retry
11 - `ui.go` — bubbletea TUI: model, game states (playing/guess/result),
12   keyboard handling, scoring, and the `startAudio` tea.Cmd that runs
13   playback in a goroutine.
14diff --git a/matching.go b/matching.go
15index 09267d5cea69d0a70e3d5518fa6f1e19e81b1a1e..9d2b4dbfa6bf788ac72b1f62c3c9a26e6786a278 100644
16--- a/matching.go
17+++ b/matching.go
18@@ -6,7 +6,7 @@ import (
19 )
20 
21 const (
22-	matchThreshold = 0.7
23+	matchThreshold = 0.8
24 
25 	pointsTitle    = 4
26 	pointsArtist   = 2