@mechane-ai/elements 0.59.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -53
- package/dist/ai.js +269 -200
- package/dist/catalog.json +41 -1
- package/dist/chart-range-Du1gDxCY.js +163 -0
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/figure.js +2 -2
- package/dist/charts/timeline.js +3 -1
- package/dist/kits/operations.js +2 -2
- package/dist/kits/research.js +1 -1
- package/dist/packages/ai/src/command-activity.d.ts +5 -1
- package/dist/packages/ai/src/index.d.ts +1 -1
- package/dist/packages/ai/src/message.d.ts +9 -1
- package/dist/packages/charts/src/timeline/index.d.ts +5 -1
- package/dist/packages/charts/src/timeline/trace-timeline-layout.d.ts +106 -0
- package/dist/packages/charts/src/timeline/trace-timeline.d.ts +39 -0
- package/dist/packages/charts/src/timeline/waterfall.d.ts +23 -7
- package/dist/styles2.css +67 -7
- package/dist/{time-series-CoAtNizi.js → time-series-BbUBF3IE.js} +521 -679
- package/dist/timeline-kDb6bY7M.js +712 -0
- package/dist/waterfall-Dre6i02Z.js +684 -0
- package/package.json +1 -1
- package/dist/waterfall-BjUXqaWu.js +0 -615
package/README.md
CHANGED
|
@@ -142,7 +142,7 @@ Every path below belongs to `@mechane-ai/elements`. There is one package, versio
|
|
|
142
142
|
| `/charts/matrix` | Matrices and their confusion, correlation, attention, and calendar presets, token heatmaps, and color legends. |
|
|
143
143
|
| `/charts/graph` | Supplied relationships, weighted flows, attribution graphs, and tree diagrams. |
|
|
144
144
|
| `/charts/hierarchy` | Treemaps and icicles. |
|
|
145
|
-
| `/charts/timeline` |
|
|
145
|
+
| `/charts/timeline` | Trace timelines, waterfall intervals and instants, and lanes of events. |
|
|
146
146
|
| `/charts/trend` | Curves over a step or layer, many runs, slopes, rank changes, and horizon rows. |
|
|
147
147
|
| `/charts/comparison` | Dot plots, dumbbells, and bullet bars. |
|
|
148
148
|
| `/charts/relationship` | Contours, scatter matrices, parallel coordinates, embedding maps, and density maps. |
|
|
@@ -410,58 +410,59 @@ chart answers. Each family is the import entry `@mechane-ai/elements/charts/<fam
|
|
|
410
410
|
[chart guide](https://github.com/mechane-ai/mechane/blob/main/workspaces/core/docs/ui-charts.md#choose-a-chart) adds
|
|
411
411
|
when to use each chart and when another is better. Use a table when exact comparison matters more than shape.
|
|
412
412
|
|
|
413
|
-
| Family entry | Chart | The reader asks
|
|
414
|
-
| ---------------------- | --------------------- |
|
|
415
|
-
| `/charts/trend` | `CurveChart` | How did a metric change over training steps or another ordered variable?
|
|
416
|
-
| `/charts/trend` | `RunsChart` | How does one run compare with the whole sweep it belongs to?
|
|
417
|
-
| `/charts/trend` | `SlopeChart` | How did each item move between two to six conditions?
|
|
418
|
-
| `/charts/trend` | `BumpChart` | How did the ranking of items change across stages?
|
|
419
|
-
| `/charts/trend` | `HorizonChart` | Which of many series run above or below normal, and when?
|
|
420
|
-
| `/charts/comparison` | `DotPlot` | How do a few models compare on each of several measures?
|
|
421
|
-
| `/charts/comparison` | `DumbbellPlot` | How much did each row change between two measurements?
|
|
422
|
-
| `/charts/comparison` | `BulletBar` | Is each measure meeting its target?
|
|
423
|
-
| `/charts/cartesian` | `BarChart` | How large is each amount, by category and series?
|
|
424
|
-
| `/charts/cartesian` | `BridgeChart` | Which changes add up to the difference between two totals?
|
|
425
|
-
| `/charts/cartesian` | `BreakdownBar` | How does one total split into parts?
|
|
426
|
-
| `/charts/cartesian` | `ScatterPlot` | How do two measures of the same records relate?
|
|
427
|
-
| `/charts/cartesian` | `LineChart` | How did a measure change over time?
|
|
428
|
-
| `/charts/cartesian` | `AreaChart` | How did a total and its parts change over time?
|
|
429
|
-
| `/charts/cartesian` | `SmallMultiples` | How do several related measures move together over the same time?
|
|
430
|
-
| `/charts/cartesian` | `Sparkline` | Which way is one measure trending, at a glance?
|
|
431
|
-
| `/charts/distribution` | `Histogram` | How are the values of one measure distributed?
|
|
432
|
-
| `/charts/distribution` | `ECDF` | What share of values falls below a given level?
|
|
433
|
-
| `/charts/distribution` | `IntervalPlot` | What is each estimate, and how uncertain is it?
|
|
434
|
-
| `/charts/distribution` | `RankedBars` | Which items rank highest on one measure?
|
|
435
|
-
| `/charts/distribution` | `BoxPlot` | How do the distributions of several groups compare?
|
|
436
|
-
| `/charts/distribution` | `ViolinPlot` | How does the shape of a distribution differ between groups?
|
|
437
|
-
| `/charts/distribution` | `StripPlot` | Where does every single value of each group fall?
|
|
438
|
-
| `/charts/distribution` | `Ridgeline` | How does a distribution shift across many ordered groups?
|
|
439
|
-
| `/charts/matrix` | `Matrix` | What is the value for every pair of two categories?
|
|
440
|
-
| `/charts/matrix` | `TokenHeatmap` | Which tokens of a text carry the most of a score?
|
|
441
|
-
| `/charts/matrix` | `ConfusionMatrix` | Which classes does a classifier confuse with which?
|
|
442
|
-
| `/charts/matrix` | `CorrelationMatrix` | Which measures move together?
|
|
443
|
-
| `/charts/matrix` | `AttentionMatrix` | Which earlier tokens does each token attend to?
|
|
444
|
-
| `/charts/matrix` | `CalendarHeatmap` | How does a daily measure vary by week and weekday?
|
|
445
|
-
| `/charts/graph` | `RelationGraph` | How are a few named things connected?
|
|
446
|
-
| `/charts/graph` | `FlowDiagram` | Where does a quantity go between stages?
|
|
447
|
-
| `/charts/graph` | `AttributionGraph` | Which features carry a model’s answer from the prompt to the output?
|
|
448
|
-
| `/charts/graph` | `TreeDiagram` | How is a hierarchy structured?
|
|
449
|
-
| `/charts/hierarchy` | `Treemap` | Which parts make up most of a total?
|
|
450
|
-
| `/charts/hierarchy` | `Icicle` | How does a total split through nested levels?
|
|
451
|
-
| `/charts/timeline` | `
|
|
452
|
-
| `/charts/timeline` | `
|
|
453
|
-
| `/charts/
|
|
454
|
-
| `/charts/relationship` | `
|
|
455
|
-
| `/charts/relationship` | `
|
|
456
|
-
| `/charts/relationship` | `
|
|
457
|
-
| `/charts/relationship` | `
|
|
458
|
-
| `/charts/
|
|
459
|
-
| `/charts/text` | `
|
|
460
|
-
| `/charts/text` | `
|
|
461
|
-
| `/charts/text` | `
|
|
462
|
-
| `/charts/
|
|
463
|
-
| `/charts/image` | `
|
|
464
|
-
| `/charts/image` | `
|
|
413
|
+
| Family entry | Chart | The reader asks |
|
|
414
|
+
| ---------------------- | --------------------- | ------------------------------------------------------------------------- |
|
|
415
|
+
| `/charts/trend` | `CurveChart` | How did a metric change over training steps or another ordered variable? |
|
|
416
|
+
| `/charts/trend` | `RunsChart` | How does one run compare with the whole sweep it belongs to? |
|
|
417
|
+
| `/charts/trend` | `SlopeChart` | How did each item move between two to six conditions? |
|
|
418
|
+
| `/charts/trend` | `BumpChart` | How did the ranking of items change across stages? |
|
|
419
|
+
| `/charts/trend` | `HorizonChart` | Which of many series run above or below normal, and when? |
|
|
420
|
+
| `/charts/comparison` | `DotPlot` | How do a few models compare on each of several measures? |
|
|
421
|
+
| `/charts/comparison` | `DumbbellPlot` | How much did each row change between two measurements? |
|
|
422
|
+
| `/charts/comparison` | `BulletBar` | Is each measure meeting its target? |
|
|
423
|
+
| `/charts/cartesian` | `BarChart` | How large is each amount, by category and series? |
|
|
424
|
+
| `/charts/cartesian` | `BridgeChart` | Which changes add up to the difference between two totals? |
|
|
425
|
+
| `/charts/cartesian` | `BreakdownBar` | How does one total split into parts? |
|
|
426
|
+
| `/charts/cartesian` | `ScatterPlot` | How do two measures of the same records relate? |
|
|
427
|
+
| `/charts/cartesian` | `LineChart` | How did a measure change over time? |
|
|
428
|
+
| `/charts/cartesian` | `AreaChart` | How did a total and its parts change over time? |
|
|
429
|
+
| `/charts/cartesian` | `SmallMultiples` | How do several related measures move together over the same time? |
|
|
430
|
+
| `/charts/cartesian` | `Sparkline` | Which way is one measure trending, at a glance? |
|
|
431
|
+
| `/charts/distribution` | `Histogram` | How are the values of one measure distributed? |
|
|
432
|
+
| `/charts/distribution` | `ECDF` | What share of values falls below a given level? |
|
|
433
|
+
| `/charts/distribution` | `IntervalPlot` | What is each estimate, and how uncertain is it? |
|
|
434
|
+
| `/charts/distribution` | `RankedBars` | Which items rank highest on one measure? |
|
|
435
|
+
| `/charts/distribution` | `BoxPlot` | How do the distributions of several groups compare? |
|
|
436
|
+
| `/charts/distribution` | `ViolinPlot` | How does the shape of a distribution differ between groups? |
|
|
437
|
+
| `/charts/distribution` | `StripPlot` | Where does every single value of each group fall? |
|
|
438
|
+
| `/charts/distribution` | `Ridgeline` | How does a distribution shift across many ordered groups? |
|
|
439
|
+
| `/charts/matrix` | `Matrix` | What is the value for every pair of two categories? |
|
|
440
|
+
| `/charts/matrix` | `TokenHeatmap` | Which tokens of a text carry the most of a score? |
|
|
441
|
+
| `/charts/matrix` | `ConfusionMatrix` | Which classes does a classifier confuse with which? |
|
|
442
|
+
| `/charts/matrix` | `CorrelationMatrix` | Which measures move together? |
|
|
443
|
+
| `/charts/matrix` | `AttentionMatrix` | Which earlier tokens does each token attend to? |
|
|
444
|
+
| `/charts/matrix` | `CalendarHeatmap` | How does a daily measure vary by week and weekday? |
|
|
445
|
+
| `/charts/graph` | `RelationGraph` | How are a few named things connected? |
|
|
446
|
+
| `/charts/graph` | `FlowDiagram` | Where does a quantity go between stages? |
|
|
447
|
+
| `/charts/graph` | `AttributionGraph` | Which features carry a model’s answer from the prompt to the output? |
|
|
448
|
+
| `/charts/graph` | `TreeDiagram` | How is a hierarchy structured? |
|
|
449
|
+
| `/charts/hierarchy` | `Treemap` | Which parts make up most of a total? |
|
|
450
|
+
| `/charts/hierarchy` | `Icicle` | How does a total split through nested levels? |
|
|
451
|
+
| `/charts/timeline` | `TraceTimeline` | How long did concurrent spans take across lanes, with zoom and highlight? |
|
|
452
|
+
| `/charts/timeline` | `Waterfall` | When did each step of a request or run start and end? |
|
|
453
|
+
| `/charts/timeline` | `EventStrip` | What happened when, across a few kinds of events? |
|
|
454
|
+
| `/charts/relationship` | `ContourPlot` | What does a value look like over two continuous inputs? |
|
|
455
|
+
| `/charts/relationship` | `ScatterMatrix` | How do several measures relate to each other, pair by pair? |
|
|
456
|
+
| `/charts/relationship` | `ParallelCoordinates` | Which records do well on many measures at once? |
|
|
457
|
+
| `/charts/relationship` | `EmbeddingMap` | How do many items cluster in a learned embedding space? |
|
|
458
|
+
| `/charts/relationship` | `DensityMap` | Where are points concentrated over two measures? |
|
|
459
|
+
| `/charts/text` | `TokenExamples` | On which passages, and which tokens, does a feature fire? |
|
|
460
|
+
| `/charts/text` | `TokenPredictions` | Which tokens does the model expect next, and how did that change? |
|
|
461
|
+
| `/charts/text` | `TokenGrid` | How does a per-token value change across layers or conditions? |
|
|
462
|
+
| `/charts/text` | `TokenLinks` | Which tokens most influence which later tokens? |
|
|
463
|
+
| `/charts/image` | `ImageGrid` | What do a set of images look like, with a value for each? |
|
|
464
|
+
| `/charts/image` | `AttributionOverlay` | Which parts of an image drove the model’s output? |
|
|
465
|
+
| `/charts/image` | `ImageAtlas` | How do images arrange over a two-dimensional layout? |
|
|
465
466
|
|
|
466
467
|
`ColorLegend`, the table cells in `/charts/cells`, the placeholders and the kits are not registered charts, so the guide
|
|
467
468
|
does not list them. `chartGuide` is exported from `@mechane-ai/elements/charts/figure`, so an application or an agent
|