value chain silently swallows TypeError raised during iteration
value chain silently swallows TypeError raised during iteration: a task in repo2rlenv-swe-next (Harbor dataset). When an iterable passed to value chain raises TypeError partway through iteration, the error is swallowed instead of propagating to the caller. The partially-consumed iterator is then…
The task
When an iterable passed to `value_chain` raises `TypeError` partway through iteration, the error is swallowed instead of propagating to the caller. The partially-consumed iterator is then emitted as a scalar value, which is both surprising and data-lossy.
Part of FineEnvs/repo2rlenv-swe-next.