CoolFace
Apppublic

SRINIVASAN-AI-DEV/cloud-chaos-healer

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
models.cpython-313.pyc22 linesDownload Raw Back to __pycache__
1�

2]D�i~��d�SrSSKJrJrJr SSKJrJr SSKJ	r	 "SS\5r3"SS\5rg	)4z�5Data models for the Cloud Chaos Healer Environment.6 7An AI agent acts as a Staff SRE, receiving system logs and metrics.8The agent must execute specific healing commands to resolve outages 9while maintaining a strict operational budget.10�)�Optional�Dict�Any)�Action�Observation)�Fieldc�2�\rSrSr%Sr\"SSS9r\\S'Sr	g)	�CcHealerAction�zO11The SRE command sent by the agent to heal the infrastructure [cite: 107-108].12�monitorz?SRE command: restart_db, restart_api, scale_gateway, or monitor��default�description�command�N)13�__name__�14__module__�__qualname__�__firstlineno__�__doc__rr�str�__annotations__�__static_attributes__r��$D:\Meta\cloud_chaos_healer\models.pyr15r16s �����U��G�S�rr17c���\rSrSr%Sr\"SSS9r\\S'\"SSS9r	\\S'\"S	S18S9r19\\S'\"SS
S9r\\S'\"SSS9r
\\S'\"SSS9r\\S'\"SSS9r\\S'\"\SS9r\\\4\S'Srg)�CcHealerObservation�zJ20The telemetry and system state provided to the AI agent [cite: 108-109].21�z,Real-time system logs and incident telemetryr
�logsz*Current difficulty tier (easy/medium/hard)�task_id�OKz+Current health status (OK/WARNING/CRITICAL)�
system_statusgz-Measured system response time in milliseconds�latencyg@�@z)Remaining credits for operational actions�remaining_budgetFz.Whether the current chaos scenario is resolved�donez.Incremental reward for the last healing action�rewardz Additional environment telemetry)�default_factoryr�metadatarN)rrrrrrr rrr!r#r$�floatr%r&�boolr'�dictr)rrrrrrrrs������ N��D�#���� L��G�S����"O��M�3����!P��G�U��$��$O���e����#S��D�$����!Q��F�E�� %��*L� �H�d�3��8�n�rrN)r�typingrrr�openenv.core.env_server.typesrr�pydanticrr22rrrr�<module>r0s0���'�&�=���V���+�r