or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/invoke@2.2.x
tile.json

tessl/pypi-invoke

tessl install tessl/pypi-invoke@2.2.0

Pythonic task execution library for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks

Agent Success

Agent success rate when using this tile

96%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.25x

Baseline

Agent success rate without this tile

77%

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses the invoke package's MockContext feature to test task code without executing actual shell commands. The focus is on proper usage of MockContext, Result objects, and test assertions to verify task behavior.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "MockContext instantiation",
      "description": "Uses MockContext class from invoke package to create a test context object instead of using a real Context",
      "max_score": 20
    },
    {
      "name": "Result configuration",
      "description": "Uses Result class from invoke package to pre-configure expected command outputs with appropriate stdout, stderr, and exit codes",
      "max_score": 25
    },
    {
      "name": "Command mapping",
      "description": "Properly configures the MockContext with a dictionary mapping commands to Result objects (e.g., MockContext(run={...}))",
      "max_score": 20
    },
    {
      "name": "Success scenario testing",
      "description": "Tests successful deployment by configuring all commands to return successful Results (exit code 0) and verifies the task returns the expected success status",
      "max_score": 15
    },
    {
      "name": "Failure scenario testing",
      "description": "Tests failure handling by configuring at least one command (pytest) to return a failed Result (non-zero exit code) and verifies the task returns the expected failure status",
      "max_score": 15
    },
    {
      "name": "Task decorator usage",
      "description": "Uses the @task decorator from invoke package to properly define the deployment task function",
      "max_score": 5
    }
  ]
}