rust-kgdb 0.4.0 → 0.4.1
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 +40 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,9 +16,47 @@
|
|
|
16
16
|
| **Claude Sonnet 4** | 0.0% | 90.9% | **+90.9 pp** |
|
|
17
17
|
| **GPT-4o** | 0.0% | 81.8% | **+81.8 pp** |
|
|
18
18
|
|
|
19
|
+
### Performance Visualization
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
SPARQL Query Generation Accuracy (11 Test Cases)
|
|
23
|
+
═══════════════════════════════════════════════════════════════════════════
|
|
24
|
+
|
|
25
|
+
Vanilla LLM (No Schema Context):
|
|
26
|
+
Syntax Success | | 0.0%
|
|
27
|
+
Execution | | 0.0%
|
|
28
|
+
Type Errors |████████████████████████████████████████████████████| 100%
|
|
29
|
+
|
|
30
|
+
HyperMind Neuro-Symbolic:
|
|
31
|
+
Claude Sonnet 4 |█████████████████████████████████████████████░░░░░░░| 90.9%
|
|
32
|
+
GPT-4o |████████████████████████████████████████░░░░░░░░░░░░| 81.8%
|
|
33
|
+
Average |███████████████████████████████████████████░░░░░░░░░| 86.4%
|
|
34
|
+
Type Errors | | 0.0%
|
|
35
|
+
|
|
36
|
+
By Test Category:
|
|
37
|
+
ambiguous |████████████████████████████████████████████████████| 100%
|
|
38
|
+
multi_hop |████████████████████████████████████████████████████| 100%
|
|
39
|
+
syntax |████████████████████████████████████████████████████| 100%
|
|
40
|
+
edge_case |██████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░| 50%
|
|
41
|
+
type_mismatch |████████████████████████████████████████████████████| 100%
|
|
42
|
+
|
|
43
|
+
═══════════════════════════════════════════════════════════════════════════
|
|
44
|
+
+86.4 PERCENTAGE POINTS IMPROVEMENT
|
|
45
|
+
═══════════════════════════════════════════════════════════════════════════
|
|
46
|
+
```
|
|
47
|
+
|
|
19
48
|
> **v0.4.0 - Research Release**: HyperMind neuro-symbolic framework with WASM sandbox security, category theory morphisms, and W3C SPARQL 1.1 compliance. Benchmarked on LUBM (Lehigh University Benchmark).
|
|
20
|
-
|
|
21
|
-
|
|
49
|
+
|
|
50
|
+
### Full Benchmark Report
|
|
51
|
+
|
|
52
|
+
For complete methodology, reproducibility instructions, and detailed analysis:
|
|
53
|
+
|
|
54
|
+
**[HYPERMIND_BENCHMARK_REPORT.md](./HYPERMIND_BENCHMARK_REPORT.md)**
|
|
55
|
+
|
|
56
|
+
- 11 hard test scenarios across 5 categories
|
|
57
|
+
- LUBM dataset: 3,272 triples, 30 OWL classes, 23 predicates
|
|
58
|
+
- Multi-model evaluation: Claude Sonnet 4 & GPT-4o
|
|
59
|
+
- Security demo: [secure-agent-sandbox-demo.js](./secure-agent-sandbox-demo.js) (runs without API keys)
|
|
22
60
|
|
|
23
61
|
---
|
|
24
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-kgdb",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Production-grade Neuro-Symbolic AI Framework: +86.4% accuracy improvement over vanilla LLMs on structured query generation. Features WASM sandbox isolation, category theory morphisms, and W3C SPARQL 1.1 compliance.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|