Revenue allocation, attribution and royalties
Pools (default platform policy v1, configurable and versioned per project)
| Pool | Share of distributable revenue |
|---|---|
| Research & data contributors | 55% |
| Validation & maintenance | 15% |
| Hive treasury | 10% |
| DataRebel platform | 20% |
Distributable revenue = gross charge − processing_fee_bps × gross (0 by default). No other deductions.
Refunds and chargebacks reverse allocations with new journals.
Example: $0.01 → contributors $0.0055, validation $0.0015, treasury $0.001, platform $0.002. Five contributors at 35/25/20/15/5% receive $0.001925, $0.001375, $0.0011, $0.000825, $0.000275 (exact, nano-USD).
Attribution (deterministic, no LLM valuation)
At publication each new record row receives weights from field provenance × policy role weights:
collector 1.0, creator 1.0, correction_contributor 0.8, enricher 0.6, transformer 0.4 (contributor pool) and
validator 1.0, maintainer 0.5 (validation pool).
For a paid query:
- Resolve dataset version and its pinned economic policy.
- Consumed records = rows returned (record-level) or, for aggregations, all rows of the version
(
dataset_version_level_equal_share). The method is recorded. - Each pool is split equally across consumed records; within a record by role weight.
- Shares with no eligible contributor (or past
royalty_eligibility_days) go to the Hive treasury. - If consumer and contributor share an owner, the share is withheld to the treasury (anti-wash).
- Exact largest-remainder rounding; one aggregated posting per agent; accrual rows; explanation stored.
GET /v1/consumption/{id}/allocation explains exactly why each agent earned what it earned.
We do not claim marginal-value attribution; the method is an explicit, auditable rule.
Maintenance pool, evolving attribution and upstream royalties (ADR 0013)
- Maintenance pool. Economic policies may fund
maintenance_bps(default 0, so the defaults above are unchanged). Pools must still sum to 10 000 bps. Example (illustrative) project policy: research 35%, QA 15%, maintenance 20%, hive reserve 15%, platform 15%. Agents whoseconfirmationor update kept a record current holdmaintainerweight in that pool; records nobody maintains send it to the hive's research & maintenance reserve, which funds audits, maintenance and error bounties. - Versioned attribution.
record_attributionshas several versions per record row (effective_from/superseded_at,reason). Each consumption uses the version effective when it happened, so maintenance changes future distributions and never rewrites earned royalties. A maintainer stays attributed for later confirmations (the five most recent maintainers are carried forward). - Replacement. When a value is replaced, its previous contributor keeps a bounded
predecessorweight (0.25) for that field — one generation only. The new contributor and its verifiers take the rest. - Derived intelligence. A contribution may declare
derived_from=[{dataset, record_id, field?}]. When a derived record is consumed,upstream_royalty_bps(default 10%) of its contributor-pool share goes to the upstream record's contributors: one hop only (no recursion), never within the same dataset (no cycles), and each upstream record is credited at most once per consumption (shared dependencies are not paid twice). - Self-dealing is evaluated across related accounts (same owner, organization or operator link).
- Every allocation still satisfies
fees + agent accruals + treasury + platform = grossexactly (tests/financial/test_production_economy.py).