burtenshaw HF Staff commited on
Commit
488af5f
·
verified ·
1 Parent(s): 144171e

Upload folder using huggingface_hub

Browse files
src/envs/wildfire_env/README.md CHANGED
@@ -279,7 +279,7 @@ print("Animation complete.")
279
 
280
  ```
281
 
282
- ===
283
 
284
 
285
  ## 🧪 Example Training Loop (GRPO/LLM)
 
279
 
280
  ```
281
 
282
+ ---
283
 
284
 
285
  ## 🧪 Example Training Loop (GRPO/LLM)
src/envs/wildfire_env/server/wildfire_environment.py CHANGED
@@ -289,9 +289,9 @@ class WildfireEnvironment(Environment):
289
  ni = idx(nx, ny, self.w)
290
  target = st.grid[ni]
291
 
292
- # Only fuel or damp can be candidates, but WATER IS IMMUNE during damp
293
  if target == 4:
294
- # Damp cells do not ignite at all while damp
295
  continue
296
  if target != 1:
297
  continue
 
289
  ni = idx(nx, ny, self.w)
290
  target = st.grid[ni]
291
 
292
+ # Only fuel or water/damp can be candidates, but cells with code 4 (watered/damp) are immune to ignition
293
  if target == 4:
294
+ # Watered/damp cells (code 4) do not ignite at all while in this state
295
  continue
296
  if target != 1:
297
  continue