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

{
  "context": "This evaluation assesses the engineer's ability to use w3lib's URL query parameter manipulation functionality to add or update query parameters in URLs. The focus is specifically on proper usage of the add_or_replace_parameter function for modifying individual URL parameters.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses add_or_replace_parameter",
      "description": "Implementation uses w3lib.url.add_or_replace_parameter function to add or update query parameters in URLs",
      "max_score": 50
    },
    {
      "name": "Correct parameter updates",
      "description": "Correctly uses add_or_replace_parameter to update both session_id and lang parameters, calling the function for each parameter that needs to be modified",
      "max_score": 30
    },
    {
      "name": "Preserves URL structure",
      "description": "Implementation correctly preserves existing query parameters, URL path, scheme, domain, and other URL components when modifying parameters",
      "max_score": 10
    },
    {
      "name": "Correct function signature",
      "description": "Function accepts the required parameters (URL string, session_id value, lang value) and returns a modified URL string",
      "max_score": 10
    }
  ]
}

Version

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