CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-pynmea2

tessl install tessl/pypi-pynmea2@1.19.0

Python library for parsing and generating NMEA 0183 protocol messages used in GPS and marine navigation systems

Agent Success

Agent success rate when using this tile

77%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.12x

Baseline

Agent success rate without this tile

69%

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how effectively the engineer uses pynmea2's checksum validation capabilities to implement a message validator. The focus is on utilizing pynmea2's parse() function with checksum validation and understanding its error handling mechanisms.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses parse() function",
      "description": "Uses pynmea2.parse() function to parse and validate NMEA messages",
      "max_score": 25
    },
    {
      "name": "Checksum validation enabled",
      "description": "Correctly uses the check=True parameter in parse() to enable checksum validation",
      "max_score": 20
    },
    {
      "name": "Handles ChecksumError",
      "description": "Catches and handles pynmea2.ChecksumError exception for invalid checksums",
      "max_score": 20
    },
    {
      "name": "Handles ParseError",
      "description": "Catches and handles pynmea2.ParseError exception for malformed messages",
      "max_score": 15
    },
    {
      "name": "Uses NMEASentence render",
      "description": "Uses the render() method or str() on parsed NMEASentence objects to compute checksums for validation or generation",
      "max_score": 15
    },
    {
      "name": "Avoids reimplementation",
      "description": "Does not reimplement checksum calculation from scratch when pynmea2 provides this functionality",
      "max_score": 5
    }
  ]
}

Version

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