AWS signature version 4 signing process for the python requests module
84
{
"context": "This criteria evaluates how well the engineer uses the aws-requests-auth package's canonical request construction functionality. The focus is on leveraging the package's built-in methods for canonical path and query string generation rather than implementing these from scratch.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses get_canonical_path",
"description": "Implementation uses the AWSRequestsAuth.get_canonical_path() static method or imports and calls the get_canonical_path function from aws-requests-auth for canonicalizing URI paths",
"max_score": 30
},
{
"name": "Uses get_canonical_querystring",
"description": "Implementation uses the AWSRequestsAuth.get_canonical_querystring() static method or imports and calls the get_canonical_querystring function from aws-requests-auth for canonicalizing query strings",
"max_score": 30
},
{
"name": "Correct empty path handling",
"description": "Empty path test case passes, demonstrating proper use of aws-requests-auth's default behavior of returning '/' for empty paths",
"max_score": 10
},
{
"name": "Correct path encoding",
"description": "Path encoding test case passes, showing that special characters in paths are properly encoded using aws-requests-auth's canonical path logic",
"max_score": 10
},
{
"name": "Correct query sorting",
"description": "Query parameter sorting test case passes, demonstrating that aws-requests-auth's canonical query string method correctly sorts parameters alphabetically by key",
"max_score": 15
},
{
"name": "Correct empty query handling",
"description": "Empty query string test case passes, showing proper handling of empty query strings using aws-requests-auth functionality",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-aws-requests-authdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10