Crypto-Accounting-Bench / TRANSFORMATION_REPORT.md
M-Ibrahem's picture
Crypto Accounting Bench
d280328
|
Raw History Blame Contribute Delete
7.6 kB

Transformation report

This public dataset is a transformed derivative of a private benchmark built from real production accounting records. The transformation is deterministic and applied uniformly across every task, so the accounting relationships survive while no real party, account or transaction is identified.

The real-to-synthetic mapping is not in this directory, is not derivable from anything in it, and is not published.

Design rule

Replace every identity-bearing and externally-correlatable value. Preserve every relationship the accounting depends on.

Concretely, the following are guaranteed to survive the transformation exactly:

  • total debits equal total credits, on every task;
  • every gold amount remains derivable from a figure visible in the same task;
  • quantity x unitCostBasis == costBasis on every tax lot;
  • realized gain/loss equals proceeds less relieved basis;
  • prices and basis values carry the corresponding monetary and quantity scaling;
  • records produced by one on-chain action still share one group identifier;
  • the same wallet, entity, counterparty or account is the same synthetic value everywhere it appears;
  • word-level links between a counterparty label and an account name - the signal several tasks turn on - are preserved, because tokens are mapped consistently rather than per-occurrence.

Field-by-field

Field / category Source form Public form Method Reversible from this directory?
Organization real company name invented two-word name (ORG-A..ORG-G) consistent synthetic replacement; assignment order is salt-shuffled so the index carries no ordering information No
Legal entity real entity name incl. jurisdiction invented brand + synthetic Jurisdiction A..H + preserved corporate form (Ltd., Inc., LLC, AG) consistent synthetic replacement No
entityType C-CORP / LLC unchanged kept - drives intercompany vs internal-transfer reasoning n/a
Natural persons real individuals (lenders, grantees, staff) role labels: Lender A, Grantee B, Individual C role-based synthetic replacement; no initials retained No
Ledger account names the organization's real chart accounting-equivalent synthetic names allowlist rewriting: generic accounting vocabulary passes through, every other token is replaced by a consistent invented token or a role label No
Ledger account numbers real GL sequences (4-15 digits) letter-prefixed synthetic codes (A0001, L0002, I0003, X0004, Q0005) regenerated per organization, grouped by account type; cannot collide with a numeric source sequence No
Bank relationships real institution + partial account number Bank A..Bank N, partial numbers removed, distinguishing index regenerated, currency retained synthetic replacement No
Exchanges / custodians real venue names Exchange A..H, Custodian A..D, Prime Broker A..B synthetic replacement preserving venue role only No
Exchange enum the source system's exchangeSourceType published as recorded, in 23 tasks retained: it is a public categorical label, and the venue is part of the accounting decision n/a
Counterparties real third parties Market Maker A, Lending Desk A, Validator B, Vendor C, Auditor A, Rewards Distributor A, ... synthetic replacement preserving the counterparty's economic role No
Protocol / contract labels real public protocol names DEX Protocol A, Staking Protocol B, Bridge A, Multisig Wallet Proxy, Zero Address synthetic replacement preserving mechanism No
Wallet addresses real on-chain addresses valid-shaped synthetic addresses, format preserved per chain family (0x+40 hex; bech32; base58) keyed one-way derivation; same source address always yields the same synthetic address No
Transaction hashes real on-chain hashes TXG-00001-style group identifiers replaced entirely; no hash format and no hash substring is published. Records of one on-chain action share one id No
Address fragments in names real address suffixes embedded in wallet/account names different fragments of the same length and case shape keyed one-way derivation No
Name-service handles real ENS names <invented>.name synthetic replacement No
Asset tickers real tickers synthetic tickers with preserved class and derivative structure (st=staked, w=wrapped, br=bridged, av=lending receipt, vd=variable debt, gv=vault share) consistent synthetic replacement No
Chains real chain names synthetic chain names with preserved L1/L2 and EVM/non-EVM class consistent synthetic replacement No
Base-currency amounts real amounts rescaled by one global integer factor exact: an integer factor introduces no rounding, so balance, derivability and gain arithmetic are preserved exactly No
Token quantities real quantities rescaled by a per-asset integer factor exact: multiplying by an integer cannot add decimal places, so recorded precision and quantityDecimalPlaces stay truthful No
Unit prices / cost basis real recorded marks rescaled with the amounts and quantities they support prices and basis values carry the corresponding monetary and quantity scaling. Assets held at par keep a par price but are published at reduced precision, so no exact recorded mark is reproduced No
Fees real fee quantities and values rescaled with the same factors as the quantities and amounts they belong to exact No
Realized gain/loss real gains/losses rescaled by the same global integer factor exact; gain still equals proceeds less relieved basis No
Timestamps real date and time to the second shifted by one global offset, reduced to minute precision ordering, intervals, recurrence spacing and tax-lot chronology preserved; the shifted range does not overlap the source range No
Database identifiers Mongo ObjectIds, journal/line ids, GL sequence numbers, sync timestamps, template names, provenance removed entirely not carried into the export n/a
Source-system metadata GL vendor, org database ids, query provenance, internal review status removed entirely not carried into the export n/a
transactionType the label the source application displays unchanged generic vocabulary; carries no identity n/a
ABI function signatures standard contract signatures unchanged for standard signatures (transfer(address,uint256) etc.); non-standard identifiers replaced universal public signatures, present in millions of contracts n/a

What deliberately survives

A name built entirely from generic accounting vocabulary is preserved as-is - Treasury, Operating Wallet, Staking Rewards, Vesting, Network Deposits, Locked: R&D + Operations. These phrases are the accounting semantics the benchmark measures; they name no organization, person, place, institution, product or account number, and they occur across the industry. Removing them would destroy the task without improving privacy.

What is deliberately NOT recoverable

The salt, the token map, the address derivation, the numeric factors, the date offset, the asset and chain maps, the task-id permutation, and the mapping from public organization ids to anything real, are all outside this directory. No file here contains a real value, a mapping, a salt, a checksum of a private file, or a pointer to private data.