CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-fiona

Fiona reads and writes spatial data files

88

1.10x
Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer uses Fiona's iterator-based feature streaming capabilities to efficiently process GIS vector data without loading all features into memory at once.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses fiona.open()",
      "description": "Opens GIS files using fiona.open() to access the Collection object, which is the main entry point for reading vector data",
      "max_score": 20
    },
    {
      "name": "Iterator protocol usage",
      "description": "Iterates over features using the Collection's iterator protocol (e.g., 'for feature in collection') rather than loading all features into a list at once",
      "max_score": 30
    },
    {
      "name": "Context manager pattern",
      "description": "Uses fiona.open() as a context manager (with statement) to ensure proper resource cleanup and file handle management",
      "max_score": 20
    },
    {
      "name": "Feature data access",
      "description": "Correctly accesses feature properties from the feature dictionary (e.g., feature['properties'][property_name]) to extract attribute values",
      "max_score": 20
    },
    {
      "name": "Memory efficiency",
      "description": "Implementation processes features one at a time through iteration without accumulating all features in memory (no intermediate list/array of all features)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-fiona

tile.json