Skip to content

feat: add KW COCO CSV pre-processing annotation mapping - #7

Merged
FerretCode merged 5 commits into
mainfrom
agent/njobvu-fullstack/35e4fba3
Aug 18, 2026
Merged

feat: add KW COCO CSV pre-processing annotation mapping#7
FerretCode merged 5 commits into
mainfrom
agent/njobvu-fullstack/35e4fba3

Conversation

@FerretCode

Copy link
Copy Markdown
Collaborator

No description provided.

FerretCode and others added 5 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
@FerretCode
FerretCode merged commit 543f29c into main Aug 18, 2026
3 of 4 checks passed
@FerretCode
FerretCode deleted the agent/njobvu-fullstack/35e4fba3 branch August 18, 2026 15:03
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.

1 participant