or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/aws-lambda-powertools@3.19.x
tile.json

tessl/pypi-aws-lambda-powertools

tessl install tessl/pypi-aws-lambda-powertools@3.19.0

Comprehensive developer toolkit implementing serverless best practices for AWS Lambda functions in Python

Agent Success

Agent success rate when using this tile

89%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.22x

Baseline

Agent success rate without this tile

73%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how effectively the engineer uses AWS Lambda Powertools' LambdaFunctionUrlResolver to implement HTTP endpoint routing, request/response handling, and error management for a Lambda Function URL-based service.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LambdaFunctionUrlResolver initialization",
      "description": "Creates an instance of LambdaFunctionUrlResolver with appropriate CORS configuration (allow_origin, allow_methods, allow_headers).",
      "max_score": 15
    },
    {
      "name": "GET route registration",
      "description": "Uses the @app.get() decorator or app.get() method to register the GET /users/<user_id> route with path parameter support.",
      "max_score": 15
    },
    {
      "name": "POST route registration",
      "description": "Uses the @app.post() decorator or app.post() method to register the POST /users route for creating users.",
      "max_score": 15
    },
    {
      "name": "PUT route registration",
      "description": "Uses the @app.put() decorator or app.put() method to register the PUT /users/<user_id> route with path parameter support.",
      "max_score": 15
    },
    {
      "name": "Request data access",
      "description": "Accesses request data using app.current_event.json_body for POST/PUT requests and extracts path parameters from route handler function arguments.",
      "max_score": 15
    },
    {
      "name": "Response handling",
      "description": "Uses Response class from aws_lambda_powertools.event_handler to return structured HTTP responses with appropriate status codes (200, 201, 400, 404).",
      "max_score": 15
    },
    {
      "name": "Resolver integration",
      "description": "Calls app.resolve(event, context) in the lambda_handler function to process incoming Function URL events and route them to the appropriate handler.",
      "max_score": 10
    }
  ]
}