Commit d5b9fc2
Prefer bge-m3 over weak filename-token alignment matches
The name-similarity fallback accepts a Jaccard overlap of just 0.05,
so captions like "EE4802_IE4213 on 07_04_2026 (Tue)" would match
"EE4802_IE4213_Assignment2-AY2526.pdf" (score ≈ 0.22) and shadow the
semantic bge-m3 pick. Every 07-04/13-03/17-03/… caption this session
ended up aligned to the 6-slide Assignment2 PDF instead of its true
ann-dated lecture deck, producing truncated notes with no figures.
When bge-m3 has a match AND the name match isn't backed by a numeric
lecture-id extraction, prefer bge-m3 and log that we're overriding.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 09d9e9a commit d5b9fc2
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1895 | 1895 | | |
1896 | 1896 | | |
1897 | 1897 | | |
1898 | | - | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
1899 | 1918 | | |
1900 | 1919 | | |
1901 | 1920 | | |
| |||
0 commit comments