MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / history

Method history

uncommon_route/stats.py:321–323  ·  view source on GitHub ↗
(self, limit: int | None = None)

Source from the content-addressed store, hash-verified

319 return False
320
321 def history(self, limit: int | None = None) -> list[RouteRecord]:
322 records = list(reversed(self._records))
323 return records[:limit] if limit else records
324
325 def export_records(self, limit: int | None = None) -> list[dict[str, Any]]:
326 records = self.history(limit=limit)

Callers 9

test_history_reversedMethod · 0.95
test_history_limitMethod · 0.95
_cmd_statsFunction · 0.95
_cmd_feedbackFunction · 0.95
export_recordsMethod · 0.95
test_historyMethod · 0.45
create_appFunction · 0.45
handle_feedbackFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_history_reversedMethod · 0.76
test_history_limitMethod · 0.76
test_historyMethod · 0.36