Skip to content

Commit

Permalink
change 'xdc' to 'extended'
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Oct 24, 2023
1 parent 5c95e6b commit f9ecbd1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions airsenal/scripts/replay_season.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def replay_season(
num_thread: int = 4,
transfers: bool = True,
tag_prefix: str = "",
team_model: str = "xdc",
team_model: str = "extended",
team_model_args: dict = {"epsilon": 0.0},
fpl_team_id: Optional[int] = None,
) -> None:
Expand Down Expand Up @@ -217,9 +217,16 @@ def main():
"--team_model",
help="Specify name of the team model.",
type=str,
default="xdc",
choices=["xdc", "random"],
default="extended",
choices=["extended", "random"],
)
parser.add_argument(
"--epsilon",
help="how much to downweight games by in exponential time weighting",
type=float,
default=0.0,
)

args = parser.parse_args()
if args.resume and not args.fpl_team_id:
raise RuntimeError("fpl_team_id must be set to use the resume argument")
Expand All @@ -242,6 +249,7 @@ def main():
num_thread=args.num_thread,
fpl_team_id=args.fpl_team_id,
team_model=args.team_model,
team_model_args={"epsilon": args.epsilon},
)
n_completed += 1

Expand Down

0 comments on commit f9ecbd1

Please sign in to comment.