← Về thư mục
preprocess/build_dataset_releases.py
- load_jsonl · function · L32-L55 — def load_jsonl(path: Path, *, task_type: str) -> list[dict[str, Any]]
- with_task_type · function · L58-L73 — def with_task_type( row: dict[str, Any], *, task_type: str, ) -> dict[str, Any]
- overlay_rows · function · L76-L110 — def overlay_rows( base_rows: list[dict[str, Any]], patch_rows: list[dict[str, Any]], *, task_type: str, ) -> tuple[list[dict[str, Any]], int]
- sha256 · function · L113-L118 — def sha256(path: Path) -> str
- write_jsonl · function · L121-L125 — def write_jsonl(path: Path, rows: list[dict[str, Any]]) -> None
- build_releases · function · L128-L201 — def build_releases( *, v1_root: Path, v2_root: Path, output_root: Path, ) -> dict[str, Any]
- parse_args · function · L204-L209 — def parse_args() -> argparse.Namespace
- main · function · L212-L219 — def main() -> None