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,92 @@
|
||||
{
|
||||
"webhook": "my-quality-report",
|
||||
"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": {}
|
||||
},
|
||||
{
|
||||
"webhook": "my-faq-import",
|
||||
"request": "requests/faq-batch-1.json",
|
||||
"allow_fail": true
|
||||
},
|
||||
{
|
||||
"webhook": "my-faq-import",
|
||||
"request": "requests/faq-batch-2.json"
|
||||
},
|
||||
{
|
||||
"webhook": "my-faq-import",
|
||||
"request": "requests/faq-batch-3.json"
|
||||
},
|
||||
{
|
||||
"webhook": "my-faq-import",
|
||||
"request": "requests/faq-batch-2-fixed.json"
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"url": "http://localhost:8800/faq-reset",
|
||||
"body": {}
|
||||
}
|
||||
],
|
||||
"cases": [
|
||||
{
|
||||
"name": "배치 네 개 · 평균 · 가장 나쁜 배치",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"count": 4,
|
||||
"avg_score": 0.6583,
|
||||
"worst_batch": "B-1",
|
||||
"rejected_batches": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "가장 많은 이유 · 흐름",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"top_codes.0.code": "pii",
|
||||
"top_codes.0.count": 2,
|
||||
"trend": "좋아짐"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "배치마다 점수 순서",
|
||||
"body": {},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"batches.1.score": 0.8,
|
||||
"batches.2.score": 0.8333,
|
||||
"batches.3.batch": "B-2-fix"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "다른 데이터셋으로 거르기",
|
||||
"body": {
|
||||
"dataset": "employee"
|
||||
},
|
||||
"expect": {
|
||||
"equals": {
|
||||
"count": 0,
|
||||
"avg_score": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user