MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / _ArgsWithOutputDir

Class _ArgsWithOutputDir

src/benchmarks/elaipbench/instance.py:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55 # Create a copy of args with per-question output_dir for isolated logging
56 class _ArgsWithOutputDir:
57 def __init__(self, original_args, output_dir):
58 self.__dict__.update(
59 {
60 k: getattr(original_args, k)
61 for k in dir(original_args)
62 if not k.startswith("__")
63 }
64 )
65 self.output_dir = str(output_dir)
66
67 per_question_args = _ArgsWithOutputDir(args, question_log_dir)
68

Callers 1

run_instanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected