Repository navigation
Add the magika evaluation dataset, its benchmark and the Sembiance collection - #1450
Open
ebursztein wants to merge 5 commits into
Open
ebursztein wants to merge 5 commits into
ebursztein wants to merge 5 commits into
Conversation
194 scoped validators in 11 families. Each observes whether a file's bytes are a format -- headers, tables, checksums, framing -- and reports pass, fail or inconclusive; nothing is executed or rendered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Acquisition from GitHub, VirusTotal and generators, the label ladder, licence policy and pruning, refill, metadata tables, hydration into verified Parquet snapshots, selection, statistics and the metadata archive, with their tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Runs Magika, libmagic and TrID over a hydrated snapshot at their shipping defaults, scores them against verified labels and times them with Hyperfine. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Imports Sembiance's file-format samples onto the same store, taxonomy, labelling and hydration as the corpus, with reviewed folder mappings as hints. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
VirusTotal queries, licence policy, taxonomy and label corrections, the receipts binding the published tables, and the README, SAMPLING.md and the generated REPOSITORIES.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ebursztein
force-pushed
the
worktree/dataset-public-pr
branch
from
September 17, 2026 15:45
0b42141 to
582b5ac
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
dataset/, a standalone Python project (magika-datasets) that builds, labels, publishes and benchmarks the whole-file evaluation corpus used to test Magika.What is in it
config/repository-license-policy.json, andREPOSITORIES.mdlists each one. VirusTotal and generated samples carry no repository licence.magika-datasets benchmarkruns Magika, libmagic and TrID at their shipping defaults on a hydrated snapshot, scores them against verified labels and times them with Hyperfine.Data
Parquet tables are not in git. They ship as one zip archive,
magika-eval-dataset-v1.0-metadata.zip— 188 MB, SHA-256a03d46f80927f36beb8d3b5324ac97929a4a62722b262afcd3c1a99324341c27. Unzip it intodataset/.magika-datasets archiverebuilds it from the tables and reproduces the same bytes;dataset/metadata-downloads.jsonnames every member with its own hash.hydratethen downloads the corpus bytes and verifies each one by SHA-256 into Parquet shards.Commits
magika-datasetspackage: acquisition, labelling, licence policy, refill, metadata, hydration, selection and the archiveNothing in Magika's build reads
dataset/.Testing
cd dataset && uv sync --locked && uv run --no-sync pytest -qpasses 677 tests. One of them is skipped until the metadata archive is unpacked, because it needs the taxonomy table.ruff checkis clean.🤖 Generated with Claude Code