82 lines
3.0 KiB
Plaintext
82 lines
3.0 KiB
Plaintext
$ npx vitest run tests/ambience.test.ts
|
||||
|
|
Started UTC: 2026-10-14T09:32:28.005336+00:00
|
|||
|
|
|
|||
|
|
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
|
|||
|
|
|
|||
|
|
❯ tests/ambience.test.ts (6 tests | 3 failed) 658ms
|
|||
|
|
× 선택 구간은 승인 계획의 불변 provenance이며 manifest와 고지에 동일하게 남는다 8ms
|
|||
|
|
× 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다 2ms
|
|||
|
|
× 재시도는 market/cafe만 바꾸고 mall 및 실패·no-VAD 증거를 바이트 그대로 보존한다 198ms
|
|||
|
|
|
|||
|
|
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯
|
|||
|
|
|
|||
|
|
FAIL tests/ambience.test.ts > 선택 구간은 승인 계획의 불변 provenance이며 manifest와 고지에 동일하게 남는다
|
|||
|
|
AssertionError: expected { street: 35, mall: 36, …(6) } to deeply equal { street: 35, mall: 36, …(6) }
|
|||
|
|
|
|||
|
|
- Expected
|
|||
|
|
+ Received
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
- "cafe": 0,
|
|||
|
|
+ "cafe": 180,
|
|||
|
|
"department": 90,
|
|||
|
|
"mall": 36,
|
|||
|
|
- "market": 24,
|
|||
|
|
+ "market": 60,
|
|||
|
|
"rain": 180,
|
|||
|
|
"street": 35,
|
|||
|
|
"subway": 65,
|
|||
|
|
"theater": 45,
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
❯ tests/ambience.test.ts:159:5
|
|||
|
|
157| ),
|
|||
|
|
158| ),
|
|||
|
|
159| ).toEqual(starts);
|
|||
|
|
| ^
|
|||
|
|
160| for (const asset of plan.assets) {
|
|||
|
|
161| const start = asset.selectedSegmentStartSeconds;
|
|||
|
|
|
|||
|
|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯
|
|||
|
|
|
|||
|
|
FAIL tests/ambience.test.ts > 최종 ASR 증거는 정확한 WAV와 연결되며 청취·법적 인수로 주장하지 않는다
|
|||
|
|
AssertionError: expected false to be true // Object.is equality
|
|||
|
|
|
|||
|
|
- Expected
|
|||
|
|
+ Received
|
|||
|
|
|
|||
|
|
- true
|
|||
|
|
+ false
|
|||
|
|
|
|||
|
|
❯ tests/ambience.test.ts:194:41
|
|||
|
|
192| expect(screening.model).toMatchObject({ name: "tiny", multilingual: …
|
|||
|
|
193| expect(screening.model.revision).toMatch(/^[a-f0-9]{40}$/);
|
|||
|
|
194| expect(screening.requiredEmptyPassed).toBe(true);
|
|||
|
|
| ^
|
|||
|
|
195| expect(screening.requiredEmptyEnvironmentIds).toEqual(["mall", "mark…
|
|||
|
|
196| expect(screening.method).toMatchObject({ device: "cpu", computeType:…
|
|||
|
|
|
|||
|
|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯
|
|||
|
|
|
|||
|
|
FAIL tests/ambience.test.ts > 재시도는 market/cafe만 바꾸고 mall 및 실패·no-VAD 증거를 바이트 그대로 보존한다
|
|||
|
|
AssertionError: public/ambience/cafe.wav: expected '802a956e91b85a2fdd0e1f161d75bfada7a53…' not to be '802a956e91b85a2fdd0e1f161d75bfada7a53…' // Object.is equality
|
|||
|
|
❯ tests/ambience.test.ts:320:36
|
|||
|
|
318| for (const [path, before] of Object.entries(baseline.wavSha256)) {
|
|||
|
|
319| if (/public\/ambience\/(market|cafe)\.wav$/.test(path)) {
|
|||
|
|
320| expect(hash(path), path).not.toBe(before);
|
|||
|
|
| ^
|
|||
|
|
321| changed.push(path);
|
|||
|
|
322| } else {
|
|||
|
|
|
|||
|
|
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯
|
|||
|
|
|
|||
|
|
|
|||
|
|
Test Files 1 failed (1)
|
|||
|
|
Tests 3 failed | 3 passed (6)
|
|||
|
|
Start at 09:32:28
|
|||
|
|
Duration 937ms (tests 80%, setup 12%, transform 6%, import 1%, worker 1%)
|
|||
|
|
|
|||
|
|
|
|||
|
|
Exit code: 1
|
|||
|
|
Finished UTC: 2026-10-14T09:32:29.548064+00:00
|