or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/fiona@1.10.x
tile.json

tessl/pypi-fiona

tessl install tessl/pypi-fiona@1.10.0

Fiona 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%

rubric.jsonevals/scenario-8/

{
  "context": "This evaluation assesses how well the engineer utilizes Fiona's random access feature retrieval capability, specifically focusing on the proper use of the collection[fid] indexing pattern and appropriate error handling for non-existent feature IDs.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Opens collection properly",
      "description": "Uses fiona.open() to open the spatial data file in read mode ('r'), correctly passing the filepath parameter",
      "max_score": 15
    },
    {
      "name": "Uses random access",
      "description": "Retrieves features by ID using the collection[feature_id] indexing pattern (not by iterating through all features)",
      "max_score": 35
    },
    {
      "name": "Handles missing IDs",
      "description": "Catches KeyError or IndexError exceptions when accessing non-existent feature IDs and continues processing remaining IDs",
      "max_score": 25
    },
    {
      "name": "Resource management",
      "description": "Uses context manager (with statement) or properly closes the collection after use to ensure resource cleanup",
      "max_score": 15
    },
    {
      "name": "Returns features correctly",
      "description": "Returns features as dictionaries in their GeoJSON-like structure (with 'geometry', 'properties', and optionally 'id' keys) without unnecessary transformations",
      "max_score": 10
    }
  ]
}