harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-1583harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-1583Task: Implement the DFA sentence-end detector scaffold
You are given a scaffolded Python module in /app/ that contains NotImplementedError placeholders. Your job is to implement the core functionality so that the tests (executed with pytest) can exercise a working sentence-end detector based on a compact DFA-like design.
What you need to implement
Fill in the NotImplementedError stubs in the scaffold:
Ensure the implemented behavior matches the documented intent in the docstrings and the expectations implied by the tests:
File changes
Testing expectations (pytest)
Notes and guidance (behavioral, not code)
If you implement these components correctly, the existing tests (executed via pytest) should pass, validating both the detector’s behavior and the CLI wrapper.
The code you’ll modify goes in the module within /app/ containing the scaffolded NotImplementedError stubs described above.