feat: split author/admin detect views and add case matching KPI basis

월례회의 자료(2026-09-18) p.7 파이프라인의 3단계 「저자 화면에는 케이스 코드를
노출하지 않는다」를 구현하고, 후속 합의에 필요한 문서를 함께 남긴다.

- DetectOptions.audience(admin 기본 / author). author 직렬화에서 case_id,
  case_candidates, tags, legal_risk, is_infringement 을 제외하고 ccl_basis 를
  코드 없는 문장으로 대체한다. 일치 위치와 점수는 유지한다.
- is_infringement 는 필수 bool 로 둔다. run_precision_eval.py 등 소비자가 bool
  로 읽으므로 선택 필드로 두면 None 이 조용히 흘러간다. 제외는 직렬화에서만 한다.
- publication_verdict 필드 추가. 컴북스 코드표 미확보이므로 39건 전부 null 이며
  null 을 출간 허용으로 해석하지 않는다. enum 과 대표값 선정은 코드표 수령 후.
- request_id / taxonomy_version 을 응답에 싣는다. 관리자 확정 로그와 연결된다.
- engine_version 기본값을 2.2.1-cases-v1.3 으로 맞춘다. 직전 값(2.0.1)이 King
  운영값 2.2.0-persistent-cpu 보다 낮아 성적서 대조 시 뒤집혀 보였다.

케이스 정의는 39건(A 27건)을 유지한다. 회의 자료의 40건(A 28건)과 1건 차이가
있으나 아카이빙 DB v2.3 원본을 받기 전까지 추측해 채우지 않는다.

7,786편 운영 재검사는 모집단 불일치(현재 6,343건)로 중단했고 부분 실행은 집계하지
않는다. 별도 평가셋 재측정은 기존 testset_v2 수치(precision 98.4032%)를 그대로
재현했으며 새 독립 시험 결과가 아니다. 상세는 reports/CASE_MATCHING_EVAL_*.json.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
HyeongBaeYangandClaude Opus 5 committed 2026-09-18 16:16:33 +09:00
1 parent 52a0fdcdf0
commit b73d27a850
12 files changed
+574 -42

No files matched your search

+78 -39
View File
@@ -28,7 +28,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A2",
@@ -56,7 +57,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A3",
@@ -80,7 +82,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A4",
@@ -104,7 +107,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A5",
@@ -128,7 +132,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A6",
@@ -152,7 +157,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A7",
@@ -177,7 +183,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A8",
@@ -201,7 +208,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A9",
@@ -225,7 +233,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A10",
@@ -255,7 +264,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A11",
@@ -273,7 +283,8 @@
"detectable_internal": false,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "공표권·복제 법리"
"representative_precedent_note": "공표권·복제 법리",
"publication_verdict": null
},
{
"case_id": "A12",
@@ -291,7 +302,8 @@
"detectable_internal": false,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "A13",
@@ -311,7 +323,8 @@
"high_risk": true,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "A14",
@@ -335,7 +348,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A15",
@@ -359,7 +373,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A16",
@@ -388,7 +403,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A17",
@@ -415,7 +431,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A18",
@@ -435,7 +452,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A19",
@@ -462,7 +480,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A20",
@@ -480,7 +499,8 @@
"detectable_internal": false,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "어문 밖(상표)"
"representative_precedent_note": "어문 밖(상표)",
"publication_verdict": null
},
{
"case_id": "A21",
@@ -504,7 +524,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A22",
@@ -524,7 +545,8 @@
"high_risk": true,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "A23",
@@ -551,7 +573,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A24",
@@ -569,7 +592,8 @@
"detectable_internal": false,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "A25",
@@ -591,7 +615,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A26",
@@ -613,7 +638,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "A27",
@@ -630,7 +656,8 @@
"detectable_internal": false,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "계약·성명표시(판례 약함)"
"representative_precedent_note": "계약·성명표시(판례 약함)",
"publication_verdict": null
},
{
"case_id": "B1",
@@ -656,7 +683,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "B2",
@@ -680,7 +708,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "B3",
@@ -708,7 +737,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "B4",
@@ -725,7 +755,8 @@
"high_risk": true,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "C1",
@@ -748,7 +779,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "C2",
@@ -770,7 +802,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "C3",
@@ -789,7 +822,8 @@
"high_risk": true,
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "확립 판례 없음"
"representative_precedent_note": "확립 판례 없음",
"publication_verdict": null
},
{
"case_id": "D1",
@@ -818,7 +852,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "E1",
@@ -845,7 +880,8 @@
"in_runtime_corpus": true
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "E2",
@@ -868,7 +904,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
},
{
"case_id": "X1",
@@ -882,7 +919,8 @@
"note": "사생활 침해 영역, 약관·운영 절차로 처리",
"handling": "terms_or_report",
"representative_precedents": [],
"representative_precedent_note": "저작권 밖(개인정보)"
"representative_precedent_note": "저작권 밖(개인정보)",
"publication_verdict": null
},
{
"case_id": "X2",
@@ -901,7 +939,8 @@
"in_runtime_corpus": false
}
],
"representative_precedent_note": null
"representative_precedent_note": null,
"publication_verdict": null
}
]
}