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

Method should_drift

scripts/drift_engine.py:1311–1313  ·  view source on GitHub ↗

鍒ゆ柇鏄惁鍙戠敓婕傜Щ

(self, probability: float = 0.5)

Source from the content-addressed store, hash-verified

1309
1310 def should_drift(self, probability: float = 0.5) -> bool:
1311 """鍒ゆ柇鏄惁鍙戠敓婕傜Щ"""
1312 return random.random() < probability
1313
1314 def advance_profile_drift(
1315 self,
1316 profile: Dict[str, Any],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected