Skip to content

feat: Fossil Record — Attestation Archaeology Visualizer (#2311)#1790

Closed
kuanglaodi2-sudo wants to merge 1 commit intoScottcjn:mainfrom
kuanglaodi2-sudo:feature/fossil-record-v2
Closed

feat: Fossil Record — Attestation Archaeology Visualizer (#2311)#1790
kuanglaodi2-sudo wants to merge 1 commit intoScottcjn:mainfrom
kuanglaodi2-sudo:feature/fossil-record-v2

Conversation

@kuanglaodi2-sudo
Copy link
Copy Markdown
Contributor

Bounty Claim: #2311 — The Fossil Record (75 RTC)

Wallet: C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg


What This PR Does

Implements site/fossils/ — an interactive D3.js visualization showing every attestation from every miner since genesis, rendered as geological strata color-coded by CPU architecture.

Features Delivered

  • Interactive stratigraphy chart with 3 view modes:
    • Stratigraphy — Geological layer view (bar width = miner count per epoch)
    • Timeline — Dot-scatter (dot size = fingerprint quality)
    • Heatmap — Density heatmap of mining activity
  • 8 architecture bands (older arch = deeper stratum):
    • 68K (dark amber, Genesis) → G3/G4 (copper) → G5 (bronze) → SPARC (crimson) → MIPS (jade) → POWER8 (deep blue) → ARM (silver) → x86-64 (pale grey)
  • Hover tooltips — miner ID, device, fingerprint quality, RTC earned
  • Epoch settlement markers — vertical dashed lines every 50 epochs
  • First-appearance markers — ◆ labels at each architecture's entry point
  • Scale modes — linear or square-root (mining weight)
  • Architecture toggle — click legend to show/hide strata

Files

File Description
site/fossils/index.html Self-contained D3.js visualization (no build step)
site/fossils/generate_fossil_data.py Production data export from RustChain node DB
site/fossils/data/fossils.json Sample dataset: 500 epochs, 54,183 miners, 30.7M RTC
site/fossils/README.md Deployment guide

Deployment

The visualization is a static HTML file — deploy site/fossils/ to any static host.

GitHub Pages is already enabled on the repo; after merge it will be live at: rustchain.org/fossils

Tech

  • D3.js v7 (CDN)
  • IBM Plex Mono + Playfair Display fonts (Google Fonts)
  • Zero build tools — pure HTML/CSS/JS

Closes #2311

- Interactive D3.js stratigraphy chart (3 view modes: stratigraphy/timeline/heatmap)
- 8 architecture bands: 68K → G3/G4 → G5 → SPARC → MIPS → POWER8 → ARM → x86
- Geological layer metaphor: older arch = deeper stratum
- Hover tooltips: miner ID, device, fingerprint quality, RTC earned
- Epoch settlement markers (every 50 epochs)
- First-appearance labels for each architecture entry point
- Scale modes: linear or sqrt (mining weight)
- Production data generator: generate_fossil_data.py (RustChain node DB export)
- Sample dataset: 500 epochs, 54,183 miners, 30.7M RTC
- Deployable at rustchain.org/fossils

Bounty: #2311 — 75 RTC
Wallet: C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg
@github-actions
Copy link
Copy Markdown

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions bot added documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines labels Mar 22, 2026
@Scottcjn
Copy link
Copy Markdown
Owner

Closing — @kuanglaodi2-sudo, 545,446 lines added across 4 files for a visualization task. This is the same diff padding pattern you were warned about multiple times.

You proved you CAN submit clean work — your formal verification PR (#1734, 200 RTC) was excellent at 499 lines. Then you immediately went back to padding.

The bounty remains open for contributors who submit focused, reviewable code. A D3.js visualization should be a few hundred lines, not half a million.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) documentation Improvements or additions to documentation size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants