tessl install tessl/pypi-py-cord@2.6.0A modern, async-ready Python API wrapper for Discord with comprehensive bot development features
Agent Success
Agent success rate when using this tile
93%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.11x
Baseline
Agent success rate without this tile
84%
{
"context": "This evaluation assesses how well the engineer uses py-cord's traditional text commands API (discord.ext.commands) to implement a todo bot with command groups, subcommands, aliases, and cogs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Cog Implementation",
"description": "Uses commands.Cog class to organize commands and implements __init__ method that accepts bot parameter",
"max_score": 15
},
{
"name": "Command Group Setup",
"description": "Uses @commands.group decorator to create the main 'todo' command group with proper name parameter",
"max_score": 20
},
{
"name": "Alias Configuration",
"description": "Configures aliases=['task'] parameter in the @commands.group decorator to enable alternate command name",
"max_score": 10
},
{
"name": "Subcommand Implementation",
"description": "Uses @todo.command decorator (or equivalent group method) to create 'add', 'list', and 'remove' as subcommands of the todo group",
"max_score": 20
},
{
"name": "Context Parameter Usage",
"description": "All command methods accept commands.Context (or ctx) as first parameter after self",
"max_score": 10
},
{
"name": "Greedy Parameter",
"description": "Uses *, (greedy/keyword-only) parameter in add_todo method signature to capture task description with spaces",
"max_score": 10
},
{
"name": "Type Conversion",
"description": "Uses int type hint for index parameter in remove_todo method to enable automatic argument parsing and conversion",
"max_score": 10
},
{
"name": "Setup Function",
"description": "Implements async setup function that uses await bot.add_cog() to register the cog with the bot",
"max_score": 5
}
]
}