CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-flopy

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%

Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how well the engineer uses FloPy's binary file reading utilities to handle cross-platform byte-order differences when reading MODFLOW binary output files. The focus is on proper use of FloPy's existing byte-order handling capabilities rather than implementing byte-order detection from scratch.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses HeadFile class",
      "description": "Uses FloPy's `flopy.utils.HeadFile` or `flopy.utils.binaryfile.HeadFile` class for reading binary head files instead of implementing a custom binary reader from scratch.",
      "max_score": 25
    },
    {
      "name": "Byte-order parameter usage",
      "description": "Correctly utilizes FloPy's byte-order handling through constructor parameters or kwargs (e.g., passing byte order hints or letting FloPy auto-detect). May involve using parameters like `byteorder` or relying on FloPy's automatic detection mechanisms.",
      "max_score": 20
    },
    {
      "name": "Precision parameter",
      "description": "Properly configures the `precision` parameter ('single' or 'double') when initializing the binary file reader, as specified in the requirements.",
      "max_score": 15
    },
    {
      "name": "Data retrieval methods",
      "description": "Uses appropriate FloPy methods to retrieve data from binary files, such as `get_data()` with proper indexing parameters (kstpkper, idx, or totim) and `get_times()` or equivalent methods for time information.",
      "max_score": 20
    },
    {
      "name": "Header information extraction",
      "description": "Correctly extracts header metadata (kstp, kper, pertim, totim, text, ncol, nrow, ilay) using FloPy's binary file API attributes or methods rather than manual binary parsing.",
      "max_score": 15
    },
    {
      "name": "File resource management",
      "description": "Properly manages file resources by closing files when done, either explicitly using `close()` method or using context managers if supported by the implementation.",
      "max_score": 5
    }
  ]
}
tessl i tessl/pypi-flopy@3.9.0

tile.json