tessl install tessl/pypi-pynetworktables@2021.0.0A 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%
{
"context": "Evaluates how the solution leverages pynetworktables' SmartDashboard SendableChooser helper to mirror chooser state, react to dashboard-driven changes, and tidy up listener resources. Focuses solely on correct use of the helper's API rather than general code quality.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Chooser setup",
"description": "Uses networktables.util.ChooserControl (or equivalent import path) to create the chooser interface for the provided key under SmartDashboard, supplying callbacks via its constructor instead of manual table listeners.",
"max_score": 20
},
{
"name": "Options access",
"description": "Relies on ChooserControl.getChoices() to surface the current option list and to feed on_choices callbacks when the dashboard updates the options entry, rather than reading the table directly.",
"max_score": 20
},
{
"name": "Selection reading",
"description": "Returns the active selection via ChooserControl.getSelected(), preserving the fallback-to-default behavior built into the helper instead of reimplementing key lookups.",
"max_score": 20
},
{
"name": "Selection publish",
"description": "Pushes local selection changes through ChooserControl.setSelected() so SmartDashboard sees the update, avoiding custom putString logic on the chooser subtable.",
"max_score": 20
},
{
"name": "Listener cleanup",
"description": "Calls ChooserControl.close() during teardown to remove the internal table listener and stop callbacks after shutdown, rather than leaving listeners registered.",
"max_score": 20
}
]
}