CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pynetworktables

A pure Python implementation of NetworkTables, used for robot communications in the FIRST Robotics Competition.

75

1.01x
Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This checklist verifies correct use of pynetworktables persistence APIs to store and reload entries, including prefix-filtered snapshots. Emphasis is on calling the library's native save/load helpers rather than manual serialization, and on respecting persistence flags.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Persistent flagging",
      "description": "write_entry toggles disk eligibility by calling NetworkTableEntry.setPersistent when persistent=True and NetworkTableEntry.clearPersistent when persistent=False on the targeted entry.",
      "max_score": 20
    },
    {
      "name": "Save persistent file",
      "description": "save_persistent writes to disk via NetworkTablesInstance.savePersistent (or equivalent on the default instance) instead of custom file formats, ensuring only entries currently marked persistent are emitted.",
      "max_score": 25
    },
    {
      "name": "Load persistent file",
      "description": "load_persistent restores values using NetworkTablesInstance.loadPersistent and applies them to live entries while leaving non-persistent keys unchanged.",
      "max_score": 20
    },
    {
      "name": "Prefix snapshot",
      "description": "snapshot_filtered exports a subset using NetworkTablesInstance.saveEntries (or NetworkTable.saveEntries) with the provided prefixes and returns the same set of key/value pairs captured by the library.",
      "max_score": 20
    },
    {
      "name": "Filtered import",
      "description": "load_filtered merges data from a snapshot using NetworkTablesInstance.loadEntries with prefix filtering so only matching entries are created/updated and unrelated entries remain untouched.",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pynetworktables

tile.json