tessl install tessl/pypi-fiona@1.10.0Fiona reads and writes spatial data files
Agent Success
Agent success rate when using this tile
88%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.1x
Baseline
Agent success rate without this tile
80%
{
"context": "This criteria evaluates how well the engineer uses Fiona's transaction management and bulk write capabilities to efficiently load geographic features into various GIS formats. The focus is on proper use of Fiona's API for opening collections, writing features, and leveraging automatic transaction batching.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses fiona.open()",
"description": "Uses fiona.open() to create/open the output dataset with appropriate parameters including file path, mode='w', driver, crs, and schema",
"max_score": 20
},
{
"name": "Defines proper schema",
"description": "Defines a valid schema dictionary with 'geometry' and 'properties' keys that matches the structure of input features",
"max_score": 15
},
{
"name": "Context manager usage",
"description": "Uses fiona.open() as a context manager (with statement) to ensure proper resource cleanup and transaction handling",
"max_score": 15
},
{
"name": "Writes features correctly",
"description": "Uses the collection's write() method to add features to the dataset, correctly passing feature dictionaries",
"max_score": 20
},
{
"name": "Leverages automatic batching",
"description": "Relies on Fiona's automatic transaction batching for bulk writes rather than implementing manual batching or writing features one transaction at a time",
"max_score": 15
},
{
"name": "Handles multiple formats",
"description": "Correctly uses the driver parameter to support different output formats (GPKG, GeoJSON, ESRI Shapefile) without format-specific code branches",
"max_score": 10
},
{
"name": "Schema validation awareness",
"description": "Understands that Fiona performs automatic schema validation on write, allowing validation errors to propagate naturally rather than implementing redundant validation",
"max_score": 5
}
]
}