Strategic architecture, tactical design, and testable code principles (SOLID, Clean Architecture, Design Patterns, Testable Design)
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
{
"context": "Agent must identify multiple SRP violations in a God Class and refactor into focused single-responsibility classes",
"type": "weighted_checklist",
"checklist": [
{
"name": "violations.md uses required format",
"description": "violations.md contains at least three entries each using the three-line 'SRP violation / Refactor / Validation' format",
"max_score": 15
},
{
"name": "Authentication concern extracted",
"description": "A separate file is produced for authentication logic (login, password hashing, JWT generation) — e.g. AuthService.ts",
"max_score": 20
},
{
"name": "Notification concern extracted",
"description": "Email-sending logic is not mixed into the same class as persistence logic; a separate notification or mailer class or delegation is present",
"max_score": 20
},
{
"name": "Persistence concern extracted or isolated",
"description": "Database queries are not scattered across multiple responsibility classes; they are in a dedicated repository or data-access class",
"max_score": 20
},
{
"name": "Each extracted class has a single responsibility",
"description": "No produced class contains methods from more than one of the concerns identified in violations.md",
"max_score": 25
}
]
}clean-architecture
evals
references
design-patterns
solid-principles
testable-design