FloPy is a Python package to create, run, and post-process MODFLOW-based models
Agent Success
Agent success rate when using this tile
66%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.14x
Baseline
Agent success rate without this tile
58%
{
"context": "This criteria evaluates the engineer's proficiency in using FloPy's StructuredGrid class for handling structured grids with variable spacing, rotation, and spatial queries. The focus is on proper grid construction, coordinate transformations, and spatial query methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Grid Initialization",
"description": "Uses StructuredGrid class (from flopy.discretization.structuredgrid or similar module) to create the grid with correct parameters for dimensions (nlay, nrow, ncol), variable delr array (row spacing), uniform delc array (column spacing), top elevation, and botm array (bottom elevations)",
"max_score": 25
},
{
"name": "Grid Rotation/Offset",
"description": "Correctly applies grid rotation and offset using xoff, yoff, and angrot parameters when creating the StructuredGrid, ensuring all coordinates are properly transformed to real-world coordinates",
"max_score": 15
},
{
"name": "Cell Center Extraction",
"description": "Uses StructuredGrid methods to extract cell center coordinates (e.g., xyzcellcenters, get_cell_vertices, or similar methods) to retrieve x, y, z coordinates of cell centers in real-world coordinate system",
"max_score": 20
},
{
"name": "Vertex Extraction",
"description": "Uses StructuredGrid methods to extract cell vertices (e.g., get_cell_vertices, verts property, or xyvertices) to retrieve corner coordinates of cells accounting for rotation",
"max_score": 15
},
{
"name": "Volume Calculation",
"description": "Calculates or retrieves cell volumes using grid properties (e.g., cell thickness from top/botm arrays and cell areas from delr/delc)",
"max_score": 10
},
{
"name": "Point Query",
"description": "Uses StructuredGrid point-in-cell query methods (e.g., intersect method, get_lrc method, or similar spatial query functionality) to find which cells contain a given x, y point",
"max_score": 10
},
{
"name": "Cross-Section Vertices",
"description": "Uses StructuredGrid cross-section methods or vertex extraction (e.g., get_cross_section_vertices, get_vertices, or constructs vertices from grid properties) to extract vertices along a row for cross-section visualization",
"max_score": 5
}
]
}tessl i tessl/pypi-flopy@3.9.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10