gille1983 commited on
Commit
70ca07b
·
1 Parent(s): 0cee0b0

Update to v0.9.5 with E4 trust layer

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. app.py +5 -3
README.md CHANGED
@@ -20,12 +20,14 @@ tags:
20
 
21
  # crdt-merge Data Playground
22
 
23
- Tabular CRDT merge, conflict analysis, and core primitive demonstrations powered by [crdt-merge v0.9.4](https://github.com/mgillr/crdt-merge).
24
 
25
  ## Tabs
26
 
27
  **Dataset Merge** — Loads glue/sst2 from HuggingFace datasets (or synthetic fallback). Merges two node partitions (150 + 100 records, 50 overlapping) with configurable strategy. Verifies commutativity: merge(A,B) == merge(B,A).
28
 
 
 
29
  **Conflict Analysis** — Runs all four strategies (LWW, MaxWins, MinWins, Union) on the same dataset and computes per-field conflict rates between strategy pairs as a heatmap.
30
 
31
  **Core CRDT Primitives** — Live demonstration of GCounter, PNCounter, LWWRegister, and ORSet. Each primitive is operated on two independent nodes then merged in both directions. Commutativity is verified for all four primitives.
@@ -33,12 +35,12 @@ Tabular CRDT merge, conflict analysis, and core primitive demonstrations powered
33
  ## Installation
34
 
35
  ```
36
- pip install crdt-merge>=0.9.4
37
  ```
38
 
39
  ## License
40
 
41
  Business Source License 1.1. Converts to Apache 2.0 on 2028-03-29.
42
- Patent Pending UK 2607132.4.
43
 
44
- crdt-merge v0.9.4 · [github.com/mgillr/crdt-merge](https://github.com/mgillr/crdt-merge)
 
20
 
21
  # crdt-merge Data Playground
22
 
23
+ Tabular CRDT merge, conflict analysis, and core primitive demonstrations powered by [crdt-merge v0.9.5](https://github.com/mgillr/crdt-merge).
24
 
25
  ## Tabs
26
 
27
  **Dataset Merge** — Loads glue/sst2 from HuggingFace datasets (or synthetic fallback). Merges two node partitions (150 + 100 records, 50 overlapping) with configurable strategy. Verifies commutativity: merge(A,B) == merge(B,A).
28
 
29
+ **E4 Trust Scoring** -- All merge operations carry typed trust scores (accuracy, consistency, recency, provenance) by default in v0.9.5+.
30
+
31
  **Conflict Analysis** — Runs all four strategies (LWW, MaxWins, MinWins, Union) on the same dataset and computes per-field conflict rates between strategy pairs as a heatmap.
32
 
33
  **Core CRDT Primitives** — Live demonstration of GCounter, PNCounter, LWWRegister, and ORSet. Each primitive is operated on two independent nodes then merged in both directions. Commutativity is verified for all four primitives.
 
35
  ## Installation
36
 
37
  ```
38
+ pip install crdt-merge>=0.9.5
39
  ```
40
 
41
  ## License
42
 
43
  Business Source License 1.1. Converts to Apache 2.0 on 2028-03-29.
44
+ Patent UK 2607132.4, GB2608127.3.
45
 
46
+ crdt-merge v0.9.5 · [github.com/mgillr/crdt-merge](https://github.com/mgillr/crdt-merge)
app.py CHANGED
@@ -16,7 +16,7 @@
16
  # On 2028-03-29 this file converts to Apache License, Version 2.0.
17
 
18
  """
19
- crdt-merge v0.9.4 — Data Playground HuggingFace Space
20
  Tabular CRDT merge, conflict analysis, and core primitive demonstrations.
21
  """
22
 
@@ -67,7 +67,7 @@ HERO_MD = """
67
 
68
  Tabular CRDT merge for DataFrames and datasets. Conflict-free record merge, deduplication, and provenance tracking.
69
 
70
- `pip install crdt-merge` · [GitHub](https://github.com/mgillr/crdt-merge) · [PyPI](https://pypi.org/project/crdt-merge/) · Patent Pending UK 2607132.4
71
  """
72
 
73
  STRATEGIES_DF = ["LWW", "MaxWins", "MinWins", "Union"]
@@ -386,6 +386,8 @@ with gr.Blocks(theme=THEME, css=CSS, title="crdt-merge — Data Playground") as
386
  Loads glue/sst2 from HuggingFace datasets (first 200 rows) or uses synthetic fallback.
387
  Splits into two node partitions with 50 overlapping records.
388
  Demonstrates conflict-free merge with configurable strategy.
 
 
389
  """)
390
 
391
  with gr.Row():
@@ -495,7 +497,7 @@ Commutativity is verified: merge(A,B) must equal merge(B,A).
495
  gr.Markdown("""
496
  ---
497
 
498
- **crdt-merge v0.9.4** · Patent Pending UK 2607132.4 · BUSL-1.1 → Apache 2.0 (2028-03-29)
499
 
500
  [🏠 Flagship](https://huggingface.co/spaces/optitransfer/crdt-merge) · [🔬 Data Playground](https://huggingface.co/spaces/optitransfer/crdt-merge-data) · [🌐 Federation](https://huggingface.co/spaces/optitransfer/crdt-merge-federation) · [GitHub](https://github.com/mgillr/crdt-merge) · [⭐ Star Repo](https://github.com/mgillr/crdt-merge/stargazers) · [👁️ Watch](https://github.com/mgillr/crdt-merge/subscription) · [📐 Architecture Deep Dive](https://github.com/mgillr/crdt-merge/tree/main/docs/architecture) · [PyPI](https://pypi.org/project/crdt-merge/) · `pip install crdt-merge`
501
  """)
 
16
  # On 2028-03-29 this file converts to Apache License, Version 2.0.
17
 
18
  """
19
+ crdt-merge v0.9.5 — Data Playground HuggingFace Space
20
  Tabular CRDT merge, conflict analysis, and core primitive demonstrations.
21
  """
22
 
 
67
 
68
  Tabular CRDT merge for DataFrames and datasets. Conflict-free record merge, deduplication, and provenance tracking.
69
 
70
+ `pip install crdt-merge` · [GitHub](https://github.com/mgillr/crdt-merge) · [PyPI](https://pypi.org/project/crdt-merge/) · Patent UK 2607132.4, GB2608127.3 · E4 Trust-Delta Architecture
71
  """
72
 
73
  STRATEGIES_DF = ["LWW", "MaxWins", "MinWins", "Union"]
 
386
  Loads glue/sst2 from HuggingFace datasets (first 200 rows) or uses synthetic fallback.
387
  Splits into two node partitions with 50 overlapping records.
388
  Demonstrates conflict-free merge with configurable strategy.
389
+
390
+ > **E4 Trust Scoring Active (v0.9.5+):** All merge operations now carry typed trust scores by default. Every record merge accumulates accuracy, consistency, recency, and provenance trust dimensions via GCounter-backed convergent accumulators. Trust propagation adds zero API overhead -- it activates transparently on `import crdt_merge`.
391
  """)
392
 
393
  with gr.Row():
 
497
  gr.Markdown("""
498
  ---
499
 
500
+ **crdt-merge v0.9.5** · Patent UK 2607132.4, GB2608127.3 · E4 Trust-Delta · BUSL-1.1 → Apache 2.0 (2028-03-29)
501
 
502
  [🏠 Flagship](https://huggingface.co/spaces/optitransfer/crdt-merge) · [🔬 Data Playground](https://huggingface.co/spaces/optitransfer/crdt-merge-data) · [🌐 Federation](https://huggingface.co/spaces/optitransfer/crdt-merge-federation) · [GitHub](https://github.com/mgillr/crdt-merge) · [⭐ Star Repo](https://github.com/mgillr/crdt-merge/stargazers) · [👁️ Watch](https://github.com/mgillr/crdt-merge/subscription) · [📐 Architecture Deep Dive](https://github.com/mgillr/crdt-merge/tree/main/docs/architecture) · [PyPI](https://pypi.org/project/crdt-merge/) · `pip install crdt-merge`
503
  """)