rebuild-dossier
Reverse-engineer an existing app into a locked rebuild spec—not rebuild it—by ingesting code, capturing behavior, resolving ambiguities, and generating contracts/tests for a separate coding agent.
ingest_repo: static analysis of package.json, build config, routes, tests, and structural smells; saves evidence under.dossier/and can handle monorepo hints interactively.crawl_site: optional headless Playwright crawl of reachable routes with progress notifications.flag_known_bug: store a free-text known bug that overrides auto-resolution for matching cases.get_case_queue/resolve_case: list and resolve ambiguity cases, interactively via elicitation or one at a time.generate_spec: once the queue is empty, writeCLAUDE.md,.claude/,spec/,tests/, andkickoff-prompt.txtto a sibling<repo>-rebuild/directory.Mutation-check generated tests, separating weak/unrunnable tests, and optionally capture auth-gated pages with a Playwright storage state file.
Optionally enable Groq vision-assisted static/dynamic page classification via environment variables.
Run locally over stdio or as a local authenticated HTTP MCP server with path restrictions.
Allows ingestion and static analysis of Express applications, extracting route information and generating rebuild specs, contracts, and mutation-tested tests.
Allows ingestion and static analysis of Next.js App Router applications, extracting route information and generating rebuild specs, contracts, and mutation-tested tests.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rebuild-dossier ingest the repo at /path/to/my-app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rebuild-dossier
Why passing tests isn't enough
A deliberately trivial HTTP-200 stub passed all 20 visible and 12 held-out test files, but matched 0 of 77 checks in a separate behavioral fidelity battery. Passing those test files did not mean the implementation reproduced the application.
The archived suites accepted a handler that returned 200 with an empty JSON object; their tests did not enforce the application's authentication, validation, or response-body behavior. A separate author-written fidelity oracle compared the original application's status codes and top-level response keys: the stub failed all 77 full-match checks. This is a deliberately constructed control on one application, not a coding-agent rebuild or a claim about how often agents fail.
Constant-200 baseline: reproduction steps, test logs, and results
Fidelity oracle: frozen protocol, scoring rule, and limitations
Research preprint (broader tool and earlier evaluation; the specific constant-200 control is documented in the linked baseline)
Rebuild Dossier addresses parts of this assurance gap by extracting interface contracts, surfacing ambiguities for explicit decisions, and generating mutation-tested checks before a coding agent rebuilds the application.
An MCP server that reverse-engineers a trustworthy rebuild spec — a locked CLAUDE.md,
.claude/ config, and a mutation-tested test suite — out of an existing app, so any coding
agent can rebuild it cleanly against that spec instead of guessing.
It does not rebuild the app. It produces the spec, contracts, and tests a coding agent consumes to do that separately. This boundary is deliberate — see Why below.
Validated against a real app. The core loop (ingest, resolve cases, generate spec) has been tested end-to-end against a real, messy repo with two independent fresh-agent handoffs on two model tiers, plus a mutation-tested test suite. docs/v0-findings.md covers what worked, what broke, and what's still open.
Related MCP server: reforge-mcp
Quick start
Available on npm:
npx rebuild-dossier@latest --help # pulls and verifies the package, or:
npm install -g rebuild-dossier # install the CLI globallyRequires Node 20.12+ (set in package.json engines). To run from source instead, clone the
repo, npm install, and use npm start.
Then add it as an MCP server. In Claude Code, from the project you want to rebuild:
claude mcp add rebuild-dossier -- npx -y rebuild-dossier@latest(or add this to your ~/.claude.json / project .mcp.json):
{
"mcpServers": {
"rebuild-dossier": {
"command": "npx",
"args": ["-y", "rebuild-dossier@latest"]
}
}
}Then in a session. The first call, ingest_repo, runs instantly with zero setup: static
analysis only, no browser, no Chromium, no LLM call. Run it on any app to confirm the server
is alive before committing to the full workflow:
ingest_repo({ path: "/path/to/some-app" })
get_case_queue({ repoPath: "/path/to/some-app", interactive: true })
# ...resolve whatever the queue surfaces...
generate_spec({ repoPath: "/path/to/some-app" })This writes a clean some-app-rebuild/ sibling directory. cd into it, start a fresh
Claude Code session (nothing else should be in scope), and paste the contents of its
kickoff-prompt.txt.
If this looks useful, a star helps other developers find it.
Releases and versioning
Two kinds of tags live in this repo, and they mean different things.
v0.x.yare tool releases. These are what gets published to npm.v0.x.y-paperare archival pins. Each one freezes the repo at a state the paper cites, so a reader can re-check a specific claim later. They are not npm releases.
So npm's newest version can look older than the newest tag on this page. That is expected
rather than stale. When src/ has not changed since the last npm publish, the published
package and main are the same code. Check git diff --name-only v<published>..HEAD -- src
if you want to confirm it for yourself.
Why
Prior research (AgentModernize, arXiv:2605.17535) found that a rebuild pipeline scores 0% behavioral equivalence with no verified feedback loop, and only 9–19% with a coarse one. The bet behind this tool: locking interface contracts before running tests, plus a strict one-test-at-a-time retry loop instead of batch regeneration, does meaningfully better.
The riskiest part of any such pipeline is silently validating a bug as intentional — four sources of evidence can quietly agree on the same mistake with nobody ever having said why. So the single non-negotiable rule in this tool: auto-resolving an ambiguity requires both signal agreement and an affirmative signal that someone actually decided (a stated comment, a TODO admitting a bug, or a direct human answer). Silent agreement alone — code and observed behavior simply matching, with no one ever having said why — always becomes a question, never an auto-resolution, no matter how high the apparent confidence.
How it works
Six MCP tools, run from inside a normal Claude Code (or any MCP-compatible) session:
Tool | What it does |
| Static analysis only, no LLM call: routes, |
| Headless Playwright crawl of reachable routes, with progress notifications so long crawls don't get killed as unresponsive. |
| Free text, stored verbatim. Always overrides auto-resolve for anything it matches — the cheapest, most authoritative signal in the system. |
| The ambiguity queue. Surfaces open questions via MCP elicitation when the client supports it; |
| Only callable once the case queue is empty. Writes |
crawl_site needs Chromium (npx playwright install chromium, step 2 below) — it isn't bundled with the server, including when installed via Smithery, so run it once first or the tool will fail.
Rails that are mechanically enforced, not just written down
A comparison run across two model tiers found that a weaker model will happily read
CLAUDE.md, understand "only build what's currently failing, don't batch-regenerate," and
then quietly violate it anyway — because nothing checked it. Two rules in this tool are now
enforced by real hooks, not prose, for exactly that reason:
spec/is locked. Writes underspec/are blocked.Contracts without tests don't get built ahead of schedule.
generate_specwritesspec/untested-contracts.json(every route/contract with no covering test), and writes to anything on that list are blocked.
Both rules live in one generated guard script, .claude/hooks/rebuild-guard.mjs, run as a
PreToolUse hook on Edit, Write, MultiEdit, NotebookEdit, and Bash. It resolves
symlinks, .. segments and (on macOS/Windows) letter case before matching, parses write-shaped
shell commands (redirects, heredocs, tee, sed -i, rm/mv/cp, git write subcommands,
interpreter one-liners that write), locks its own script and settings.json, and fails
closed if its input, the blocklist, or the script itself is missing or unreadable. Known limit:
shell parsing is heuristic, so a write routed through a script the agent wrote earlier is not
seen. (Releases before 0.2.10 shipped an untested-contracts hook that crashed under the shell and
never blocked anything; upgrade.)
A PostToolUse hook runs the visible test suite after every edit and records a heartbeat in
.claude/.hook-heartbeat.json, so you can check afterward that the hooks were actually live.

Operating guide
The full lifecycle, in order — each step's actual behavior, not just the call signature.
1. Ingest the repo
ingest_repo({ path: "/absolute/path/to/some-app" })Static analysis only — no LLM call, nothing executed. Parses package.json, route files
(Express and Next.js App Router today — see scope),
build config (Tailwind/Vite/Next, via AST, never executed), existing tests, and scans for
comment/TODO signals plus structural smells (e.g. a hardcoded client-side credential check with
no server-side verification — the kind of thing nobody ever comments on, which is exactly why
it needs its own detector rather than relying on comments existing). Everything lands in
<repo>/.dossier/ — this tool's own scratch state, inside the original repo, never shared or
uploaded anywhere. You'll get back a summary:
{
"routes": 8,
"existingTests": 0,
"signals": 3,
"buildConfig": ["tailwind", "next"],
"openCases": 3,
"savedTo": "/absolute/path/to/some-app/.dossier/evidence.json"
}openCases here already reflects reconciliation — comment/TODO signals and structural smells
that didn't auto-resolve become case-queue entries automatically.
If routes comes back 0, check for a monorepoHint field before assuming the app has none —
ingest_repo needs to be pointed at the actual app directory, not a monorepo's root wrapper
(a package.json with apps/*/packages/* next to it, common with Turborepo/Nx/workspace
layouts, including ones that never actually declare a workspaces field). The hint lists real
candidate directories found under apps//packages/ so you don't have to hunt for the real app
yourself — re-run ingest_repo pointed at one of those instead.
If your client supports MCP elicitation, you can skip the manual re-run entirely: pass
interactive: true and, when a monorepo root with candidates is detected, ingest_repo asks
which one is the real app and ingests it directly — it never silently guesses on its own, the
same way get_case_queue's interactive mode always asks rather than resolving anything without
you. Declining, an unsupported client, or an answer that isn't one of the real candidates all
fall back to the plain hint above, unchanged.
2. (Optional) Crawl the live site
crawl_site({ url: "http://localhost:3000", repoPath: "/absolute/path/to/some-app" })Only useful if the app is actually running somewhere. Headless Playwright crawl of reachable routes, emitting progress notifications periodically — long crawls get auto-backgrounded by most MCP clients, and a silent multi-minute call risks being killed as unresponsive without them.
This step is the only one that needs a browser. crawl_site drives headless Chromium, which
isn't bundled with the server (including via Smithery), so run npx playwright install chromium
once first or the tool will fail. Skip it and the rest of the workflow still works. ingest_repo,
resolve_case, and generate_spec need no browser at all.
3. (Optional, but do this before step 4) Flag anything you already know is broken
flag_known_bug({
repoPath: "/absolute/path/to/some-app",
description: "The login gate secret check runs entirely client-side and is bypassable"
})The cheapest, most authoritative signal in the whole system — a direct human statement always outranks inference. It overrides auto-resolve for anything it matches, even if every other signal quietly agrees the behavior looks intentional. Do this before resolving the queue, since it changes what shows up there (and can seed a case entirely on its own, with zero other evidence — see docs/v0-findings.md for why that matters).
Matching is plain token overlap against each open case's file path and claim text, not fuzzy or
semantic — so one bug description can match (and auto-resolve) more open cases than you intended
if your codebase has several similarly-named components. In the validated example, one bug about
"the login gate" matched and closed all three of Madeline's near-duplicate gate components in a
single call, before any of them were reviewed individually. resolve_case overwrites a case's
decision regardless of its current status, so if that's not what you meant, call it directly on
the ones it swept up too broadly — don't assume every case it touched was actually the same
decision.
4. Resolve the case queue
get_case_queue({ repoPath: "/absolute/path/to/some-app", interactive: true })interactive: true walks each open case via MCP elicitation — a real interactive prompt in
your client, showing the evidence side by side, if your client supports it. If not (or you're
scripting this), resolve cases one at a time instead:
resolve_case({ repoPath: "/absolute/path/to/some-app", id: "case:...", decision: "intentional", note: "..." })This step doesn't have a shortcut. generate_spec refuses to run while any case is still
open, by design — there's no partial or in-progress spec to hand a rebuild agent with caveats;
phases 1–2 are literally what produce spec/ in the first place.
5. Generate the spec
generate_spec({ repoPath: "/absolute/path/to/some-app" })Only callable once the queue is empty. Writes CLAUDE.md, .claude/ (rules, hooks, a
spec-auditor subagent, and a verify-against-spec skill — all derived from this project's actual
contracts and tests, not boilerplate), spec/ (contracts, locked decisions,
test-dependencies.json, untested-contracts.json), and tests/ to a clean sibling
some-app-rebuild/ directory — never into the original repo. Two more .claude/ artifacts are
generated only when they'd earn their keep: a test-verifier subagent, only if there are
held-out tests to guard; a parallel-test-fix workflow, only if the generated tests split into
two or more independent clusters (by shared route files) worth fixing concurrently. A small app
with a couple of tests covering the same routes — like the validated example above — gets
neither; that's not a bug, it's the generator refusing to hand a rebuild agent tooling it has
nothing real to do with. This step also runs a real mutation check: it deliberately breaks
the original code (flips a comparison, drops a null check, off-by-ones a loop bound) in a
scratch copy and confirms each generated test actually catches it — anything that doesn't gets
moved to tests/weak/ instead of shipped as if it were trustworthy. You'll get back:
{
"outputDir": "/absolute/path/to/some-app-rebuild",
"mutationsChecked": 8,
"weakTests": [],
"unrunnableTests": []
}Both weakTests and unrunnableTests land in the same tests/weak/ directory instead of
tests/visible/, but for different reasons worth telling apart: a weak test ran fine and just
never caught anything a mutation broke; an unrunnable test never passed even against the
original, unmutated code (a broken import, a missing environment variable, infrastructure the
bare repo doesn't have) — before this distinction existed, an unrunnable test looked
indistinguishable from a 100%-effective one, since it "fails" identically whether or not the
code under test was mutated. Neither is an error — it's the tool telling you honestly that a
specific test didn't earn its place in tests/visible/, and why.
If every generated test lands in tests/weak/ with mutationsChecked: 0, check for a warning
field before assuming something's structurally wrong — the far more common cause is that the
target repo hasn't had npm install run in it, so the mutation-check scratch copy has none of
the target's own real dependencies (next, @prisma/client, whatever the app actually needs)
and every generated test fails to even import them. generate_spec checks for this directly and
says so, rather than leaving you to debug a confusing all-unrunnable result.
Optional: vision-assisted page-content classification
For a Next.js target, page routes get real Playwright-captured tests (a screenshot plus DOM-text
assertions) alongside the API-route tests described above. Whether a piece of captured text gets
an exact-match assertion (static) or a loose shape check (dynamic) is decided by a small
regex classifier by default — reliable most of the time, but confirmed capable of getting it
backwards in both directions on a real app (a hardcoded dropdown legend read as live data; a
live, comma-formatted database count read as fixed).
Setting both GROQ_API_KEY and REBUILD_DOSSIER_ENABLE_VISION_CLASSIFICATION=1 before
calling generate_spec sends each captured page's screenshot and (secret-redacted) source code
to a Groq vision model instead, which can see where a value actually comes from — a literal
array in the source vs. a fetch/useState call — rather than only guessing from what the
rendered string looks like. Both variables are required together on purpose: an ambient
GROQ_API_KEY left over from some unrelated tool must never silently start sending this target
repo's code to a third party. Neither variable set (the default) means zero behavior change and
zero network calls beyond what generate_spec already does (the only one is a one-time download of
the pinned vitest runner the mutation check uses, into ~/.cache/rebuild-dossier/, the first time it runs).
This is real added cost, not free: one Groq API call per captured page, plus a deliberate ~20s
pacing delay between pages (Groq's free tier has a tight per-minute token budget, and firing
requests back to back exhausts it fast) — generate_spec's own response states the exact added
time for that run. A page that can't be classified this way for any reason (rate limit, network
issue, an invalid response) falls back to the regex classifier for that page only, reported in
pageVisionFallbacks — never a silent gap or a failed run. Groq's free tier (no credit card
required, at console.groq.com) is enough to try this.
6. Hand it off
cd /absolute/path/to/some-app-rebuild
mv tests/held-out ../held-out-sealed # keep the acceptance suite out of the agent's reach
claude # a genuinely fresh, top-level sessionThree things decide whether the result means anything:
Run it as a top-level Claude Code session opened in the package directory. The rails are Claude Code hooks in
.claude/settings.json. A session started through another session's Agent tool (a subagent) never loads them, and nothing tells you. Other agents (opencode, oh-my-pi, Codex) can use the package, but without these hooks the rails are prose only.Keep
tests/held-out/out of the agent's reach until it's done, then run it yourself, once:mv ../held-out-sealed tests/held-out && npx vitest run tests/held-out. An agent that can read or re-run a failing held-out test can copy the expected answers out of its error output. That has happened in this project's own evaluation.Check the hooks were live afterward:
cat .claude/.hook-heartbeat.jsonshould exist with acountabove zero. No file means no hook ever fired.
Paste the contents of kickoff-prompt.txt verbatim. Nothing else should be in that session's
context — the directory is fully self-contained on purpose (see How it works),
so there's nothing else for a rebuild agent to read, drift toward, or edit in place instead of
building cleanly. Read docs/v0-findings.md for what actually happens
when you do this against a real app, including exactly where it got stuck.
Connecting from other tools (oh-my-pi, opencode, etc.)
Two ways to run this, both entirely local — there is no hosted/shared instance, and none is required:
stdio (default) — each tool spawns its own copy of the server as a local subprocess. This
is the standard way every MCP client (Claude Code, oh-my-pi,
opencode) adds a local MCP server — point it at npx tsx src/index.ts
(or a built node dist/index.js) from this repo's directory. No extra setup, no auth, nothing
in this section applies.
HTTP (optional) — one persistent server on localhost that multiple tools/sessions
connect to instead of each spawning their own. Useful if you want oh-my-pi and opencode (or
several Claude Code sessions) sharing one running instance. Still fully local — MCP_ALLOWED_HOSTS
only needs to include the hostname you'll actually connect to (localhost), not a real domain,
unless you deliberately choose to expose this beyond your own machine.
npm run build
PORT=8080 \
MCP_AUTH_TOKEN=$(openssl rand -hex 32) \
MCP_ALLOWED_HOSTS=localhost,127.0.0.1 \
REBUILD_DOSSIER_ALLOWED_PATHS=/absolute/path/to/your/projects \
npm run start:http:prodAll three env vars are required — the server refuses to start without them, on purpose:
MCP_AUTH_TOKEN gates every /mcp request (bearer auth), MCP_ALLOWED_HOSTS guards against
DNS-rebinding, and REBUILD_DOSSIER_ALLOWED_PATHS (comma-separated absolute directories) is
the only paths ingest_repo/generate_spec/etc. are allowed to touch — set it to whatever
parent directory holds the repos you actually want to rebuild.
oh-my-pi (.omp/mcp.json or ~/.omp/agent/mcp.json):
{
"mcpServers": {
"rebuild-dossier": {
"type": "http",
"url": "http://localhost:8080/mcp",
"headers": { "Authorization": "Bearer ${REBUILD_DOSSIER_TOKEN}" }
}
}
}opencode (opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"rebuild-dossier": {
"type": "remote",
"url": "http://localhost:8080/mcp",
"enabled": true,
"oauth": false,
"headers": { "Authorization": "Bearer {env:REBUILD_DOSSIER_TOKEN}" }
}
}
}oauth: false disables opencode's automatic OAuth discovery on a 401 — this server only
supports the static bearer token above, not a real OAuth flow. Set the referenced env var
(REBUILD_DOSSIER_TOKEN in both examples) to the same value as MCP_AUTH_TOKEN above.
Development
npm test # full suite
npm run typecheckSmall, single-purpose functions; TDD throughout (tests are written before the implementation they cover, including for the reconciliation logic itself — this is a tool that generates tests, so its own correctness matters as much as any feature).
Current scope, and what's deliberately not built yet
v0 is scoped to prove the core loop, not to be feature-complete. Deliberately deferred, and tracked as real backlog rather than silently skipped:
Reconciliation on API-shaped ambiguity (a validation rule, an error-response shape) is still genuinely untested — the one differently-shaped real app validated so far (catchandtrade) happened to have zero comment/TODO signals to reconcile, so this specific question has no answer yet either way. See docs/v0-findings.md.
Video/screen-recording ingestion and the video-LLM flagged-window review.
Original-CLAUDE.md / auto-memory as an evidence source.
Live Chrome MCP capture for auth-gated/multi-account flows a headless crawler can't reach.
Asset-manifest extraction (binary files copied byte-verbatim + a hash manifest, locked contract tier) — real design exists, not yet built.
A mutator that no-ops a handler entirely (the current three — flip comparison, drop null check, off-by-one — can't produce a "this branch never ran" mutant).
See docs/v0-findings.md for the full, honest write-up: the real bugs found and fixed during validation, the comparison across model tiers, and what's still open.
Contributing
Thanks for considering a contribution! This is an academic/research project — changes should
align with the design described in the paper. See
CONTRIBUTING.md for setup, testing, and PR guidelines. First-timers welcome —
look for issues tagged good first issue or open one and ask what's most useful.
See How rebuild-dossier compares for how it differs from alternatives.
License
⭐ If rebuild-dossier helps you ship cleaner rebuilds, a star helps other developers find it.
Available Tools
6 toolscrawl_siteCrawl siteB
Playwright headless crawl of reachable routes. Emits periodic progress notifications.
Inputs: url (required), repoPath (required), maxPages. Returns: savedTo, openCases, routesVisited, routesWithConsoleErrors
flag_known_bugFlag known bugA
Record a known bug. Always overrides auto-resolve for any case it matches, regardless of other evidence.
Inputs: repoPath (required), description (required). Returns: bug, openCases
generate_specGenerate specADestructive
Write CLAUDE.md, .claude/, spec/, tests/, and kickoff-prompt.txt to -rebuild/. Only callable once the case queue is empty. Optional: if the target is a Next.js app with page routes, set GROQ_API_KEY and REBUILD_DOSSIER_ENABLE_VISION_CLASSIFICATION=1 before calling this tool to enable vision-assisted page-content classification (sends each captured page's screenshot and source code to Groq to judge static vs. dynamic content more accurately than plain regex matching) — ask the user for a Groq API key if they want more reliable generated page tests and this isn't already configured. Off by default; nothing changes if unset. Optional: pass authStorageStatePath to reach auth-gated pages during capture — see that field's own description for how to produce it.
Inputs: repoPath (required), authStorageStatePath. Returns: warning, outputDir, weakTests, apiTestNote, +12 more
get_case_queueGet case queueBDestructive
Return unresolved ambiguity cases from reconciliation.
Inputs: repoPath (required), interactive. Returns: open, cases
ingest_repoIngest repoAIdempotent
Parse package.json, tailwind/vite config, route files, and existing tests via static analysis. No LLM call.
Inputs: path (required), interactive. Returns: routes, savedTo, signals, openCases, +5 more
resolve_caseResolve caseADestructiveIdempotent
Resolve one open case with a human decision. Always available, no elicitation capability required.
Inputs: id (required), decision (required), repoPath (required), note. Returns: id, status, signals, conflict, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct role in the pipeline: ingesting, crawling, flagging bugs, reading/resolving cases, and generating the final spec. No two tools appear to perform the same action.
All tool names follow the consistent verb_noun snake_case pattern (crawl_site, ingest_repo, resolve_case, etc.), making the set predictable and easy to navigate.
Six tools is a well-scoped number for a multi-stage rebuild workflow. Every tool maps to a distinct step in the process, and none feel redundant or extraneous.
The workflow appears complete from ingestion through case resolution to spec generation. The only minor gap is that there is no explicit tool to trigger reconciliation or auto-resolution, which seems to happen implicitly or externally.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides agentic code review powered by OpenAI-compatible models, designed for use with Claude Code.1MIT
- AlicenseAqualityBmaintenanceHelps Claude Code clean up messy repositories: find dead code, duplicate logic, oversized files, and circular dependencies, then apply fixes with optional tests and rollback.103MIT
- AlicenseAqualityDmaintenanceMCP server that spawns autonomous Claude Code agents in GitHub repos, enabling task delegation with persistent state, multi-step workflows, and job monitoring.47161 npm2Apache 2.0
- AlicenseAqualityDmaintenanceA safe, local MCP server that lets Claude drive a controlled software-development loop (inspect, read, plan, patch, apply, check, analyze, fix, summarize) on a project, using deterministic tools and real diffs/test runs.101MIT