78일차 데이터 품질 검증 자동화: 실습 15개(Q) · 기준 둘 · 강의(개요 30장 · 단계 문서 · 4단계 정리 · 05 바이브) · 요청서와 VIBE-Q(tcheck), 정답은 수업 뒤
This commit is contained in:
1 parent
fbed1b22f6
commit
4ec7ae123b
76 files changed
+11631
No files matched your search
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"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": {}
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"url": "http://localhost:8800/faq-reset",
|
||||
"body": {}
|
||||
}
|
||||
],
|
||||
"cases": [
|
||||
{
|
||||
"name": "거절도 품질 기록",
|
||||
"request": "requests/faq-batch-1.json",
|
||||
"expect": {
|
||||
"status": 422
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "배치 2 가져오기",
|
||||
"request": "requests/faq-batch-2.json",
|
||||
"expect": {
|
||||
"equals": {
|
||||
"score": 0.8
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "품질 기록 두 줄 (거절 · 0.8)",
|
||||
"url": "http://localhost:8800/quality-log/list",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"count": 2,
|
||||
"items.0.rejected": true,
|
||||
"items.1.score": 0.8,
|
||||
"items.1.valid": 8,
|
||||
"items.1.quarantined": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "알림 두 건 (거절 · 낮은 점수)",
|
||||
"url": "http://localhost:8800/alerts/list",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"count": 2
|
||||
},
|
||||
"contains": {
|
||||
"alerts": "batch_rejected"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "알림에 낮은 점수",
|
||||
"url": "http://localhost:8800/alerts/list",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"contains": {
|
||||
"alerts": "low_quality"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user