From 57e69721f5e181f87689f2f923de31aee763fd47 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Sun, 15 Mar 2026 18:15:47 -0700 Subject: [PATCH 1/2] fix: relax BBB streaming/batch tolerance for cross-platform FP precision --- lib/oscillators/bbb/tests/Bbb.Validation.Tests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oscillators/bbb/tests/Bbb.Validation.Tests.cs b/lib/oscillators/bbb/tests/Bbb.Validation.Tests.cs index 8450cec1..5cd056a4 100644 --- a/lib/oscillators/bbb/tests/Bbb.Validation.Tests.cs +++ b/lib/oscillators/bbb/tests/Bbb.Validation.Tests.cs @@ -63,8 +63,8 @@ public sealed class BbbValidationTests : IDisposable int start = Math.Max(0, src.Length - 200); for (int i = start; i < src.Length; i++) { - Assert.Equal(batchSeries[i].Value, streamValues[i], 9); - Assert.Equal(batchSeries[i].Value, spanOutput[i], 9); + Assert.Equal(batchSeries[i].Value, streamValues[i], 8); + Assert.Equal(batchSeries[i].Value, spanOutput[i], 8); } _output.WriteLine("BBB validation: streaming, batch, and span outputs agree."); From 3b0cdca567273ff0c98a77dfe4d46f0ca53d3366 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Sun, 15 Mar 2026 21:10:07 -0700 Subject: [PATCH 2/2] fix: add mermaid rendering support to Docsify site - Add mermaid@11 library with dark theme configuration - Add custom markdown renderer to convert ```mermaid blocks to
- Add doneEach plugin hook to run mermaid after page navigation - Fix code fence syntax in architecture.md (remove space before 'mermaid') --- docs/architecture.md | 6 +++--- index.html | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 3bb5ac4b..c0cceae1 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -10,7 +10,7 @@ Traditional object-oriented design stores data as arrays of objects: `ListReactive Chain] -->|Adds pub/sub overhead| Stream Stream[Streaming Mode
Stateful O1 Updates] -->|Maintains state across| Span @@ -202,7 +202,7 @@ else CalculateScalar(source, output); ``` -``` mermaid +```mermaid graph TD Start{JIT Hardware Detection} diff --git a/index.html b/index.html index 2d36d830..6b68ba62 100644 --- a/index.html +++ b/index.html @@ -257,12 +257,28 @@ .sidebar .search .clear-btn { color: #8b949e; } + /* Mermaid diagram styling for dark theme */ + .mermaid { + background: transparent !important; + text-align: center; + margin: 1em 0; + }
+ + +