eyeling 1.22.2 → 1.22.4

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.
Files changed (55) hide show
  1. package/examples/arcling/README.md +38 -167
  2. package/package.json +2 -3
  3. package/test/examples.test.js +20 -2
  4. package/examples/arcling/calidor/calidor.data.json +0 -79
  5. package/examples/arcling/calidor/calidor.expected.json +0 -94
  6. package/examples/arcling/calidor/calidor.model.go +0 -612
  7. package/examples/arcling/calidor/calidor.spec.md +0 -166
  8. package/examples/arcling/delfour/delfour.data.json +0 -67
  9. package/examples/arcling/delfour/delfour.expected.json +0 -88
  10. package/examples/arcling/delfour/delfour.model.go +0 -564
  11. package/examples/arcling/delfour/delfour.spec.md +0 -117
  12. package/examples/arcling/flandor/flandor.data.json +0 -106
  13. package/examples/arcling/flandor/flandor.expected.json +0 -98
  14. package/examples/arcling/flandor/flandor.model.go +0 -655
  15. package/examples/arcling/flandor/flandor.spec.md +0 -155
  16. package/examples/arcling/medior/medior.data.json +0 -96
  17. package/examples/arcling/medior/medior.expected.json +0 -100
  18. package/examples/arcling/medior/medior.model.go +0 -652
  19. package/examples/arcling/medior/medior.spec.md +0 -157
  20. package/test/arcling.test.js +0 -191
  21. /package/examples/output/{auroracare.n3 → auroracare.txt} +0 -0
  22. /package/examples/output/{bmi.n3 → bmi.txt} +0 -0
  23. /package/examples/output/{calidor.n3 → calidor.txt} +0 -0
  24. /package/examples/output/{control-system.n3 → control-system.txt} +0 -0
  25. /package/examples/output/{deep-taxonomy-10.n3 → deep-taxonomy-10.txt} +0 -0
  26. /package/examples/output/{deep-taxonomy-100.n3 → deep-taxonomy-100.txt} +0 -0
  27. /package/examples/output/{deep-taxonomy-1000.n3 → deep-taxonomy-1000.txt} +0 -0
  28. /package/examples/output/{deep-taxonomy-10000.n3 → deep-taxonomy-10000.txt} +0 -0
  29. /package/examples/output/{deep-taxonomy-100000.n3 → deep-taxonomy-100000.txt} +0 -0
  30. /package/examples/output/{delfour.n3 → delfour.txt} +0 -0
  31. /package/examples/output/{digital-product-passport.n3 → digital-product-passport.txt} +0 -0
  32. /package/examples/output/{easter.n3 → easter.txt} +0 -0
  33. /package/examples/output/{flandor.n3 → flandor.txt} +0 -0
  34. /package/examples/output/{french-cities.n3 → french-cities.txt} +0 -0
  35. /package/examples/output/{genetic-algorithm-knapsack.n3 → genetic-algorithm-knapsack.txt} +0 -0
  36. /package/examples/output/{genetic-algorithm.n3 → genetic-algorithm.txt} +0 -0
  37. /package/examples/output/{gps.n3 → gps.txt} +0 -0
  38. /package/examples/output/{interop-demo.n3 → interop-demo.txt} +0 -0
  39. /package/examples/output/{matrix-mechanics.n3 → matrix-mechanics.txt} +0 -0
  40. /package/examples/output/{medior.n3 → medior.txt} +0 -0
  41. /package/examples/output/{n3-speaks-for-itself.n3 → n3-speaks-for-itself.txt} +0 -0
  42. /package/examples/output/{odrl-dpv-ehds-risk-ranked.n3 → odrl-dpv-ehds-risk-ranked.txt} +0 -0
  43. /package/examples/output/{odrl-dpv-healthcare-risk-ranked.n3 → odrl-dpv-healthcare-risk-ranked.txt} +0 -0
  44. /package/examples/output/{odrl-dpv-risk-ranked.n3 → odrl-dpv-risk-ranked.txt} +0 -0
  45. /package/examples/output/{odrl-risk-mitigation.n3 → odrl-risk-mitigation.txt} +0 -0
  46. /package/examples/output/{odrl-risk.n3 → odrl-risk.txt} +0 -0
  47. /package/examples/output/{parcellocker.n3 → parcellocker.txt} +0 -0
  48. /package/examples/output/{pn-junction-tunneling.n3 → pn-junction-tunneling.txt} +0 -0
  49. /package/examples/output/{resto.n3 → resto.txt} +0 -0
  50. /package/examples/output/{sqrt2-cauchy.n3 → sqrt2-cauchy.txt} +0 -0
  51. /package/examples/output/{sqrt2-dedekind.n3 → sqrt2-dedekind.txt} +0 -0
  52. /package/examples/output/{sudoku.n3 → sudoku.txt} +0 -0
  53. /package/examples/output/{transcendental-numbers-stretched.n3 → transcendental-numbers-stretched.txt} +0 -0
  54. /package/examples/output/{transistor-switch.n3 → transistor-switch.txt} +0 -0
  55. /package/examples/output/{wind-turbine.n3 → wind-turbine.txt} +0 -0
