chore(omc): hotpaths (chunked correction)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-09 07:09:51 +09:00
parent b721ca6419
commit 1a91060c43
+16 -16
View File
@@ -30,7 +30,7 @@
}, },
"build": { "build": {
"buildCommand": null, "buildCommand": null,
"testCommand": "export PATH=\"$HOME/.local/bin:$HOME/.cargo/bin:$PATH\"\nclip=\"samples/ko_en/clips/GDG 인천 - EmbeddingGemma 200% 활용하기 - 지주영.m4a\"\nffmpeg -nostdin -ss 70 -t 12 -i \"$clip\" -ac 1 -ar 16000 -y /tmp/api_smoke.wav 2>/dev/null\nls -l /tmp/api_smoke.wav\necho \"=== pytest 재확인(413 수정 후) ===\"; uv run pytest -q 2>&1 | tail -3", "testCommand": "export PATH=\"$HOME/.local/bin:$HOME/.cargo/bin:$PATH\"\necho \"=== ruff ===\"; uv run ruff check src/ tests/ && echo clean\necho \"=== pytest ===\"; uv run pytest -q 2>&1 | tail -6\necho \"=== 청크 분할 빠른 점검 ===\"; uv run python -c \"\nfrom luke_scribe.postprocess import llm\nt='. '.join(f'문장{i} EmbeddingGemma' for i in range(300))\nch=llm._chunk(t, 200)\nprint('total chars', len(t), '→ chunks', len(ch), '| max chunk', max(len(c) for c in ch))\nprint('all<=200:', all(len(c)<=200 for c in ch))\n\"",
"lintCommand": "ruff check", "lintCommand": "ruff check",
"devCommand": null, "devCommand": null,
"scripts": {} "scripts": {}
@@ -129,6 +129,12 @@
"lastAccessed": 1780928043613, "lastAccessed": 1780928043613,
"type": "file" "type": "file"
}, },
{
"path": "src/luke_scribe/config.py",
"accessCount": 4,
"lastAccessed": 1780956547899,
"type": "file"
},
{ {
"path": "README.md", "path": "README.md",
"accessCount": 3, "accessCount": 3,
@@ -136,15 +142,21 @@
"type": "file" "type": "file"
}, },
{ {
"path": "src/luke_scribe/config.py", "path": "src/luke_scribe/postprocess/llm.py",
"accessCount": 3, "accessCount": 3,
"lastAccessed": 1780927884587, "lastAccessed": 1780956524689,
"type": "file" "type": "file"
}, },
{ {
"path": "src/luke_scribe/api/routes/transcribe.py", "path": "src/luke_scribe/api/routes/transcribe.py",
"accessCount": 3,
"lastAccessed": 1780956549345,
"type": "file"
},
{
"path": "tests/test_postprocess.py",
"accessCount": 2, "accessCount": 2,
"lastAccessed": 1780928097713, "lastAccessed": 1780956556589,
"type": "file" "type": "file"
}, },
{ {
@@ -267,12 +279,6 @@
"lastAccessed": 1780927897308, "lastAccessed": 1780927897308,
"type": "file" "type": "file"
}, },
{
"path": "src/luke_scribe/postprocess/llm.py",
"accessCount": 1,
"lastAccessed": 1780927908123,
"type": "file"
},
{ {
"path": "src/luke_scribe/api/__init__.py", "path": "src/luke_scribe/api/__init__.py",
"accessCount": 1, "accessCount": 1,
@@ -327,12 +333,6 @@
"lastAccessed": 1780928016400, "lastAccessed": 1780928016400,
"type": "file" "type": "file"
}, },
{
"path": "tests/test_postprocess.py",
"accessCount": 1,
"lastAccessed": 1780928018944,
"type": "file"
},
{ {
"path": "tests/test_api.py", "path": "tests/test_api.py",
"accessCount": 1, "accessCount": 1,