Python library for parsing and generating NMEA 0183 protocol messages used in GPS and marine navigation systems
77
Pending
Does it follow best practices?
Impact
77%
1.11xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10