Ctrl + K
DocumentationLog inGet started

tessl/pypi-aws-requests-auth

tessl install tessl/pypi-aws-requests-auth@0.4.0

AWS signature version 4 signing process for the python requests module

Agent Success

Agent success rate when using this tile

84%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.11x

Baseline

Agent success rate without this tile

76%

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses the aws-requests-auth package to generate AWS authentication headers, specifically focusing on the get_aws_request_headers() method and proper integration with the AWSRequestsAuth class for custom header generation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "AWSRequestsAuth instantiation",
      "description": "Creates an instance of AWSRequestsAuth class with required parameters (aws_access_key, aws_secret_access_key, aws_host, aws_region, aws_service)",
      "max_score": 20
    },
    {
      "name": "get_aws_request_headers usage",
      "description": "Calls the get_aws_request_headers() method or get_aws_request_headers_handler() method to generate the complete header dictionary",
      "max_score": 30
    },
    {
      "name": "Request object preparation",
      "description": "Properly prepares a PreparedRequest object or equivalent request representation with method, path, params, and data before passing to header generation",
      "max_score": 20
    },
    {
      "name": "Session token handling",
      "description": "Correctly passes aws_token parameter to AWSRequestsAuth when session token is provided to ensure X-Amz-Security-Token header is included",
      "max_score": 15
    },
    {
      "name": "Header dictionary return",
      "description": "Returns the header dictionary from get_aws_request_headers() containing Authorization, x-amz-date, x-amz-content-sha256, and optionally X-Amz-Security-Token headers",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/aws-requests-auth@0.4.x
tile.json