Kaggle / Kaggle/kaggle-environments

Broken evaluate function

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
452
Forks
190
Avg merge
31m
Merged PRs (30d)
2

Description

The evaluate function doesn't redistribute randomly halite between plays. I suspect it may concern other games too. I also suspect it comes from the fact that in core.py self.done is never set but its value is used everywhere to determine wether to reset a game or not. Games are still reset though (but with same initial distribution) - maybe some internal mechanisms of each environment.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the evaluate function and the self.done handling in core.py, then compare how game resets and initial halite distribution behave across the affected environments. Reproduce the issue with repeated evaluations and verify that games reset with randomized halite before considering the work complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.