MCPcopy Create free account
hub / github.com/bytedance/trae-agent / _write_problem_statement

Function _write_problem_statement

evaluation/utils.py:65–68  ·  view source on GitHub ↗

Helper function to write problem statement using context manager.

(instance_dir: Path, content: str)

Source from the content-addressed store, hash-verified

63
64
65def _write_problem_statement(instance_dir: Path, content: str) -> int:
66 """Helper function to write problem statement using context manager."""
67 with open(instance_dir / "problem_statement.txt", "w", encoding="utf-8") as f:
68 return f.write(content)
69
70
71def _load_jsonl_dataset(dataset_name: str) -> list[dict]:

Callers 1

utils.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected