Skip to content

Codebase Collection

This release preserves the source tree, tests, documentation, and the Git history that explains how the system changed.

Status
Independent review, PASS
01

Overview

Most code corpora flatten software into disconnected files or final snapshots. Codebase Collection keeps each project coherent: source, tests, documentation, configuration, commit topology, technical messages, timestamps, branches, tags, merges, reversions, and multi-file changes across 178 real-world codebases.

The result supports repository-level training, long-context code understanding, patch and commit reasoning, test generation, code review, refactoring, regression analysis, and the construction of realistic coding-agent evaluations from authentic history.

1.38M

Current code lines

Coherent current repository snapshots.

47.8M

Historical lines

Unique reachable historical text.

198.76 MiB

Sealed archive

Cloneable Git bundles plus evidence.

02

Exact composition

Start with the corpus, not the showcase sample. These measurements define the release buyers receive and distinguish unique Git objects from per-repository totals.

MetricExact valueDefinition
Repositories178Complete retained codebases after empty and duplicate removal
Commits16,555 / 15,238Summed per repository / unique sanitized commit objects
Merge commits868Summed across delivered repositories
Heads and tags548Approved refs retained in prerequisite-free bundles
Current snapshots23,633 files1,379,283 measured code lines
Historical text61,454 blobs47,783,501 lines across unique reachable text
Pull requests464 / 444 mergedAggregate source-inventory metadata; PR bodies are not claimed as delivered
Contributors99Unique retained contributor display names
03

Inspect the history

Follow 23 recorded commits and inspect a de-identified technical change. The preview shows how the source evolved, which files moved together, and what a repository-level training example can preserve.

One repository's commit history, 11 to 21 January 202623 commits · newest first · Pacific time
  1. c99b8051Add wallet setup script with retry logic and deployment ID generation
  2. ace112faAdd retry logic and error handling to full-deploy script
  3. 876cc1fdAdd comprehensive README for SettlementEngine Smart Contracts
  4. 8a1bcb20Add project guidelines and reorganize contracts with restricted admin
  5. 8c7c2e29Update README for v2.3 API changes and gasless signatures
  6. b15153cfAdd script to generate and fund test wallets for SettlementEngine
  7. 9739cf7dUpdate README v2.2: simplify seller signature, add gasless transfer
  8. 130a558aAdd internal balance transfer and gasless support
  9. 5673843bAdd internal balance transfer with gasless support
  10. 852592efUpdate README to reflect major refactor and new terminology
  11. ed9069e5Switch SettlementEngine from auction to bet logic
  12. 94e5e98cAdd scripts to distribute TESTUSD and fund test wallets
  13. b2ff4a65Add misc/ to .gitignore to exclude miscellaneous files
  14. 5f83d5adUpdate README with comprehensive documentation and new architecture diagram
  15. 3ae590c0Update MockERC20 deployment name to reflect SettlementEngine
  16. d0102f34Add testnet addresses to README and create setup script
  17. 51ea1a6aAdd RESOLVE prefix to resolution hash
  18. 30623902Add comprehensive admin authorization tests
  19. dddbc666Refactor SettlementEngine to use internal balances and token approvals
  20. 6bd579beAdd auction-based secondary trading to SettlementEngine

    Replaces listings with auctions for reselling positions: a seller opens an auction, buyers bid and the seller accepts one. The auction code lives in a new contract, SettlementEngineAuction, which SettlementEngine now builds on instead of the listing contract.

    Commit
    6bd579be
    Time
    11 Jan 2026, 19:26 PST
    Files changed
    26
    Added, deleted, modified
    5, 7, 14
    Patch lines
    3,662
    26 files changed

    contracts/ · 6

    • ~SettlementEngine.sol
    • +SettlementEngineAuction.sol
    • ~SettlementEngineError.sol
    • ~SettlementEngineEvent.sol
    • −SettlementEngineListing.sol
    • ~SettlementEngineStorage.sol

    test/ · 20

    • +auction/accept-bid.test.js
    • +auction/close-auction.test.js
    • +auction/open-auction.test.js
    • +auction/register-bid.test.js
    • ~edge/authorization.test.js
    • ~edge/multi-transfer.test.js
    • ~edge/position-transfer.test.js
    • ~edge/reentrancy.test.js
    • ~edge/state-transition.test.js
    • ~edge/timestamp.test.js
    • ~edge/zero-value.test.js
    • −fuzz/listing-price.test.js
    • ~fuzz/state-machine.test.js
    • ~helper.js
    • −listing/buy-position.test.js
    • −listing/cancel-listing.test.js
    • −listing/edge-case.test.js
    • −listing/list-position.test.js
    • −listing/secondary-sale-resolution.test.js
    • ~token/token-compatibility.test.js
    contracts/SettlementEngine.solFirst hunk of commit 4
    @@ -2,14 +2,14 @@22 pragma solidity ^0.8.24;33 44 import "./SettlementEngineQuote.sol";5-import "./SettlementEngineListing.sol";5+import "./SettlementEngineAuction.sol";66 77 /**88  * @title SettlementEngine9- * @notice Prediction market escrow and secondary trading10- * @dev Inherits quote and listing logic, deploys as single contract9+ * @notice Prediction market escrow and secondary trading via auctions10+ * @dev Inherits quote and auction logic, deploys as single contract1111  */12-contract SettlementEngine is SettlementEngineQuote, SettlementEngineListing {12+contract SettlementEngine is SettlementEngineQuote, SettlementEngineAuction {
  21. f80f62c7Add Business Source License 1.1 to repository
  22. 08f1dbddAdd admin controls, protocol fee, and updated env example
  23. 03c46aabAdd example env, gitignore, and README

For evaluation access, tell us the languages, repository types and research use case you need.

04

Construction and sanitization

The build began with 214 mirrored repositories and 19,011 commits. Redaction policy 2026-07-18.19 removed principal identity, contributor contact details, credentials, sensitive records, private source paths, command-center material, and narrowly unsafe payloads while retaining useful technical context and authentic topology.

  1. Rewrite and reconcile all 19,011 commits across 575 source refs.
  2. Remove 13 genuinely empty repositories and 23 conservatively supported duplicate copies.
  3. Package 178 prerequisite-free Git bundles under stable pseudonymous IDs.
  4. Generate exact manifests, checksums, data cards, and public audit summaries.
  5. Verify a fresh extraction and submit the exact sealed bytes for independent round-eight review. The review returned PASS with zero unresolved supported blockers.

The corpus is pseudonymized, not anonymous. Safe company, product, project, and ordinary contributor-display-name context remains because it contributes to model utility. Receipt of evaluation material does not grant rights to the full corpus; executed transaction terms govern use.

05

Release verification

CheckResultDetail
History rewrites complete214 / 21419,011 source and target commits with zero structural mismatches.
Bundles verified178 / 178Hashes, refs, git fsck, and git bundle verification passed.
Unresolved scan findings0Sanitized content and secret scans returned zero findings.
Independent reviewPASSRound eight reviewed the exact policy-2026-07-18.19 sealed bytes with zero unresolved supported blockers.
06

Boundaries

  • Pull-request counts are aggregate source-inventory metadata; the release does not claim delivery of PR bodies or review threads.
  • The previewed repository is test-heavy and spans 23 commits; it demonstrates coherence more than long-horizon collaboration.
  • Sample runtime tests were not executed because the exact declared dependency environment was not reproduced.
  • Rights, licenses, provenance, and retained company context remain buyer diligence fields governed by transaction terms.