{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "znxzsy-alignledger--import-own-model-outputs-for-review",
 "repo": "znxzsy/AlignLedger",
 "repo_url": "https://github.com/znxzsy/AlignLedger",
 "repo_slug": "znxzsy-alignledger",
 "title": "Import your own model outputs for team review",
 "page_title": "How to import your own model outputs for team review with Align Ledger",
 "summary": "Load details_*.json shards into a registry and database so reviewers can correct and adjudicate them.",
 "who": "A data lead preparing RLHF or SFT annotation batches from their own model outputs and image references.",
 "problem": "Raw model output scattered across files has no version history, reviewer identity, or record-level status, so corrections cannot be traced.",
 "outcome": "An imported manifest and source registry, plus a server reading a SQLite database with an audit log for each review action.",
 "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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The importer rejects unsafe local image paths and invalid structure, so messy shards will need cleanup before they import.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Keep the runtime folder, audit log, and database outside Git, since the README says they must not be committed."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/znxzsy-alignledger/import-own-model-outputs-for-review/",
 "md": "https://dedupedai.com/use-cases/znxzsy-alignledger/import-own-model-outputs-for-review/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/znxzsy-alignledger--import-own-model-outputs-for-review.json",
 "api_version": "v1"
}
