Technical note
Codebase Collection
This release preserves the source tree, tests, documentation, and the Git history that explains how the system changed.
- Status
- Independent review, PASS
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.
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.
| Metric | Exact value | Definition |
|---|---|---|
| Repositories | 178 | Complete retained codebases after empty and duplicate removal |
| Commits | 16,555 / 15,238 | Summed per repository / unique sanitized commit objects |
| Merge commits | 868 | Summed across delivered repositories |
| Heads and tags | 548 | Approved refs retained in prerequisite-free bundles |
| Current snapshots | 23,633 files | 1,379,283 measured code lines |
| Historical text | 61,454 blobs | 47,783,501 lines across unique reachable text |
| Pull requests | 464 / 444 merged | Aggregate source-inventory metadata; PR bodies are not claimed as delivered |
| Contributors | 99 | Unique retained contributor display names |
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.
- c99b8051Add wallet setup script with retry logic and deployment ID generation
- ace112faAdd retry logic and error handling to full-deploy script
- 876cc1fdAdd comprehensive README for SettlementEngine Smart Contracts
- 8a1bcb20Add project guidelines and reorganize contracts with restricted admin
- 8c7c2e29Update README for v2.3 API changes and gasless signatures
- b15153cfAdd script to generate and fund test wallets for SettlementEngine
- 9739cf7dUpdate README v2.2: simplify seller signature, add gasless transfer
- 130a558aAdd internal balance transfer and gasless support
- 5673843bAdd internal balance transfer with gasless support
- 852592efUpdate README to reflect major refactor and new terminology
- ed9069e5Switch SettlementEngine from auction to bet logic
- 94e5e98cAdd scripts to distribute TESTUSD and fund test wallets
- b2ff4a65Add misc/ to .gitignore to exclude miscellaneous files
- 5f83d5adUpdate README with comprehensive documentation and new architecture diagram
- 3ae590c0Update MockERC20 deployment name to reflect SettlementEngine
- d0102f34Add testnet addresses to README and create setup script
- 51ea1a6aAdd RESOLVE prefix to resolution hash
- 30623902Add comprehensive admin authorization tests
- dddbc666Refactor SettlementEngine to use internal balances and token approvals
- 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 {
- f80f62c7Add Business Source License 1.1 to repository
- 08f1dbddAdd admin controls, protocol fee, and updated env example
- 03c46aabAdd example env, gitignore, and README
For evaluation access, tell us the languages, repository types and research use case you need.
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.
- Rewrite and reconcile all 19,011 commits across 575 source refs.
- Remove 13 genuinely empty repositories and 23 conservatively supported duplicate copies.
- Package 178 prerequisite-free Git bundles under stable pseudonymous IDs.
- Generate exact manifests, checksums, data cards, and public audit summaries.
- 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.
Release verification
| Check | Result | Detail |
|---|---|---|
| History rewrites complete | 214 / 214 | 19,011 source and target commits with zero structural mismatches. |
| Bundles verified | 178 / 178 | Hashes, refs, git fsck, and git bundle verification passed. |
| Unresolved scan findings | 0 | Sanitized content and secret scans returned zero findings. |
| Independent review | PASS | Round eight reviewed the exact policy-2026-07-18.19 sealed bytes with zero unresolved supported blockers. |
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.