CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pynmea2

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

77

1.11x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how effectively the engineer uses the pynmea2 library to parse GPS almanac (ALM) sentences and extract orbital parameters. The focus is on correct usage of pynmea2's parsing functions, sentence type handling, and field access methods for ALM-specific data.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Parse function usage",
      "description": "Uses pynmea2.parse() function to parse NMEA ALM sentences from the input file",
      "max_score": 25
    },
    {
      "name": "ALM sentence handling",
      "description": "Correctly accesses ALM sentence type and handles ALM-specific sentence objects returned by the parser",
      "max_score": 20
    },
    {
      "name": "PRN field access",
      "description": "Extracts satellite PRN numbers using the appropriate field accessor (e.g., msg.sat_prn or similar ALM field)",
      "max_score": 15
    },
    {
      "name": "Health status access",
      "description": "Extracts health status information from ALM sentences using the appropriate field accessor (e.g., msg.sv_health)",
      "max_score": 15
    },
    {
      "name": "Eccentricity field access",
      "description": "Extracts eccentricity values from ALM sentences using the appropriate field accessor (e.g., msg.ecc)",
      "max_score": 15
    },
    {
      "name": "Stream/file processing",
      "description": "Uses appropriate pynmea2 patterns for processing multiple sentences from a file (e.g., iterating and parsing line by line, or using NMEAFile/NMEAStreamReader if applicable)",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pynmea2

tile.json