Ctrl + K
DocumentationLog inGet started

tessl/pypi-w3lib

tessl install tessl/pypi-w3lib@2.3.0

Library of web-related functions for HTML manipulation, HTTP processing, URL handling, and encoding detection

Agent Success

Agent success rate when using this tile

84%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.91x

Baseline

Agent success rate without this tile

92%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how effectively the engineer uses w3lib's HTML entity handling functions to solve the problem. The focus is on proper usage of replace_entities() and has_entities() functions with their various parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses replace_entities",
      "description": "The convert_entities() function uses w3lib.html.replace_entities() to convert HTML entities to Unicode characters",
      "max_score": 30
    },
    {
      "name": "Uses keep parameter",
      "description": "The convert_entities() function correctly passes the keep parameter to replace_entities() to preserve specific entities",
      "max_score": 20
    },
    {
      "name": "Uses remove_illegal parameter",
      "description": "The convert_entities() function correctly passes the remove_illegal parameter to replace_entities() to handle illegal character references",
      "max_score": 15
    },
    {
      "name": "Uses has_entities",
      "description": "The has_entities() function uses w3lib.html.has_entities() to check for the presence of HTML entities in text",
      "max_score": 25
    },
    {
      "name": "Handles text encoding",
      "description": "Correctly handles the encoding parameter if needed when calling w3lib functions (or uses default behavior appropriately)",
      "max_score": 10
    }
  ]
}

Version

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