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

{
  "context": "This criteria evaluates how well the engineer uses Invoke's automatic function-to-CLI argument generation feature, specifically focusing on proper use of the @task decorator and configuring various argument types through decorator parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "@task decorator import",
      "description": "Uses 'from invoke import task' to import the task decorator",
      "max_score": 10
    },
    {
      "name": "@task decorator application",
      "description": "Both build() and deploy() functions are decorated with @task, enabling automatic CLI generation",
      "max_score": 15
    },
    {
      "name": "Context parameter",
      "description": "Both task functions accept a context parameter (typically named 'c') as the first argument, following Invoke conventions",
      "max_score": 10
    },
    {
      "name": "Incrementable flag",
      "description": "Uses incrementable=['verbose'] parameter in @task decorator for the build function, or sets verbose default to 0, to enable -v, -vv, -vvv style flags",
      "max_score": 30
    },
    {
      "name": "Iterable flag",
      "description": "Uses iterable=['tag'] parameter in @task decorator for the deploy function, or sets tag default to None/[], to enable multiple --tag arguments",
      "max_score": 30
    },
    {
      "name": "Function signatures",
      "description": "Function parameters match requirements: build(c, project, clean=False, verbose=0, output_dir='build') and deploy(c, environment, skip_tests=False, tag=None)",
      "max_score": 5
    }
  ]
}