feat(*): Start curriculum generation 2, seeded from curric-s5-aggression

This commit is contained in:
Josh Creek
2026-07-26 19:00:38 +01:00
parent 33b2c23f13
commit 390bd18be7
6 changed files with 367 additions and 231 deletions
+10
View File
@@ -100,6 +100,14 @@ def parse_args():
"--airborne-penalty", type=float, default=None,
help="Overrides ShipAIController.airborne_penalty (dense per-tick cost scaled by height above the floor)",
)
curriculum.add_argument(
"--ball-velocity-to-goal-weight", type=float, default=None,
help="Overrides ShipAIController.ball_velocity_to_goal_weight (dense reward for the ball's velocity toward the attack goal)",
)
curriculum.add_argument(
"--goal-reward", type=float, default=None,
help="Overrides TrainingMode.goal_reward (terminal reward for actually scoring)",
)
return parser.parse_args()
@@ -121,6 +129,8 @@ def _curriculum_kwargs(args) -> dict:
"ai_ball_distance_penalty": args.ball_distance_penalty,
"ai_ball_touch_reward": args.ball_touch_reward,
"ai_airborne_penalty": args.airborne_penalty,
"ai_ball_velocity_to_goal_weight": args.ball_velocity_to_goal_weight,
"goal_reward": args.goal_reward,
}
return {key: value for key, value in mapping.items() if value is not None}