feat: add deterministic small cluster seed

This commit is contained in:
Sergey Antropoff
2026-07-12 23:56:06 +03:00
parent 882ae97fcf
commit 7a668127a3
7 changed files with 179 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
"""Apply a deterministic simulation seed."""
import asyncio
import json
from app.config import get_settings
from app.simulation.seed import seed_url
async def run() -> None:
state = await seed_url(get_settings().database_url.get_secret_value())
print(json.dumps(state, sort_keys=True))
if __name__ == "__main__":
asyncio.run(run())