HF RL Explorer

Implement a custom ASN.1 time validation class named CertTimeValidator that extends…

Implement a custom ASN.1 time validation class named CertTimeValidator that extends…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Example: - CertTimeValidator.fromDateTime(datetime(2023, 1, 1, 12, 0, 0), level=1) creates a valid object with cert level=1 and string representation…

The task

Example: - `CertTimeValidator.fromDateTime(datetime(2023, 1, 1, 12, 0, 0), level=1)` creates a valid object with `cert_level=1` and string representation "20230101120000Z". - `CertTimeValidator.fromDateTime(datetime(2023, 1, 1, 12, 0, 0), level=-1)` raises `pyasn1.error.PyAsn1Error`.

Part of Essacheez/r2e-code-instruct-qwen3.5.