harbor run -t openthoughts/tasktrove-mix-h11-single-skill-only-v2-mix-h11-single-skill-0165harbor download openthoughts/tasktrove-mix-h11-single-skill-only-v2-mix-h11-single-skill-0165Task: Implement a minimal but test-passing “effect” library in Python
Overview Create a Python package (or single module) that provides a tiny, self-contained subset of the Effect library expected by the provided tests. The API must live under /app/effect (as a package) or /app/effect.py (as a single module). The package should expose:
The tests will import and exercise these components as shown in the provided pytest code. The implementation should be pure-Python, dependency-free, and well-documented.
Required functionality and behavior
Effect class
Error class
base_dispatcher
sync_perform(dispatcher, eff)
FoldError
fold_effect(op, initial, effs)
sequence(effs)
Acceptance criteria mapped to tests
Implementation notes and constraints
What to deliver