HF RL Explorer

Using attrs , implement a make audited class function that creates an attrs -based class with audit logging…

Using attrs , implement a make audited class function that creates an attrs -based class with audit logging…: a task in repo2rlenv-code-instruct (Harbor dataset). make audited class(class name, fields) accepts: - class name (str): the name of the class to create - fields (list of dicts): each dict…

The task

`make_audited_class(class_name, fields)` accepts: - `class_name` (str): the name of the class to create - `fields` (list of dicts): each dict has `"name"` (str), `"type"` (type), and optionally `"validator"` (a callable validator compatible with `attrs`)

Part of FineEnvs/repo2rlenv-code-instruct.