DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to import your own model outputs for team review with Align Ledger

Load details_*.json shards into a registry and database so reviewers can correct and adjudicate them.

Short answer: Place your details_*.json shards in a folder such as ./my-details; then run python -m annotation_platform.importer --details-dir ./my-details --output-dir ./runtime/imported; check the generated manifest in ./runtime/imported for source hashes before starting review. All steps.

  • Research
  • Advanced
  • 1 hour
  • From the README
  • Any agent

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

  1. Place your details_*.json shards in a folder such as ./my-details
  2. Run python -m annotation_platform.importer --details-dir ./my-details --output-dir ./runtime/imported (inferred, check the README)
  3. Check the generated manifest in ./runtime/imported for source hashes before starting review
  4. 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)
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer