tessl install tessl/pypi-pillow-heif@1.1.0Python interface for libheif library providing HEIF/AVIF image processing with both standalone and Pillow plugin capabilities
Agent Success
Agent success rate when using this tile
94%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.45x
Baseline
Agent success rate without this tile
65%
{
"context": "This criteria evaluates how well the engineer uses pillow-heif package functionality to read and extract XMP metadata from HEIF/AVIF image files. It focuses on proper usage of the package's XMP metadata reading capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Open HEIF/AVIF file",
"description": "Uses pillow-heif functions to open HEIF/AVIF image files (e.g., open_heif(), read_heif(), or is_supported())",
"max_score": 25
},
{
"name": "Access XMP metadata",
"description": "Correctly accesses XMP metadata from the image info dictionary using info['xmp']",
"max_score": 30
},
{
"name": "Decode XMP bytes",
"description": "Properly decodes the XMP metadata bytes to UTF-8 string format",
"max_score": 25
},
{
"name": "Handle missing XMP",
"description": "Correctly handles cases where XMP metadata is not present (returns None or checks for key existence)",
"max_score": 20
}
]
}