CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-pynetworktables

tessl install tessl/pypi-pynetworktables@2021.0.0

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

Agent Success

Agent success rate when using this tile

75%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.01x

Baseline

Agent success rate without this tile

74%

rubric.jsonevals/scenario-1/

{
  "context": "Evaluates whether the solution uses pynetworktables entry APIs to manage defaults, persistence flags, type-safe updates, and metadata reporting for individual entries. Scoring focuses solely on correct use of NetworkTableEntry operations and related helpers to satisfy the spec behaviors.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Default setup",
      "description": "Obtains entry handles via table getEntry (not just table-level put) and uses NetworkTableEntry.setDefaultValue so defaults populate only when unset while preserving preexisting values.",
      "max_score": 20
    },
    {
      "name": "Persistence toggles",
      "description": "Uses NetworkTableEntry.setPersistent to mark entries persistent during initialization and NetworkTableEntry.clearPersistent when clearing; verifies persistence status through getFlags/EntryFlags.PERSISTENT rather than ad-hoc state.",
      "max_score": 20
    },
    {
      "name": "Type-safe writes",
      "description": "Performs updates with typed setters (e.g., setDouble/setString/setBoolean/setValue) only when the new value matches the existing entry type, raising on mismatches; when allow_type_override is enabled, switches to the appropriate forceSet* or setValue to replace the stored type.",
      "max_score": 25
    },
    {
      "name": "Metadata snapshot",
      "description": "Derives snapshot fields from entry metadata APIs such as getName, getType/NetworkTableType, getFlags, and getLastChange (or getEntryInfo) to produce name, human-readable type string, persistence flag, and last-change timestamp.",
      "max_score": 20
    },
    {
      "name": "Clearing entry",
      "description": "Clears stored data using NetworkTableEntry.delete (or equivalent entry deletion) combined with clearPersistent, and returns fallback reads via entry.getValue/default rather than manual variables.",
      "max_score": 15
    }
  ]
}

Version

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