tessl install tessl/pypi-rodi@2.0.0Implementation of dependency injection for Python 3
Agent Success
Agent success rate when using this tile
92%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.06x
Baseline
Agent success rate without this tile
87%
{
"context": "This criteria evaluates how well the engineer uses the rodi package's service availability checking functionality to implement a service configuration validator. The focus is on proper usage of rodi's Container class and the 'in' operator to check if services are registered.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Container import",
"description": "Imports the Container class from rodi package",
"max_score": 10
},
{
"name": "Container storage",
"description": "Stores the container instance passed to __init__ for later use in validation",
"max_score": 10
},
{
"name": "Service availability check",
"description": "Uses the 'in' operator or equivalent container membership check (e.g., 'ServiceType in container' or 'Type in container') to verify if a service is registered",
"max_score": 40
},
{
"name": "Service class resolution",
"description": "Correctly converts service name strings from configuration into actual class/type objects that can be checked against the container",
"max_score": 20
},
{
"name": "Multiple service checks",
"description": "Iterates through all required services and checks each one's availability in the container",
"max_score": 10
},
{
"name": "Accurate result reporting",
"description": "Returns validation results with correct 'valid' status (True when all services available, False otherwise), accurate 'missing' list, and correct 'checked' count",
"max_score": 10
}
]
}