tessl install tessl/pypi-w3lib@2.3.0Library 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%
{
"context": "This evaluation assesses how effectively the engineer uses w3lib's HTML processing capabilities to extract and handle meta refresh redirect information. The focus is specifically on utilizing w3lib's get_meta_refresh function and URL manipulation utilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses get_meta_refresh",
"description": "Implementation correctly uses w3lib.html.get_meta_refresh() function to parse HTML content and extract meta refresh information (delay interval and URL).",
"max_score": 40
},
{
"name": "Handles baseurl parameter",
"description": "Correctly passes the base_url parameter to get_meta_refresh() to enable proper resolution of relative URLs in the meta refresh tag.",
"max_score": 25
},
{
"name": "Processes return value",
"description": "Correctly handles the tuple return value (interval, url) from get_meta_refresh(), including the case where it returns None when no meta refresh tag is found.",
"max_score": 20
},
{
"name": "Returns correct format",
"description": "Implementation returns the expected tuple format (int, str) for delay and URL, and correctly returns None when no meta refresh is found, matching the specification.",
"max_score": 15
}
]
}