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

{
  "context": "This criteria evaluates how well the engineer uses AWS Lambda Powertools data classes and utilities to handle Kinesis Firehose transformation events. The focus is on proper usage of KinesisFirehoseEvent, KinesisFirehoseDataTransformationRecord, and KinesisFirehoseDataTransformationResponse classes along with their methods for data access and response building.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "KinesisFirehoseEvent usage",
      "description": "Uses the KinesisFirehoseEvent data class to wrap the incoming event and access the records property to iterate over transformation records",
      "max_score": 20
    },
    {
      "name": "Record data access",
      "description": "Uses KinesisFirehoseDataTransformationRecord properties (data_as_text or data_as_json) to decode base64-encoded record data instead of manually decoding",
      "max_score": 25
    },
    {
      "name": "Record ID preservation",
      "description": "Uses the record_id property from KinesisFirehoseDataTransformationRecord to maintain record identity in the response",
      "max_score": 10
    },
    {
      "name": "Response construction",
      "description": "Uses KinesisFirehoseDataTransformationResponse class to build the final response with the list of transformed records",
      "max_score": 20
    },
    {
      "name": "Result status codes",
      "description": "Properly sets the result field in response records with appropriate values: 'Ok' for successful transformations, 'Dropped' for filtered records, and 'ProcessingFailed' for errors",
      "max_score": 15
    },
    {
      "name": "Base64 encoding output",
      "description": "Properly base64-encodes the transformed JSON data in the data field of each response record",
      "max_score": 10
    }
  ]
}