Design, develop, and test software systems using the MIM (Module - Infrastructure - Module) architecture and foundational modular design principles.
100
Quality
100%
Does it follow best practices?
Impact
100%
1.25xAverage score across 5 eval scenarios
{
"context": "Evaluates the implementation of the 'Adaptive Testing' strategy, specifically checking for sociable unit tests, the use of hand-written fakes, and behavioral assertions instead of mocking frameworks.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Sociable testing via Public API",
"description": "Tests the entire feature through its main public entry point (e.g., FirmwareDispatcher.dispatch()) rather than testing internal classes (like scanners, builders) individually.",
"max_score": 30
},
{
"name": "Hand-written Fake usage",
"description": "Uses at least one explicit hand-written 'Fake' class (e.g., FakeFirmwareRepository, InMemoryRepo) that maintains an internal list or state for verification.",
"max_score": 30
},
{
"name": "No automated mocking",
"description": "The test does NOT use 'jest.mock', 'sinon.stub', 'Mockito.mock', or any similar library to create or control mock objects.",
"max_score": 20
},
{
"name": "State-based behavioral assertions",
"description": "Assertions check the final state of the 'Fake' (e.g. check number of logs saved) or the result of the API call, rather than verifying calls to mocks.",
"max_score": 20
}
]
}