MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_confidence

Method get_confidence

core/preferences.py:514–518  ·  view source on GitHub ↗

Get confidence level for a preference.

(self, category: str)

Source from the content-addressed store, hash-verified

512 return result
513
514 def get_confidence(self, category: str) -> float:
515 """Get confidence level for a preference."""
516 if category in self._cache:
517 return self._cache[category].get("confidence", 0.0)
518 return 0.0
519
520 def clear(self):
521 """Clear all learned preferences."""

Callers 1

statusMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected