Skip to content

Replay and verify serialized TinyDev corpora - #30

Merged
byte271 merged 3 commits into
mainfrom
feat/tiny-dev-corpus-replay
Aug 18, 2026
Merged

byte271 merged 3 commits into
mainfrom
feat/tiny-dev-corpus-replay

Conversation

@byte271

@byte271 byte271 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Adds a strict JSON replay boundary for generated TinyDev artifacts so real corpus files can be consumed by later detector/calibration/M6 stages without trusting raw JSON dictionaries.

  • reconstructs every nested prompt, sample, model/tokenizer identity, generation config, watermark condition, token track, manifest, cell, and top-level artifact through the existing self-validating dataclasses
  • rejects duplicate JSON keys, non-finite numbers, unknown/missing schema fields, invalid enums, nested hash tampering, non-UTF-8 files, and oversized inputs
  • requires the serialized artifact to be canonical JSON by default, allowing only the exact canonical form with an optional final newline
  • exposes parse_tiny_dev_corpus_json and load_tiny_dev_corpus_json through the corpus public API
  • adds roundtrip, file-load, tamper, duplicate-key, unknown-field, noncanonical, and non-finite regressions

This is infrastructure for replaying the real 208-sample TinyDev artifact merged in #28/#29; it does not create new scientific claims.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: cfaa5a8a-295f-4c10-aef9-eebb5826119b


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@byte271
byte271 merged commit 41be317 into main Aug 18, 2026
4 checks passed
@github-actions
github-actions Bot deleted the feat/tiny-dev-corpus-replay branch August 22, 2026 20:51
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