docs: 코드 블록을 파일명:줄번호 형식으로 변경 (문서 원칙 준수)

This commit is contained in:
Claude-51124 2026-01-13 10:55:55 +09:00
parent 376e121966
commit b20fafe42e

View File

@ -50,19 +50,8 @@
- 매칭된 규칙의 confidence를 DB에서 동적 조회 - 매칭된 규칙의 confidence를 DB에서 동적 조회
- DB 없을 때 하드코딩 값 폴백 (하위 호환성) - DB 없을 때 하드코딩 값 폴백 (하위 호환성)
**코드 구조**: **코드 구조**: `coldmail_ontology_reasoner.py:251-328`
```python - `decide_coldmail()`: DB에서 동적 confidence 조회, 없으면 하드코딩 값 폴백
async def decide_coldmail(email: Dict[str, Any]) -> Dict[str, Any]:
matched = match_rules(email, COLDMAIL_RULES)
# DB에서 동적 confidence 조회
for match in matched:
rule_id = match["rule_id"]
db_confidence = await get_rule_confidence(rule_id)
if db_confidence is not None:
match["confidence"] = db_confidence
# DB에 없으면 기존 하드코딩 값 유지
```
**호출부 수정**: **호출부 수정**:
- `coldmail_hybrid_filter.py`: `await is_coldmail_ontology()` 호출 - `coldmail_hybrid_filter.py`: `await is_coldmail_ontology()` 호출