Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/evaluate
/ redirect_stdin
Class
redirect_stdin
metrics/code_eval/execute.py:139–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
137
138
139
class
redirect_stdin(contextlib._RedirectStream):
# type: ignore
140
_stream =
"stdin"
141
142
143
@contextlib.contextmanager
Callers
1
swallow_io
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…