Parlay / parlay_env /__init__.py
sh4shv4t's picture
Add OpenEnv client, compat layer, manifest, scripts, GRPO plot hook, and README
81b4b70
from .openenv_compat import (
OPENENV_AVAILABLE,
OPENENV_VERSION,
GenericEnvClient,
GenericAction,
)
from .client import ParlayEnvClient, ParlayAction as ClientParlayAction
from .models import (
PersonaType,
TacticalMove,
HiddenState,
BeliefState,
ParlayObservation,
ParlayAction,
ParlayState,
)
from .grader import compute_step_reward, compute_terminal_reward, grade_episode, EpisodeGrade
from .game_theory import (
compute_zopa,
compute_nash_bargaining_solution,
compute_pareto_frontier,
compute_shapley_value,
offer_anchoring_effect,
compute_rubinstein_deadline_advantage,
)
VERSION = "1.0.0"
__all__ = [
"VERSION",
"OPENENV_AVAILABLE",
"OPENENV_VERSION",
"GenericEnvClient",
"GenericAction",
"ParlayEnvClient",
"ClientParlayAction",
"PersonaType",
"TacticalMove",
"HiddenState",
"BeliefState",
"ParlayObservation",
"ParlayAction",
"ParlayState",
"compute_step_reward",
"compute_terminal_reward",
"grade_episode",
"EpisodeGrade",
"compute_zopa",
"compute_nash_bargaining_solution",
"compute_pareto_frontier",
"compute_shapley_value",
"offer_anchoring_effect",
"compute_rubinstein_deadline_advantage",
]