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

{
  "context": "This criteria evaluates how effectively the engineer uses w3lib's advanced query parameter filtering capabilities to implement URL parameter sanitization functions. The focus is on proper usage of url_query_cleaner and related URL manipulation functions from w3lib.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses url_query_cleaner",
      "description": "Uses w3lib.url.url_query_cleaner function for query parameter filtering operations rather than manual string manipulation or urllib parsing",
      "max_score": 35
    },
    {
      "name": "Blacklist implementation",
      "description": "Correctly implements sanitize_url using url_query_cleaner with remove=False parameter to blacklist specific parameters",
      "max_score": 15
    },
    {
      "name": "Whitelist implementation",
      "description": "Correctly implements filter_url_params using url_query_cleaner with remove=True parameter (or by inverting logic) to whitelist specific parameters",
      "max_score": 15
    },
    {
      "name": "Duplicate removal",
      "description": "Correctly implements remove_duplicate_params using url_query_cleaner with unique=True parameter to eliminate duplicate parameters",
      "max_score": 15
    },
    {
      "name": "Fragment handling",
      "description": "Correctly implements remove_fragment using url_query_cleaner with keep_fragments=False parameter to strip URL fragments",
      "max_score": 10
    },
    {
      "name": "Proper imports",
      "description": "Correctly imports url_query_cleaner from w3lib.url module (e.g., from w3lib.url import url_query_cleaner)",
      "max_score": 10
    }
  ]
}

Version

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