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

{
  "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
    }
  ]
}

Version

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