HF RL Explorer

Using attrs , implement a build validated point factory function and a RangedPoint class that represents a…

Using attrs , implement a build validated point factory function and a RangedPoint class that represents a…: a task in repo2rlenv-code-instruct (Harbor dataset). RangedPoint must be an attrs -defined class with: - x and y fields (floats), each validated to be within lo, hi (inclusive) using attrs…

The task

`RangedPoint` must be an `attrs`-defined class with: - `x` and `y` fields (floats), each validated to be within `[lo, hi]` (inclusive) using `attrs` validators (`ge` and `le`). - `lo` and `hi` fields (floats) storing the bounds (defaults `0.0` and `100.0`).

Part of FineEnvs/repo2rlenv-code-instruct.