Skip to content

fix: make temp directory if it doesn't exist - #13

Merged
sullichrosu merged 7 commits into
mainfrom
ethan/tmp-mkdir
Aug 19, 2026
Merged

fix: make temp directory if it doesn't exist#13
sullichrosu merged 7 commits into
mainfrom
ethan/tmp-mkdir

Conversation

@FerretCode

Copy link
Copy Markdown
Collaborator

No description provided.

FerretCode and others added 7 commits August 17, 2026 16:15
…ttings

Co-authored-by: multica-agent <github@multica.ai>
Adds a JSON parser (images/annotations/categories -> bbox records) and
dispatches by file extension/content sniffing in the existing map-kwcoco-csv
route so uploads of either .csv or .json are handled by the same endpoint.

Co-authored-by: multica-agent <github@multica.ai>
feat: support KW COCO JSON alongside CSV in annotation pre-processing
getAllClasses/getAllImages/getMaxLabelId resolve to {success, rows}
(matching queries/client.js's db.all()/db.get() contract used
elsewhere, e.g. routes/inference/yoloInference.js), not a bare array,
so existingClassRows.map threw at runtime. The integration test mock
returned plain arrays instead of the real {rows: [...]} shape, which
is why 14/14 passed despite the bug; the mock now matches the real
client contract.

Co-authored-by: multica-agent <github@multica.ai>
…3a50e7e

fix: use .rows when reading Client.all() results in mapKwCocoCsv
feat: add KW COCO CSV pre-processing annotation mapping
@sullichrosu
sullichrosu merged commit 66a5f89 into main Aug 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants