mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-08 04:01:59 +00:00
- The reply pump's _RuntimeError binding is placed after the function docstring (so the docstring remains the __doc__) and the dead _run-side binding is removed. _done_with_value binds _check_done_value/_encode_json_plain as default arguments so a __main__ rebind after model execution cannot rewrite a success into an exception. The _str/_bool/_BindingRejection pump bindings were attempted but break the closed-loop pump test (the self-referential _BindingRejection local interferes with the closure), so they are left unbound; rebinding those names (builtins and one internal class) is outside the practical threat model.