- Import sorting (I001) - Unused imports (F401) - f-string without placeholders (F541) - Loop variable unused (B007) - zip() strict parameter (B905) - Exception chaining (B904) - collections.abc imports (UP035) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
769 B
Python
32 lines
769 B
Python
"""
|
|
LLM Testing Framework - ADR-018 Implementation
|
|
===============================================
|
|
|
|
三層 LLM 測試策略:
|
|
- Tier 1: Schema 驗證 (CI)
|
|
- Tier 2: 屬性測試 (Nightly)
|
|
- Tier 3: 語意品質 (Weekly)
|
|
|
|
版本: v1.0
|
|
建立: 2026-03-26 (台北時區)
|
|
"""
|
|
|
|
from .golden_responses import GoldenResponseManager
|
|
from .property_validators import (
|
|
validate_chinese_ratio,
|
|
validate_kubectl_syntax,
|
|
validate_response_length,
|
|
validate_risk_level,
|
|
)
|
|
from .schema_validators import LLMProposalOutput, validate_proposal_schema
|
|
|
|
__all__ = [
|
|
"GoldenResponseManager",
|
|
"LLMProposalOutput",
|
|
"validate_proposal_schema",
|
|
"validate_kubectl_syntax",
|
|
"validate_risk_level",
|
|
"validate_chinese_ratio",
|
|
"validate_response_length",
|
|
]
|