aprender-viz 0.60.0

SIMD/GPU/WASM-accelerated visualization library for data science and ML
Documentation
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
roadmap_version: '1.0'
github_enabled: false
github_repo: null
roadmap:
- id: TV-001
  github_issue: null
  item_type: task
  title: Initialize Cargo project structure
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:02:53.286784264+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-002
  github_issue: null
  item_type: task
  title: Implement SIMD-aligned Framebuffer
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:06:25.398560744+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-003
  github_issue: null
  item_type: task
  title: Implement basic geometric primitives
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:09:39.007846618+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-004
  github_issue: null
  item_type: task
  title: Implement Scale abstractions
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:09:56.754490534+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-005
  github_issue: null
  item_type: task
  title: Implement PNG output encoder
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:09:57.122512962+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-006
  github_issue: null
  item_type: task
  title: Implement ScatterPlot
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:09:57.496087309+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-007
  github_issue: null
  item_type: task
  title: Implement Histogram
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:09:57.868735254+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-008
  github_issue: null
  item_type: task
  title: Implement Heatmap with color scales
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:11:37.424205305+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-009
  github_issue: null
  item_type: task
  title: Implement Box and Violin plots
  status: completed
  priority: medium
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:43:14.620153183+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-010
  github_issue: null
  item_type: task
  title: Implement Line chart with Douglas-Peucker
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:13:48.897328659+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-011
  github_issue: null
  item_type: task
  title: Implement SVG output encoder
  status: completed
  priority: medium
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T03:24:57.082580166+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-012
  github_issue: null
  item_type: task
  title: Implement Terminal output (ASCII/Unicode)
  status: completed
  priority: medium
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:37:49.010051817+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-013
  github_issue: null
  item_type: task
  title: Implement Confusion Matrix
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:16:34.102498838+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-014
  github_issue: null
  item_type: task
  title: Implement ROC/PR curves
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:18:59.426015226+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-015
  github_issue: null
  item_type: task
  title: Implement streaming Loss curves
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-24T23:22:51.518871236+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-016
  github_issue: null
  item_type: task
  title: Integration with aprender
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T04:05:55.792879568+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-017
  github_issue: null
  item_type: task
  title: Implement Force-directed graph layout
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T03:29:36.195365445+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-018
  github_issue: null
  item_type: task
  title: Integration with trueno-graph
  status: completed
  priority: critical
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T04:13:37.508661913+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-019
  github_issue: null
  item_type: task
  title: Implement text prompt interface
  status: completed
  priority: medium
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T03:34:25.095115409+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-020
  github_issue: null
  item_type: task
  title: Implement Grammar of Graphics API
  status: completed
  priority: high
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T03:46:52.943907512+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-021
  github_issue: null
  item_type: task
  title: WASM package and npm publication
  status: completed
  priority: medium
  assigned_to: null
  created: 1970-01-01T00:00:00Z
  updated: 2025-11-25T03:57:45.080271356+00:00
  spec: null
  acceptance_criteria: []
  phases: []
  subtasks: []
  estimated_effort: null
  labels: []
  notes: null
- id: TV-022
  github_issue: null
  item_type: task
  title: Replace unwrap() calls with proper error handling
  status: completed
  priority: critical
  assigned_to: null
  created: 2025-11-25T07:15:00Z
  updated: 2025-11-25T08:30:00Z
  spec: 'Verified zero unwrap() in production code (all 335 occurrences in #[cfg(test)] only). Added clippy::unwrap_used=deny lint with test exception.'
  acceptance_criteria:
  - Zero unwrap() calls in src/ (excluding tests) - VERIFIED
  - All error paths have meaningful messages - VERIFIED
  - clippy::unwrap_used lint enabled - DONE (deny in Cargo.toml)
  phases: []
  subtasks: []
  estimated_effort: null
  labels:
  - security
  - reliability
  notes: 'Verified: All unwrap() calls are in #[cfg(test)] blocks. clippy::unwrap_used=deny prevents future production unwraps.'
- id: TV-023
  github_issue: null
  item_type: task
  title: Add comprehensive benchmark suite
  status: completed
  priority: high
  assigned_to: null
  created: 2025-11-25T08:45:00Z
  updated: 2025-11-25T08:45:00Z
  spec: Add criterion benchmarks for all major plot types and encoders
  acceptance_criteria:
  - Histogram benchmark (data size scaling)
  - Heatmap benchmark (grid size, palette comparisons)
  - Line chart benchmark (simplification, multi-series)
  - Encoder benchmark (PNG/SVG, compression)
  phases: []
  subtasks: []
  estimated_effort: null
  labels:
  - performance
  notes: 6 benchmark files covering scatter, framebuffer, histogram, heatmap, line, encoder
- id: TV-024
  github_issue: null
  item_type: task
  title: Real-time GPU visualization demo
  status: planned
  priority: high
  assigned_to: null
  created: 2025-11-25T09:00:00Z
  updated: 2025-11-25T09:00:00Z
  spec: GPU-first showcase with WebGPU compute, WASM SIMD fallback, WebSocket streaming, Grammar of Graphics API
  acceptance_criteria:
  - WebGPU compute tier with SIMD128/256 fallbacks
  - 60fps rendering of 1M+ points
  - WebSocket binary streaming protocol
  - 6 demo scenes (scatter, heatmap, line, network, violin, ROC)
  - Interactive code editor for Grammar of Graphics
  - Performance metrics overlay
  phases:
  - name: Foundation (WebGPU/WASM, ring buffer, scatter)
    status: planned
    estimated_effort: null
    completion: 0
  - name: Grammar API (aesthetics, scales, coords, themes)
    status: planned
    estimated_effort: null
    completion: 0
  - name: Advanced Geometries (heatmap, line, graph, violin)
    status: planned
    estimated_effort: null
    completion: 0
  - name: Streaming (WebSocket, data generators, polish)
    status: planned
    estimated_effort: null
    completion: 0
  subtasks: []
  estimated_effort: null
  labels:
  - showcase
  - gpu
  - webgpu
  notes: 'Specification: docs/specifications/real-time-gpu-demo-spec.md. 10 peer-reviewed citations.'
- id: PMAT-025
  github_issue: null
  item_type: task
  title: 'ttop: Additional tests and benchmark verification'
  status: completed
  priority: high
  assigned_to: null
  created: 2026-01-14T09:53:45Z
  updated: 2026-01-14T10:02:25.707303153+00:00
  spec: null
  acceptance_criteria:
  - Add more tests to improve coverage and verify micro/macro benchmarking
  phases: []
  subtasks: []
  estimated_effort: null
  labels:
  - testing
  - benchmarks
  notes: null
- id: PMAT-026
  github_issue: null
  item_type: task
  title: 'ttop: 95% coverage - mandatory target'
  status: inprogress
  priority: critical
  assigned_to: null
  created: 2026-01-14T10:06:01Z
  updated: 2026-01-14T10:06:06.807921928+00:00
  spec: null
  acceptance_criteria:
  - Achieve 95% line coverage through comprehensive probador testing and performance optimization
  phases: []
  subtasks: []
  estimated_effort: null
  labels:
  - coverage
  - testing
  - performance
  notes: null