CoolFace
Apppublic

cbeighle/nfl_playcall_env

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
models.py15 linesDownload Raw Back to root
1from pydantic import Field2 3from openenv.core.env_server.types import Action, Observation4 5 6class NflPlaycallAction(Action):7    play_type: str = Field(..., description="One of: run, pass, play_action")8 9 10class NflPlaycallObservation(Observation):11    defensive_formation: str = Field(12        default="", description="Constant defensive formation"13    )14    yards_gained: float = Field(default=0.0, description="Yards gained on the play")15