Using attrs , implement a function make validated converter in task module.py that creates an attrs -powered…
Using attrs , implement a function make validated converter in task module.py that creates an attrs -powered…: a task in repo2rlenv-code-instruct (Harbor dataset). Additionally, define an attrs -decorated class ConversionRecord with fields original , converted , and valid (bool) that stores…
The task
Additionally, define an `attrs`-decorated class `ConversionRecord` with fields `original`, `converted`, and `valid` (bool) that stores conversion metadata. Expose a function `record_conversion(value, converter, validator)` that returns a `ConversionRecord` instance.
Part of FineEnvs/repo2rlenv-code-instruct.