harbor run -t openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-2399harbor download openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-2399Task: Implement a lightweight in-memory document classifier compatible with Haystack-style interfaces to satisfy the provided tests.
What to implement
Core behavior (must satisfy tests)
Classify by simple heuristic
Truncation of long content
predict and predict_batch API
run API for index/query nodes
Meta structure expectations
Compatibility and imports
Assumptions and constraints
Deliverables
End goal
Output only the instruction: