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-9/

{
  "context": "This criteria evaluates how well the engineer uses pynmea2's error handling capabilities to build a robust NMEA sentence validator. The focus is on proper use of the parse() function, exception handling for the three error types (ParseError, ChecksumError, SentenceTypeError), and understanding of the check parameter for strict validation.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses pynmea2.parse()",
      "description": "Uses the pynmea2.parse() function to parse NMEA sentences into sentence objects",
      "max_score": 15
    },
    {
      "name": "Handles ChecksumError",
      "description": "Catches pynmea2.ChecksumError exceptions and categorizes them correctly as checksum errors",
      "max_score": 20
    },
    {
      "name": "Handles SentenceTypeError",
      "description": "Catches pynmea2.SentenceTypeError exceptions and categorizes them correctly as unknown sentence type errors",
      "max_score": 20
    },
    {
      "name": "Handles ParseError",
      "description": "Catches pynmea2.ParseError exceptions (or its parent class) and categorizes them correctly as general parse errors",
      "max_score": 20
    },
    {
      "name": "Strict mode parameter",
      "description": "Uses the check=True parameter in pynmea2.parse() when strict mode is enabled, and check=False (or omitted) when strict mode is disabled",
      "max_score": 15
    },
    {
      "name": "Sentence type extraction",
      "description": "Extracts the sentence type from parsed sentence objects using the sentence_type attribute or similar mechanism provided by pynmea2",
      "max_score": 10
    }
  ]
}

Version

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