CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-rodi

Implementation of dependency injection for Python 3

92

1.05x
Quality

Pending

Does it follow best practices?

Impact

92%

1.05x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-3/

{
  "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
    }
  ]
}

tile.json