harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0075harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0075Task: Implement a robust, high-performance rule-loading and matching framework in Python
Overview You will create a single module at /app/ansiblelint.py that provides a RulesCollection class and a lightweight rule discovery/matching mechanism used by the existing pytest suite. The implementation must be resilient, scalable, and capable of handling larger rule sets with concurrent evaluation.
Public API (exact interface)
Rule contract (used by the loader)
Loading semantics
Behavioral expectations aligned with tests
Implementation constraints
Deliverables
Notes