Credentials. Keep the runtime folder, audit log, and database outside Git, since the README says they must not be committed.
Who it is forA data lead preparing RLHF or SFT annotation batches from their own model outputs and image references.
The problemRaw model output scattered across files has no version history, reviewer identity, or record-level status, so corrections cannot be traced.
The outcomeAn imported manifest and source registry, plus a server reading a SQLite database with an audit log for each review action.
What you need first
- Python installed, plus git to clone the repository
- Or Docker, if you prefer `docker compose up --build`
- Model output and item data in the shard format the importer expects (details_*.json) if you use your own data
- A private location for invite codes and the session secret if several people will annotate
Steps
- Place your details_*.json shards in a folder such as ./my-details
- Run
python -m annotation_platform.importer --details-dir ./my-details --output-dir ./runtime/imported(inferred, check the README) - Check the generated manifest in ./runtime/imported for source hashes before starting review
- Start the server with
python -m annotation_platform.server --registry ./runtime/imported/source_groups.jsonl --db ./runtime/review.sqlite3 --audit ./runtime/audit.jsonl(inferred, check the README) - Open the local server page and run random review or batch review on the imported records
Prompt for your agent
Using the AlignLedger repo at <path to repo>, import the shards in <details folder> with annotation_platform.importer and then start the server on the generated source_groups.jsonl. Report how many records the importer accepted and how many it rejected, and state the reason for each rejection.
Caveat. The importer rejects unsafe local image paths and invalid structure, so messy shards will need cleanup before they import.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for znxzsy/AlignLedger and "Import your own model outputs for team review"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer