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-5/

{
  "context": "This criteria evaluates how well the engineer uses the invoke package's dry-run and warning modes functionality to implement a deployment script with preview and resilient execution capabilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses c.run() method",
      "description": "Uses the Context.run() method to execute shell commands within the deploy_application function",
      "max_score": 15
    },
    {
      "name": "Implements dry parameter",
      "description": "Uses the dry parameter of c.run() (e.g., c.run(cmd, dry=preview)) to implement preview mode functionality where commands are shown but not executed",
      "max_score": 30
    },
    {
      "name": "Implements warn parameter",
      "description": "Uses the warn parameter of c.run() (e.g., c.run(cmd, warn=resilient)) to implement resilient execution where failing commands don't stop execution",
      "max_score": 30
    },
    {
      "name": "Iterates over commands",
      "description": "Properly iterates through the commands list parameter and executes each command using c.run()",
      "max_score": 10
    },
    {
      "name": "Returns correct structure",
      "description": "Returns a dictionary with 'success' (bool) and 'completed_steps' (list of str) keys as specified in the API",
      "max_score": 10
    },
    {
      "name": "Tracks execution state",
      "description": "Correctly populates completed_steps list and sets success flag based on execution results, accounting for resilient mode behavior",
      "max_score": 5
    }
  ]
}