CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-leafmap

A Python package for geospatial analysis and interactive mapping in a Jupyter environment.

54%

Overall

Evaluation54%

0.81x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how well the solution leverages leafmap to build a precipitation-themed choropleth with continuous colorbar, categorical legend overlays, and exported interactive output. Confirms that mapping, theming, legends, and export rely on leafmap APIs rather than custom HTML.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Leafmap map",
      "description": "Creates the interactive map with leafmap (`leafmap.Map` or `leafmap.foliumap.Map`), centers/zooms using its helpers, and avoids raw folium/ipy controls.",
      "max_score": 15
    },
    {
      "name": "Choropleth styling",
      "description": "Adds polygon data through leafmap (`Map.add_geojson`/`Map.add_gdf` or `add_data`) and colors by the `precip_mm` property using a leafmap colormap (`leafmap.colormap.linear` or `Map.add_colormap`) aligned to the provided palette and value range.",
      "max_score": 25
    },
    {
      "name": "Colorbar binding",
      "description": "Renders a continuous colorbar with leafmap (`Map.add_colorbar` or `Map.add_colormap`) that mirrors the choropleth scale and shows the provided min/max labels from the value range.",
      "max_score": 25
    },
    {
      "name": "Overlay legend",
      "description": "Adds optional category overlays via leafmap layer methods and registers a matching legend with `Map.add_legend` (or `builtin_legends` plus customization) so legend swatches and layer toggles correspond to each category color.",
      "max_score": 20
    },
    {
      "name": "HTML export",
      "description": "Exports the interactive map with legends/colorbar intact using leafmap’s exporter (e.g., `Map.to_html`), not manual HTML templating.",
      "max_score": 15
    }
  ]
}
tessl i tessl/pypi-leafmap@0.52.0

tile.json