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

{
  "context": "This criteria evaluates how well the engineer uses pynmea2's stream processing capabilities to handle continuous GPS data streams. The focus is on proper usage of NMEAStreamReader for buffering, parsing, and error handling in stream-based scenarios.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "NMEAStreamReader usage",
      "description": "Uses pynmea2.NMEAStreamReader class to process the stream data with proper initialization and error_mode configuration",
      "max_score": 30
    },
    {
      "name": "Stream iteration",
      "description": "Correctly iterates over the stream reader using iterator protocol (for loop or next()) to process parsed sentences",
      "max_score": 15
    },
    {
      "name": "Position extraction",
      "description": "Extracts position data from parsed sentences using latitude and longitude properties (e.g., msg.latitude, msg.longitude) for coordinate conversion to decimal degrees",
      "max_score": 20
    },
    {
      "name": "Timestamp handling",
      "description": "Extracts and uses timestamp information from parsed sentences (e.g., msg.timestamp) for position tracking",
      "max_score": 10
    },
    {
      "name": "Fix validation",
      "description": "Checks fix validity using is_valid property or equivalent validation methods to identify valid GPS positions",
      "max_score": 15
    },
    {
      "name": "Error mode configuration",
      "description": "Properly configures error handling mode ('raise', 'ignore', or 'yield') when initializing NMEAStreamReader",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pynmea2

tile.json