-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathengineering.html
More file actions
215 lines (194 loc) · 15.5 KB
/
Copy pathengineering.html
File metadata and controls
215 lines (194 loc) · 15.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Engineering | Orange Dev Tracker | Bitcoin Data Labs</title>
<meta name="description"
content="Real-time analytics and KPIs for Bitcoin Core development. Track unique contributors, maintainers, codebase size, and commit trends.">
<link rel="canonical" href="https://tracker.bitcoindatalabs.org/index.html">
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://bitcoindatalabs.org/styles/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="icon" type="image/png" href="https://bitcoindatalabs.org/favicon.png">
<!-- Open Graph -->
<meta property="og:title" content="Engineering | Orange Dev Tracker | Bitcoin Data Labs">
<meta property="og:description" content="Real-time analytics and KPIs for Bitcoin Core development.">
<meta property="og:image" content="https://tracker.bitcoindatalabs.org/assets/og-image.png">
<link rel="stylesheet" href="styles/style.css">
</head>
<body class="has-fixed-header">
<div id="main-container">
<div id="header"></div>
<div id="app-content">
<div class="page-hero">
<p class="hero-narrative" style="margin-bottom: 12px;">How fast is Bitcoin Core shipping code — and where is the effort going?</p>
<div style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px;">
<p style="color: var(--text-secondary); font-size: 0.95rem; margin: 0; opacity: 0.8;">
<i class="fas fa-database" style="font-size: 0.85em; margin-right: 4px;"></i> <strong>Scope:</strong> Core (<span style="font-family: var(--bdl-font-mono);">bitcoin/bitcoin</span>, <span style="font-family: var(--bdl-font-mono);">gui</span>, <span style="font-family: var(--bdl-font-mono);">secp256k1</span>) and Ecosystem (<span style="font-family: var(--bdl-font-mono);">guix.sigs</span>, <span style="font-family: var(--bdl-font-mono);">HWI</span>, <span style="font-family: var(--bdl-font-mono);">qa-assets</span>).
</p>
<div id="freshness-line" class="freshness-line" style="margin: 0;">Data refreshed: -</div>
</div>
<!-- Vital Signs: Code Velocity & Throughput KPIs -->
<div class="hero-scorecard" id="vital-signs" style="margin-bottom: 30px;">
<div class="kpi-card" style="border: none; border-right: 1px solid rgba(255,255,255,0.05); border-radius: 0; box-shadow: none; background: transparent;">
<div class="kpi-label">PRs Merged</div>
<div class="kpi-value" id="kpi-prs-merged">-</div>
<div class="kpi-sub" id="kpi-prs-merged-sub">in last 30 days</div>
</div>
<div class="kpi-card" style="border: none; border-right: 1px solid rgba(255,255,255,0.05); border-radius: 0; box-shadow: none; background: transparent; position: relative;">
<div class="kpi-label">Total Commits</div>
<div class="kpi-value" id="kpi-total-commits" style="margin-bottom: 2px;">-</div>
<div class="kpi-sub" id="kpi-commits-sub" style="display: flex; gap: 10px; justify-content: center; font-size: 0.85em; margin-top: 4px;">
<span style="color: var(--primary); border-bottom: 1px dotted; cursor: help;" title="Core repositories include bitcoin/bitcoin, bitcoin-core/gui, and bitcoin-core/secp256k1">Core: <span id="kpi-commits-core">-</span></span>
<span style="color: var(--text-secondary); border-bottom: 1px dotted; cursor: help;" title="Ecosystem repositories (e.g., guix.sigs, HWI, qa-assets, ...)">Eco: <span id="kpi-commits-eco">-</span></span>
</div>
</div>
<div class="kpi-card" style="border: none; border-right: 1px solid rgba(255,255,255,0.05); border-radius: 0; box-shadow: none; background: transparent; position: relative;">
<div class="kpi-label" style="display: flex; align-items: center; justify-content: center; gap: 6px;">
Code Churn Ratio
<span style="cursor: help; opacity: 0.7; font-size: 0.85em;" title="Code Churn Ratio = (Lines Added + Deleted) ÷ Net Growth. A ratio of 4.2x means developers touch ~4 lines of code for every 1 net line added, reflecting heavy refactoring and code cleanup."><i class="fas fa-info-circle"></i></span>
</div>
<div class="kpi-value" id="kpi-churn-ratio" style="color: #60a5fa; margin-bottom: 2px;">-</div>
<div class="kpi-sub" style="font-size: 0.8em; opacity: 0.8;">Lines Touched per Net LOC</div>
</div>
<div class="kpi-card" style="border: none; border-radius: 0; box-shadow: none; background: transparent;">
<div class="kpi-label">Active BIPs</div>
<div class="kpi-value" id="kpi-bips">-</div>
<div class="kpi-sub" id="kpi-bips-sub">Active / Discussed recently</div>
</div>
</div>
</div>
<div class="container" style="padding-top: 0;">
<!-- Act 2: Codebase Anatomy & Subsystem Focus -->
<section class="card" style="margin-bottom: 30px;">
<div style="display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px;">
<div>
<h3 style="margin: 0 0 5px 0;">Codebase Anatomy & Subsystem Focus</h3>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin: 0; line-height: 1.4; max-width: 700px;">Explore codebase architecture, language composition, and where active development effort is landing.</p>
</div>
</div>
<!-- Codebase Anatomy Summary Strip (Eliminates Card Overload) -->
<div style="display: flex; gap: 12px; margin-bottom: 25px; flex-wrap: wrap;">
<div style="background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; display: flex; align-items: center; gap: 8px;">
<i class="fas fa-code-branch" style="color: var(--primary); opacity: 0.8;"></i>
<span style="color: var(--text-secondary);">Total Volume:</span>
<strong style="color: var(--text-primary); font-size: 1.05rem;" id="kpi-total-lines">-</strong>
<span style="font-size: 0.75rem; color: var(--text-secondary);">LOC</span>
</div>
<div style="background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; display: flex; align-items: center; gap: 8px;">
<i class="fas fa-file-code" style="color: var(--primary); opacity: 0.8;"></i>
<span style="color: var(--text-secondary);">Source Files:</span>
<strong style="color: var(--text-primary); font-size: 1.05rem;" id="kpi-total-files">-</strong>
</div>
<div style="background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; display: flex; align-items: center; gap: 8px;">
<i class="fas fa-layer-group" style="color: var(--primary); opacity: 0.8;"></i>
<span style="color: var(--text-secondary);">Tech Stack:</span>
<strong style="color: var(--text-primary); font-size: 1.05rem;" id="kpi-total-langs">-</strong>
<span style="font-size: 0.75rem; color: var(--text-secondary);">Languages</span>
</div>
</div>
<!-- 2-Column Split: Subsystem Donut + Leaderboard -->
<div style="display: flex; gap: 20px; margin-bottom: 30px; flex-wrap: wrap;">
<div style="flex: 1; min-width: 280px; display: flex; flex-direction: column;">
<h4 style="margin: 0 0 8px 0; font-size: 0.95rem; color: var(--text-primary);">Subsystem Effort (Current Snapshot)</h4>
<div id="chart-snapshot-work" style="height: 340px; width: 100%;"></div>
</div>
<div style="flex: 1.2; min-width: 320px; display: flex; flex-direction: column;">
<div id="subsystem-leaderboard" style="background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; min-height: 340px;">
<div style="text-align: center; color: var(--text-secondary); padding: 40px;"><i class="fas fa-spinner fa-spin"></i> Loading subsystem breakdown...</div>
</div>
</div>
</div>
<!-- Functional Footprint & Polyglot Composition -->
<div class="chart-row">
<div class="chart-box">
<div class="chart-header">Functional Footprint (File Count)</div>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; line-height: 1.4;">Shows how the codebase is structured by functional area, based on source files.</p>
<div id="chart-snapshot-files-cat" style="height:280px;"></div>
</div>
<div class="chart-box">
<div class="chart-header">Polyglot Composition (File Count)</div>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; line-height: 1.4;">Breaks down file count by programming language.</p>
<div id="chart-snapshot-files-lang" style="height:280px;"></div>
</div>
</div>
<!-- Volume & Stack Dominance -->
<div class="chart-row" style="margin-top: 20px;">
<div class="chart-box">
<div class="chart-header">Code Volume by Category (LOC)</div>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; line-height: 1.4;">Measures the size of each functional area by lines of code.</p>
<div id="chart-snapshot-volume" style="height:280px;"></div>
</div>
<div class="chart-box">
<div class="chart-header">Tech Stack Dominance (LOC)</div>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 20px; line-height: 1.4;">Displays dominant programming languages by lines of code.</p>
<div id="chart-snapshot-stack" style="height:280px;"></div>
</div>
</div>
<!-- Disclaimer -->
<div style="border: 1px solid var(--border-color); background: var(--bg-secondary); padding: 16px; border-radius: 8px; margin-top: 25px; color: var(--text-secondary); text-align: center; font-size: 13px;">
<strong style="color: var(--secondary);">⚠️ Data Normalization Notice</strong><br>
Historical line-of-code trends are mathematically scaled to match the current static codebase size (0.9M LOC).
</div>
</section>
<!-- Act 3: Historical Evolution -->
<section class="card" style="margin-bottom: 30px;">
<div style="display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px;">
<div>
<h3 style="margin: 0 0 5px 0;">Evolution of Functional Areas (Authored Commits) <span id="badge-category-partial" class="partial-year-badge" style="display: none;">2026 Partial</span></h3>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin: 0; line-height: 1.4; max-width: 700px;">Tracks how development focus shifts across subsystems over time.</p>
</div>
<div class="window-toggle" style="margin: 0;">
<button id="btn-category-year-full" class="window-btn active">Full Years</button>
<button id="btn-category-year-ytd" class="window-btn">YTD 2026</button>
</div>
</div>
<div id="chart-category" style="height: 420px; width: 100%;"></div>
<hr style="border: 0; border-top: 1px solid var(--border-color); margin: 30px 0;">
<div style="margin-bottom: 15px;">
<h3 style="margin: 0 0 5px 0;">Longitudinal Tech Evolution (Lines of Code 2009-2025)</h3>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin: 0; line-height: 1.4;">Tracks the growth of different programming languages over time.</p>
</div>
<div id="chart-streamgraph" style="height:380px; width: 100%;"></div>
</section>
<!-- Act 4: Engineering Efficiency & Refactoring Rigor -->
<section class="card" style="margin-bottom: 30px;">
<h3 style="margin-bottom: 5px;">Engineering Efficiency: Historical Churn vs. Net Change</h3>
<p style="color: var(--text-secondary); font-size: 0.85rem; margin: 0 0 20px 0; line-height: 1.4;">Tracks the ratio of code added/deleted against the net change in repository size. Highlighting weeks where net LOC went down but churn was high reveals periods of intense refactoring and high-quality engineering discipline.</p>
<div id="chart-churn" style="height: 480px; width: 100%;"></div>
<div class="info-box accent-left">
<h4 style="margin-top: 0; color: inherit; display: flex; align-items: center; gap: 8px;">
<i class="fas fa-microscope"></i> How to Analyze this Data
</h4>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;">
<div>
<strong style="color: var(--text-primary);">Total Effort (Churn Intensity)</strong><br>
The grey bars represent total activity volume (adds + deletes). Large bars show heavy code modifications.
</div>
<div>
<strong style="color: var(--text-primary);">Footprint (Net Change)</strong><br>
The solid line shows system growth or shrinkage. Dips below zero paired with high churn indicate refactoring weeks.
</div>
<div>
<strong style="color: var(--text-primary);">Refactoring Discipline</strong><br>
Net-negative sprints prove developers simplify the system rather than accumulating technical debt.
</div>
</div>
</div>
</section>
</div>
</div>
</div>
<div id="footer"></div>
<script src="https://bitcoindatalabs.org/components/app-components.js"></script>
<script src="js/utils.js"></script>
<script src="js/theme.js"></script>
<script src="js/charts-dashboard.js?v=5"></script>
<script src="js/charts-codebase.js"></script>
<script src="js/charts-advanced.js"></script>
<script src="js/app.js?v=5"></script>
<script src="js/app-config.js"></script>
</body>
</html>