HF RL Explorer

Implement a function is normalized name(name: str) - bool that checks whether a given string is a normalized…

Implement a function is normalized name(name: str) - bool that checks whether a given string is a normalized…: a task in repo2rlenv-r2e (Harbor dataset). A normalized project name must satisfy all of the following rules: - It is non-empty. - It starts with an ASCII lowercase letter or digit. - It…

The task

A normalized project name must satisfy all of the following rules: - It is non-empty. - It starts with an ASCII lowercase letter or digit. - It ends with an ASCII lowercase letter or digit. - It contains only ASCII lowercase letters, digits, and hyphens. - Hyphens may only appear between alphanumeric characters (no…

Part of FineEnvs/repo2rlenv-r2e.