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 evaluation assesses how effectively the engineer uses rodi's function execution with dependency injection capabilities, specifically focusing on the provider.exec() method and provider.get_executor() function for executing functions with auto-injected parameters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses provider.exec()",
"description": "Uses the provider.exec() method to execute handler functions with automatically injected dependencies",
"max_score": 40
},
{
"name": "Handles sync/async",
"description": "Correctly handles both synchronous and asynchronous handler functions using provider.exec() which supports both",
"max_score": 20
},
{
"name": "Type hint resolution",
"description": "Leverages rodi's automatic parameter resolution from function signature type hints - handlers use type-annotated parameters that get automatically resolved",
"max_score": 25
},
{
"name": "Provider initialization",
"description": "Properly accepts and uses a rodi Services provider instance in the EventManager constructor",
"max_score": 15
}
]
}