@@ -1,106 +0,0 @@
1
- {
2
- "caseName": "Flandor",
3
- "region": "Flanders",
4
- "question": "Is the Flemish Economic Resilience Board allowed to use a neutral macro-economic insight for regional stabilization, and if so which package should it activate for Flanders?",
5
- "timestamps": {
6
- "createdAt": "2026-04-08T07:00:00+00:00",
7
- "expiresAt": "2026-04-08T19:00:00+00:00",
8
- "authorizedAt": "2026-04-08T09:15:00+00:00",
9
- "dutyPerformedAt": "2026-04-08T18:30:00+00:00"
10
- },
11
- "evaluationContext": {
12
- "scopeDevice": "economic-resilience-board",
13
- "scopeEvent": "budget-prep-window",
14
- "purpose": "regional_stabilization",
15
- "prohibitedReusePurpose": "firm_surveillance"
16
- },
17
- "thresholds": {
18
- "exportOrdersIndexBelow": 90,
19
- "technicalVacancyRatePctAbove": 3.9,
20
- "gridCongestionHoursAbove": 11,
21
- "activeNeedCountAtLeast": 3
22
- },
23
- "signals": {
24
- "clusters": [
25
- {
26
- "id": "cluster:ANT_CHEM",
27
- "name": "Antwerp chemicals",
28
- "exportOrdersIndex": 84,
29
- "energyIntensity": 92
30
- },
31
- {
32
- "id": "cluster:GNT_MFG",
33
- "name": "Ghent manufacturing",
34
- "exportOrdersIndex": 87,
35
- "energyIntensity": 76
36
- }
37
- ],
38
- "labourMarket": {
39
- "technicalVacancyRatePct": 4.6
40
- },
41
- "grid": {
42
- "congestionHours": 19,
43
- "renewableCurtailmentMWh": 240
44
- }
45
- },
46
- "budget": {
47
- "windowName": "Q2 resilience window",
48
- "maxMEUR": 140
49
- },
50
- "packages": [
51
- {
52
- "id": "pkg:TRAIN_070",
53
- "name": "Flanders Skills Sprint",
54
- "costMEUR": 70,
55
- "workerCoverage": 900,
56
- "gridReliefMW": 0,
57
- "coversExportWeakness": false,
58
- "coversSkillsStrain": true,
59
- "coversGridStress": false
60
- },
61
- {
62
- "id": "pkg:PORT_095",
63
- "name": "Schelde Trade Buffer",
64
- "costMEUR": 95,
65
- "workerCoverage": 300,
66
- "gridReliefMW": 10,
67
- "coversExportWeakness": true,
68
- "coversSkillsStrain": false,
69
- "coversGridStress": false
70
- },
71
- {
72
- "id": "pkg:RET_FLEX_120",
73
- "name": "Flandor Retooling Pulse",
74
- "costMEUR": 120,
75
- "workerCoverage": 1200,
76
- "gridReliefMW": 85,
77
- "coversExportWeakness": true,
78
- "coversSkillsStrain": true,
79
- "coversGridStress": true
80
- },
81
- {
82
- "id": "pkg:CORRIDOR_165",
83
- "name": "Full Corridor Shock Shield",
84
- "costMEUR": 165,
85
- "workerCoverage": 1600,
86
- "gridReliefMW": 110,
87
- "coversExportWeakness": true,
88
- "coversSkillsStrain": true,
89
- "coversGridStress": true
90
- }
91
- ],
92
- "insightPolicy": {
93
- "id": "https://example.org/insight/flandor",
94
- "metric": "regional_retooling_priority",
95
- "type": "ins:Insight",
96
- "suggestionPolicy": "lowest_cost_package_covering_all_active_needs",
97
- "policyType": "odrl:Policy",
98
- "policyProfile": "Flandor-Insight-Policy"
99
- },
100
- "integrity": {
101
- "hashAlgorithm": "SHA-256",
102
- "macAlgorithm": "HMAC-SHA-256",
103
- "secret": "flandor-demo-shared-secret",
104
- "verificationMode": "trustedPrecomputedInput"
105
- }
106
- }
@@ -1,98 +0,0 @@
1
- {
2
- "caseName": "Flandor",
3
- "derived": {
4
- "exportWeakness": true,
5
- "skillsStrain": true,
6
- "gridStress": true,
7
- "activeNeedCount": 3,
8
- "needsRetoolingPulse": true,
9
- "eligiblePackageIds": ["pkg:RET_FLEX_120"],
10
- "recommendedPackageId": "pkg:RET_FLEX_120",
11
- "recommendedPackageName": "Flandor Retooling Pulse"
12
- },
13
- "envelope": {
14
- "insight": {
15
- "createdAt": "2026-04-08T07:00:00+00:00",
16
- "expiresAt": "2026-04-08T19:00:00+00:00",
17
- "id": "https://example.org/insight/flandor",
18
- "metric": "regional_retooling_priority",
19
- "region": "Flanders",
20
- "scopeDevice": "economic-resilience-board",
21
- "scopeEvent": "budget-prep-window",
22
- "suggestionPolicy": "lowest_cost_package_covering_all_active_needs",
23
- "threshold": 3,
24
- "type": "ins:Insight"
25
- },
26
- "policy": {
27
- "duty": {
28
- "action": "odrl:delete",
29
- "constraint": {
30
- "leftOperand": "odrl:dateTime",
31
- "operator": "odrl:eq",
32
- "rightOperand": "2026-04-08T19:00:00+00:00"
33
- }
34
- },
35
- "permission": {
36
- "action": "odrl:use",
37
- "constraint": {
38
- "leftOperand": "odrl:purpose",
39
- "operator": "odrl:eq",
40
- "rightOperand": "regional_stabilization"
41
- },
42
- "target": "https://example.org/insight/flandor"
43
- },
44
- "profile": "Flandor-Insight-Policy",
45
- "prohibition": {
46
- "action": "odrl:distribute",
47
- "constraint": {
48
- "leftOperand": "odrl:purpose",
49
- "operator": "odrl:eq",
50
- "rightOperand": "firm_surveillance"
51
- },
52
- "target": "https://example.org/insight/flandor"
53
- },
54
- "type": "odrl:Policy"
55
- }
56
- },
57
- "integrity": {
58
- "canonicalEnvelope": "{\"insight\":{\"createdAt\":\"2026-04-08T07:00:00+00:00\",\"expiresAt\":\"2026-04-08T19:00:00+00:00\",\"id\":\"https://example.org/insight/flandor\",\"metric\":\"regional_retooling_priority\",\"region\":\"Flanders\",\"scopeDevice\":\"economic-resilience-board\",\"scopeEvent\":\"budget-prep-window\",\"suggestionPolicy\":\"lowest_cost_package_covering_all_active_needs\",\"threshold\":3,\"type\":\"ins:Insight\"},\"policy\":{\"duty\":{\"action\":\"odrl:delete\",\"constraint\":{\"leftOperand\":\"odrl:dateTime\",\"operator\":\"odrl:eq\",\"rightOperand\":\"2026-04-08T19:00:00+00:00\"}},\"permission\":{\"action\":\"odrl:use\",\"constraint\":{\"leftOperand\":\"odrl:purpose\",\"operator\":\"odrl:eq\",\"rightOperand\":\"regional_stabilization\"},\"target\":\"https://example.org/insight/flandor\"},\"profile\":\"Flandor-Insight-Policy\",\"prohibition\":{\"action\":\"odrl:distribute\",\"constraint\":{\"leftOperand\":\"odrl:purpose\",\"operator\":\"odrl:eq\",\"rightOperand\":\"firm_surveillance\"},\"target\":\"https://example.org/insight/flandor\"},\"type\":\"odrl:Policy\"}}",
59
- "payloadHashSHA256": "78d840cbc98e98d07d97498e8bc1bab716df0fc0c7c221aeaa86644157cfcfb8",
60
- "envelopeHmacSHA256": "a907547046c46af6550635d786c1ea82c05e8c119c0c302c132eb799710df96e",
61
- "verificationMode": "trustedPrecomputedInput"
62
- },
63
- "answer": {
64
- "name": "Flandor",
65
- "region": "Flanders",
66
- "metric": "regional_retooling_priority",
67
- "activeNeedCount": 3,
68
- "threshold": 3,
69
- "recommendedPackage": "Flandor Retooling Pulse",
70
- "budgetCapMEUR": 140,
71
- "packageCostMEUR": 120,
72
- "payloadHashSHA256": "78d840cbc98e98d07d97498e8bc1bab716df0fc0c7c221aeaa86644157cfcfb8",
73
- "envelopeHmacSHA256": "a907547046c46af6550635d786c1ea82c05e8c119c0c302c132eb799710df96e"
74
- },
75
- "reasonWhy": [
76
- "ExportWeakness holds because at least one cluster has exportOrdersIndex < 90 (Antwerp chemicals=84, Ghent manufacturing=87).",
77
- "SkillsStrain holds because the technical vacancy rate is 4.6% and the threshold is > 3.9%.",
78
- "GridStress holds because congestion hours = 19 and the threshold is > 11.",
79
- "The recommendation rule selects the least-cost package that covers every active need and remains within budget.",
80
- "The selected package is \"Flandor Retooling Pulse\" with cost \u20ac120M, workerCoverage=1200, gridReliefMW=85.",
81
- "Use is permitted only for purpose \"regional_stabilization\" and expires at 2026-04-08T19:00:00+00:00."
82
- ],
83
- "checks": {
84
- "payloadHashMatches": true,
85
- "signatureVerifies": true,
86
- "thresholdReached": true,
87
- "scopeComplete": true,
88
- "minimizationRespected": true,
89
- "authorizationAllowed": true,
90
- "dutyTimely": true,
91
- "surveillanceReuseProhibited": true,
92
- "packageWithinBudget": true,
93
- "packageCoversAllActiveNeeds": true,
94
- "lowestCostEligiblePackageChosen": true
95
- },
96
- "allChecksPass": true,
97
- "arcText": "=== Answer ===\nName: Flandor\nRegion: Flanders\nMetric: regional_retooling_priority\nActive need count: 3/3\nRecommended package: Flandor Retooling Pulse\nBudget cap: \u20ac140M\nPackage cost: \u20ac120M\nPayload SHA-256: 78d840cbc98e98d07d97498e8bc1bab716df0fc0c7c221aeaa86644157cfcfb8\nEnvelope HMAC-SHA-256: a907547046c46af6550635d786c1ea82c05e8c119c0c302c132eb799710df96e\n\n=== Reason Why ===\nExportWeakness holds because at least one cluster has exportOrdersIndex < 90 (Antwerp chemicals=84, Ghent manufacturing=87).\nSkillsStrain holds because the technical vacancy rate is 4.6% and the threshold is > 3.9%.\nGridStress holds because congestion hours = 19 and the threshold is > 11.\nThe recommendation rule selects the least-cost package that covers every active need and remains within budget.\nThe selected package is \"Flandor Retooling Pulse\" with cost \u20ac120M, workerCoverage=1200, gridReliefMW=85.\nUse is permitted only for purpose \"regional_stabilization\" and expires at 2026-04-08T19:00:00+00:00.\n\n=== Check ===\n- PASS: payloadHashMatches\n- PASS: signatureVerifies\n- PASS: thresholdReached\n- PASS: scopeComplete\n- PASS: minimizationRespected\n- PASS: authorizationAllowed\n- PASS: dutyTimely\n- PASS: surveillanceReuseProhibited\n- PASS: packageWithinBudget\n- PASS: packageCoversAllActiveNeeds\n- PASS: lowestCostEligiblePackageChosen"
98
- }