78일차 데이터 품질 검증 자동화: 실습 15개(Q) · 기준 둘 · 강의(개요 30장 · 단계 문서 · 4단계 정리 · 05 바이브) · 요청서와 VIBE-Q(tcheck), 정답은 수업 뒤

This commit is contained in:
mcchae committed 2026-11-02 20:42:54 +09:00
1 parent fbed1b22f6
commit 4ec7ae123b
76 files changed
+11631

No files matched your search

+87
View File
@@ -0,0 +1,87 @@
{
"webhook": "my-faq-import",
"before": [
{
"url": "http://localhost:8800/faq-reset",
"body": {}
},
{
"url": "http://localhost:8800/quarantine-clear",
"body": {}
},
{
"url": "http://localhost:8800/quality-log-clear",
"body": {}
},
{
"url": "http://localhost:8800/alerts-clear",
"body": {}
}
],
"cases": [
{
"name": "B-1 · 기본 기준 0.3 → 거절",
"request": "requests/faq-batch-1.json",
"expect": {
"status": 422,
"equals": {
"max_invalid_ratio": 0.3,
"invalid_ratio": 0.7692
}
}
},
{
"name": "B-1 · 기준을 0.8로 풀면 → 받음, 넣는 것은 2줄",
"request": "requests/faq-batch-1-loose.json",
"expect": {
"equals": {
"rejected": false,
"max_invalid_ratio": 0.8,
"imported": 2,
"quarantined": 11
}
}
},
{
"name": "FAQ만 처음으로 (B-1이 넣은 2줄을 비움, 격리함은 그대로)",
"url": "http://localhost:8800/faq-reset",
"body": {},
"expect": {
"equals": {
"cleared": 2
}
}
},
{
"name": "B-2 · 기준 0.05 → 거절",
"request": "requests/faq-batch-2-strict.json",
"expect": {
"status": 422,
"equals": {
"invalid_ratio": 0.1,
"max_invalid_ratio": 0.05
}
}
},
{
"name": "B-2 · 기준 0.1 · 나쁜 줄이 딱 10% → 받음",
"request": "requests/faq-batch-2-limit-0.1.json",
"expect": {
"equals": {
"rejected": false,
"max_invalid_ratio": 0.1
}
}
},
{
"name": "격리함이 13줄 (B-1 11 + B-2 2)",
"url": "http://localhost:8800/quarantine/list",
"body": {},
"expect": {
"equals": {
"size": 13
}
}
}
]
}