(values: Dict[str, float], digits: int = 4)
| 110 | |
| 111 | |
| 112 | def _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 | |
| 120 | def build_default_drift_state(now_iso: Optional[str] = None) -> Dict[str, Any]: |
no outgoing calls
no test coverage detected