CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-py-cord

A modern, async-ready Python API wrapper for Discord with comprehensive bot development features

93

1.10x
Quality

Pending

Does it follow best practices?

Impact

93%

1.10x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-4/

{
  "context": "This evaluation assesses how well the engineer uses Pycord's utility functions from the discord.utils module to implement common Discord bot helper operations. The focus is on correct usage of snowflake manipulation, text escaping, timestamp formatting, and smart caching utilities.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Snowflake conversion",
      "description": "Uses discord.utils.snowflake_time() to convert snowflake IDs to datetime objects in extract_id_timestamp()",
      "max_score": 25
    },
    {
      "name": "Markdown escaping",
      "description": "Uses discord.utils.escape_markdown() to escape markdown formatting characters in sanitize_markdown()",
      "max_score": 20
    },
    {
      "name": "Mention escaping",
      "description": "Uses discord.utils.escape_mentions() to escape user, role, and everyone/here mentions in sanitize_mentions()",
      "max_score": 20
    },
    {
      "name": "Timestamp formatting",
      "description": "Uses discord.utils.format_dt() with appropriate style parameter to create Discord timestamp strings in create_discord_timestamp()",
      "max_score": 25
    },
    {
      "name": "Cache-first lookup",
      "description": "Uses bot.get_user() to check cache first in fetch_user_smart()",
      "max_score": 5
    },
    {
      "name": "API fallback fetch",
      "description": "Uses bot.fetch_user() as fallback when user not in cache in fetch_user_smart()",
      "max_score": 5
    }
  ]
}

tile.json