fix(tests): rerank fixture 경로 정정 — captured_responses.*.raw 가 실응답 리스트
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -47,7 +47,7 @@ def test_normalize_llamacpp_empty_and_absent_results():
|
||||
def test_tei_fixture_shape_is_already_contract():
|
||||
"""TEI 캡처 fixture(Phase 2B G0-1 spec 박제)의 실응답이 정규화 없이 계약 형태임을 확인."""
|
||||
doc = json.loads((FIXTURES / "tei_rerank_response.json").read_text())
|
||||
captured = doc["captured_responses"]["baseline_bge_v2_m3"]
|
||||
captured = doc["captured_responses"]["baseline_bge_v2_m3"]["raw"]
|
||||
assert isinstance(captured, list) and captured
|
||||
assert {"index", "score"} <= set(captured[0])
|
||||
# spec 문자열도 계약과 일치 (score desc 정렬 포함)
|
||||
|
||||
Reference in New Issue
Block a user