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

Method rollback

uncommon_route/feedback.py:175–183  ·  view source on GitHub ↗

Reset to base model, discard online weights.

(self)

Source from the content-addressed store, hash-verified

173 return request_id in self._buffer
174
175 def rollback(self) -> bool:
176 """Reset to base model, discard online weights."""
177 from uncommon_route.router.classifier import rollback_online_model
178
179 deleted = rollback_online_model()
180 self._total_updates = 0
181 self._since_save = 0
182 self._update_ts.clear()
183 return deleted
184
185 # ─── Introspection ───
186

Callers 1

handle_feedbackFunction · 0.80

Calls 2

rollback_online_modelFunction · 0.90
clearMethod · 0.45

Tested by

no test coverage detected