fix: store absolute paths in dataset.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 14:10:06 +02:00
parent 8148971aae
commit 8bc42cabd9
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def load_db_records(db_path: Path) -> list[dict]:
def build_entries_for_folder(folder: str, records: list[dict]) -> list[dict]:
return [
{"path": os.path.relpath(rec["output_path"], folder), "label": rec["label"]}
{"path": os.path.abspath(rec["output_path"]), "label": rec["label"]}
for rec in records
]