Fiona reads and writes spatial data files
88
Pending
Does it follow best practices?
Impact
88%
1.10xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how effectively the engineer uses Fiona's CRS (Coordinate Reference System) class and its methods to parse, convert, and identify coordinate reference systems. The focus is on proper usage of CRS creation methods, format conversion methods, and CRS type checking properties.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CRS object creation",
"description": "Uses appropriate Fiona CRS class methods to parse input CRS strings. Should use CRS.from_epsg() for EPSG codes, CRS.from_string() for other formats (WKT, PROJ, authority strings). Should not manually construct CRS objects or use non-Fiona approaches.",
"max_score": 30
},
{
"name": "WKT conversion",
"description": "Uses the CRS.to_wkt() method to convert CRS objects to Well-Known Text format. Should not attempt manual WKT string construction or use alternative approaches.",
"max_score": 20
},
{
"name": "PROJ conversion",
"description": "Accesses the CRS object's PROJ string representation using appropriate attributes or methods (e.g., checking the 'data' attribute or using to_string() method). Should not manually construct PROJ strings.",
"max_score": 20
},
{
"name": "CRS type identification",
"description": "Uses CRS object properties is_geographic and is_projected to determine CRS type. Should check these boolean properties rather than parsing strings or using other heuristics.",
"max_score": 20
},
{
"name": "Error handling",
"description": "Properly handles invalid CRS strings by catching Fiona CRS exceptions (CRSError or similar) and converting them to appropriate error responses (e.g., ValueError as specified). Should not allow Fiona exceptions to propagate uncaught.",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10