MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _round_mapping

Function _round_mapping

skills/profile-updater/scripts/update_profile.py:112–117  ·  view source on GitHub ↗
(values: Dict[str, float], digits: int = 4)

Source from the content-addressed store, hash-verified

110
111
112def _round_mapping(values: Dict[str, float], digits: int = 4) -> Dict[str, float]:
113 return {
114 str(key): round(float(value), digits)
115 for key, value in values.items()
116 if float(value) > 0
117 }
118
119
120def build_default_drift_state(now_iso: Optional[str] = None) -> Dict[str, Any]:

Callers 4

_update_heat_mapFunction · 0.85
_bump_topic_weightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected