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

{
  "context": "This criteria evaluates how effectively the engineer uses the w3lib library's URL canonicalization capabilities to solve the URL deduplication problem. The focus is on proper utilization of w3lib's canonicalize_url function and understanding its parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses canonicalize_url",
      "description": "Implementation uses w3lib.url.canonicalize_url() function as the core approach for URL normalization",
      "max_score": 40
    },
    {
      "name": "Proper function import",
      "description": "Correctly imports canonicalize_url from w3lib.url module (e.g., 'from w3lib.url import canonicalize_url')",
      "max_score": 15
    },
    {
      "name": "Query parameter handling",
      "description": "Solution correctly handles query parameter ordering, either through canonicalize_url's default behavior or by understanding its keep_blank_values parameter",
      "max_score": 15
    },
    {
      "name": "Fragment handling",
      "description": "Solution correctly handles URL fragments, either through canonicalize_url's default behavior or by using the keep_fragments parameter appropriately",
      "max_score": 15
    },
    {
      "name": "Encoding parameter usage",
      "description": "Demonstrates awareness of encoding considerations by either using the default encoding or explicitly setting the encoding parameter in canonicalize_url",
      "max_score": 15
    }
  ]
}

Version

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