CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-h3

Python bindings for H3, a hierarchical hexagonal geospatial indexing system

84

0.95x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates how well the solution uses h3's manual index construction helpers to build and inspect base-cell digit indexes instead of generic geo conversions. Focuses on the proper use of construct_cell, deconstruct_cell, get_base_cell_number, and get_index_digit to satisfy the spec's behaviors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Construct with digits",
      "description": "build_cell calls h3.construct_cell with the provided base cell and digit sequence so digit length drives resolution, while rejecting out-of-range digits rather than hand-building hex strings or relying on coordinate conversion.",
      "max_score": 35
    },
    {
      "name": "Decompose correctly",
      "description": "decompose_cell relies on h3.deconstruct_cell to recover base cell and digit order, and derives resolution directly from that output instead of re-parsing or guessing.",
      "max_score": 30
    },
    {
      "name": "Base cell checks",
      "description": "Implementation verifies base cell numbers with h3.get_base_cell_number on constructed indexes and enforces the 0–121 bounds using the package result rather than hardcoded tables or unchecked values.",
      "max_score": 20
    },
    {
      "name": "Digit lookup API",
      "description": "digit_at uses h3.get_index_digit for the requested resolution and raises errors when the resolution exceeds the index depth, avoiding manual bit masking or string slicing.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-h3

tile.json