What would you like to be added/modified:
Refactor the _parse_algorithms_config method in TestCaseController to streamline the logic and improve error reporting.
Why is this needed:
The current implementation of algorithm parsing is difficult to debug and maintain:
- Opaque Failures: Catching generic exceptions makes it hard for users to know if a failure was due to a missing file, a YAML syntax error, or an internal algorithm initialization issue.
- Redundant Logic: The multiple loops and manual deepcopy operations contribute to higher resource usage and lower readability.
- Implicit Dependencies: Lack of pre-parsing checks for mandatory keys like url can lead to confusing attribute errors later in the execution.