docs: Add descriptive comments for num_jugs and difficulty parameters

This commit is contained in:
Andreas Koepf (aider) 2025-02-20 22:39:22 +01:00
parent ece040a0d0
commit 9068e1d1b1

View file

@ -225,8 +225,8 @@ def generate_jug_solution(jug_capacities: Tuple[int, int, int], target: int) ->
class JugsConfig:
"""Configuration for Jugs puzzle generation"""
num_jugs: int = 3
difficulty: int = 10
num_jugs: int = 3 # Number of jugs in the puzzle (affects puzzle complexity and solution space)
difficulty: int = 10 # Minimum required moves to solve the puzzle. Also affects max jug capacity (3 + difficulty)
seed: Optional[int] = None
size: int = 500