Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /_compat /config /governance.py
| """Shim for src.core.shared.config.governance.""" | |
| from __future__ import annotations | |
| from typing import Any | |
| try: | |
| from src.core.shared.config.governance import * # noqa: F403 | |
| except ImportError: | |
| class MACISettings: | |
| enabled: bool = True | |
| strict_mode: bool = True | |
| max_proposal_age_seconds: int = 3600 | |
| quorum_threshold: float = 0.51 | |
| def __init__(self, **kwargs: Any) -> None: | |
| for k, v in kwargs.items(): | |
| setattr(self, k, v) | |
| class VotingSettings: | |
| enabled: bool = True | |
| min_voters: int = 1 | |
| approval_threshold: float = 0.51 | |
| voting_period_seconds: int = 86400 | |
| def __init__(self, **kwargs: Any) -> None: | |
| for k, v in kwargs.items(): | |
| setattr(self, k, v) | |
| class ConstitutionalSettings: | |
| hash: str = "608508a9bd224290" | |
| version: str = "v1" | |
| enforcement_mode: str = "strict" | |
| def __init__(self, **kwargs: Any) -> None: | |
| for k, v in kwargs.items(): | |
| setattr(self, k, v) | |
Xet Storage Details
- Size:
- 1.07 kB
- Xet hash:
- 49de9c40fe171a27edcdd3a34e64ab531d6d089e9b81fb463ac836abff1f30cd
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.