HF RL Explorer

Using attrs , implement a make validated point function that creates a 2D point class with configurable…

Using attrs , implement a make validated point function that creates a 2D point class with configurable…: a task in repo2rlenv-code-instruct (Harbor dataset). The function accepts two boolean parameters: non negative (default True ) and frozen (default False ). It returns an attrs -defined class…

The task

The function accepts two boolean parameters: `non_negative` (default `True`) and `frozen` (default `False`). It returns an `attrs`-defined class with fields `x: float` and `y: float` where:

Part of FineEnvs/repo2rlenv-code-instruct.