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

Method _rate_ok

uncommon_route/feedback.py:234–237  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 self._since_save = 0
233
234 def _rate_ok(self) -> bool:
235 now = self._now()
236 hourly = sum(1 for t in self._update_ts if now - t < 3600)
237 return hourly < self._max_hourly
238
239 def _save_buffer(self) -> None:
240 if not self._buffer_path:

Callers 1

submitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected