Skip to content

[PR] Fossil Record — Attestation Archaeology Visualizer (#2311, 75 RTC) - #4

Closed
kuanglaodi2-sudo wants to merge 1 commit into
mainfrom
feature/fossil-record-visualizer-v2
Closed

kuanglaodi2-sudo wants to merge 1 commit into
mainfrom
feature/fossil-record-visualizer-v2

Conversation

@kuanglaodi2-sudo

Copy link
Copy Markdown
Owner

Summary

Implements Fossil Record — Attestation Archaeology Visualizer (bounty Scottcjn#2311, 75 RTC).

What was built

  • fossils/api.py — Flask API with endpoints:

    • GET /api/attestations — full attestation history with epoch/arch filters
    • GET /api/attestations/epochs — epoch-architecture aggregates for the visualization
    • GET /api/attestations/miners — per-miner aggregated stats
    • GET /api/architectures — architecture metadata
    • GET /api/summary — high-level dashboard summary
  • fossils/generate_data.py — Deterministic mock data generator:

    • ~500+ attestation records spanning epochs 1–1000
    • 8 architecture families with realistic miner IDs and device names
    • Mixed architecture distribution across epochs
    • Seeded RNG for reproducible data
  • fossils/static/index.html — Complete D3.js stratigraphy visualization:

    • Stratigraphy view: stacked horizontal bands per architecture (oldest arch at bottom)
    • Streamgraph view: proportional flow alternative
    • Width encoding: active miners / total RTC / attestation count
    • 8 architecture layers (bottom → top):
      • 68K (dark amber) — from epoch 1
      • G3/G4 (warm copper) — from epoch 15
      • G5 (bronze) — from epoch 120
      • SPARC (crimson) — from epoch 80
      • MIPS (jade) — from epoch 50
      • POWER8 (deep blue) — from epoch 300
      • Apple Silicon (silver) — from epoch 550
      • Modern x86 (pale grey) — from epoch 200
    • Epoch settlement markers (vertical dashed lines at every 50 epochs)
    • First-appearance annotations with diamond markers for each architecture
    • Interactive tooltips: miner ID, device, RTC earned, fingerprint quality
    • Architecture toggle controls
    • Epoch range slider
    • Geological layer aesthetics with proper color/texture

Deploy target

rustchain.org/fossils

Bounty

- fossils/api.py: Flask API with /api/attestations endpoint
- fossils/generate_data.py: Mock attestation data generator (500+ records, epochs 1-1000)
- fossils/static/index.html: D3.js stratigraphy visualization

8 architecture layers, epoch settlement markers, first-appearance annotations.
Deployable at rustchain.org/fossils

Bounty: Scottcjn#2311 (75 RTC)
@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

Copy link
Copy Markdown

⚠️ BCOS v2 Scan Results

Metric Value
Trust Score 58/100
Certificate ID BCOS-ef331dcc
Tier L1 (not met)

BCOS Badge

What does this mean?

The BCOS (Beacon Certified Open Source) engine scans for:

  • SPDX license header compliance
  • Known CVE vulnerabilities (OSV database)
  • Static analysis findings (Semgrep)
  • SBOM completeness
  • Dependency freshness
  • Test infrastructure evidence
  • Review attestation tier

Full report | What is BCOS?


BCOS v2 Engine - Free & Open Source (MIT) - Elyan Labs

@kuanglaodi2-sudo

Copy link
Copy Markdown
Owner Author

Closing this PR — submitted to wrong repo. The correct PR for bounty Scottcjn#2311 (Fossil Record) is now at: Scottcjn/rustchain-bounties#2744

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant