eyeling 1.24.6 → 1.24.8

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 (175) hide show
  1. package/HANDBOOK.md +35 -35
  2. package/dist/browser/eyeling.browser.js +14 -1
  3. package/examples/act-alarm-bit-interoperability.n3 +2 -0
  4. package/examples/act-barley-seed-lineage.n3 +2 -0
  5. package/examples/act-docking-abort.n3 +2 -0
  6. package/examples/act-gravity-mediator-witness.n3 +2 -0
  7. package/examples/act-isolation-breach.n3 +2 -0
  8. package/examples/act-photosynthetic-exciton-transfer.n3 +2 -0
  9. package/examples/act-sensor-memory-reset.n3 +2 -0
  10. package/examples/act-tunnel-junction-wake-switch.n3 +2 -0
  11. package/examples/act-yeast-self-reproduction.n3 +2 -0
  12. package/examples/annotation.n3 +5 -0
  13. package/examples/auroracare.n3 +8 -8
  14. package/examples/backward-recursion.n3 +5 -0
  15. package/examples/barley-seed-becoming.n3 +2 -0
  16. package/examples/bmi.n3 +2 -0
  17. package/examples/builtin-coverage.n3 +5 -0
  18. package/examples/calidor.n3 +3 -3
  19. package/examples/collection.n3 +5 -0
  20. package/examples/complex-matrix-stability.n3 +2 -0
  21. package/examples/context-association.n3 +0 -8
  22. package/examples/control-system.n3 +2 -0
  23. package/examples/deep-taxonomy-10.n3 +2 -0
  24. package/examples/deep-taxonomy-100.n3 +2 -0
  25. package/examples/deep-taxonomy-1000.n3 +2 -0
  26. package/examples/deep-taxonomy-10000.n3 +2 -0
  27. package/examples/deep-taxonomy-100000.n3 +2 -0
  28. package/examples/delfour.n3 +3 -3
  29. package/examples/digital-product-passport.n3 +2 -0
  30. package/examples/dijkstra-risk-path.n3 +1 -2
  31. package/examples/easter.n3 +3 -1
  32. package/examples/eco-route-insight.n3 +1 -2
  33. package/examples/flandor.n3 +3 -3
  34. package/examples/french-cities.n3 +2 -0
  35. package/examples/fundamental-theorem-arithmetic.n3 +2 -0
  36. package/examples/genetic-algorithm-knapsack.n3 +1 -1
  37. package/examples/genetic-algorithm.n3 +1 -1
  38. package/examples/genetic-knapsack-selection.n3 +1 -2
  39. package/examples/gps.n3 +2 -0
  40. package/examples/harborsmr.n3 +2 -0
  41. package/examples/input/rdf-message-flow.trig +10 -10
  42. package/examples/input/rdf-messages.trig +6 -6
  43. package/examples/interop-demo.n3 +3 -1
  44. package/examples/matrix-mechanics.n3 +3 -3
  45. package/examples/medior.n3 +3 -3
  46. package/examples/n3-speaks-for-itself.n3 +5 -0
  47. package/examples/odrl-dpv-ehds-risk-ranked.n3 +1 -1
  48. package/examples/odrl-dpv-healthcare-risk-ranked.n3 +1 -1
  49. package/examples/odrl-dpv-risk-ranked.n3 +1 -1
  50. package/examples/odrl-risk-mitigation.n3 +1 -1
  51. package/examples/odrl-risk.n3 +1 -1
  52. package/examples/output/{act-alarm-bit-interoperability.txt → act-alarm-bit-interoperability.md} +19 -17
  53. package/examples/output/act-barley-seed-lineage.md +27 -0
  54. package/examples/output/{act-docking-abort.txt → act-docking-abort.md} +21 -19
  55. package/examples/output/{act-gravity-mediator-witness.txt → act-gravity-mediator-witness.md} +23 -21
  56. package/examples/output/{act-isolation-breach.txt → act-isolation-breach.md} +26 -24
  57. package/examples/output/{act-photosynthetic-exciton-transfer.txt → act-photosynthetic-exciton-transfer.md} +19 -17
  58. package/examples/output/{act-sensor-memory-reset.txt → act-sensor-memory-reset.md} +19 -17
  59. package/examples/output/{act-tunnel-junction-wake-switch.txt → act-tunnel-junction-wake-switch.md} +20 -18
  60. package/examples/output/{act-yeast-self-reproduction.txt → act-yeast-self-reproduction.md} +22 -20
  61. package/examples/output/annotation.md +1 -0
  62. package/examples/output/auroracare.md +150 -0
  63. package/examples/output/backward-recursion.md +6 -0
  64. package/examples/output/barley-seed-becoming.md +27 -0
  65. package/examples/output/{bmi.txt → bmi.md} +19 -17
  66. package/examples/output/builtin-coverage.md +1 -0
  67. package/examples/output/calidor.md +31 -0
  68. package/examples/output/collection.md +1 -0
  69. package/examples/output/{complex-matrix-stability.txt → complex-matrix-stability.md} +13 -11
  70. package/examples/output/context-association.md +7 -0
  71. package/examples/output/{control-system.txt → control-system.md} +19 -17
  72. package/examples/output/{deep-taxonomy-10.txt → deep-taxonomy-10.md} +14 -12
  73. package/examples/output/{deep-taxonomy-100.txt → deep-taxonomy-100.md} +14 -12
  74. package/examples/output/{deep-taxonomy-1000.txt → deep-taxonomy-1000.md} +14 -12
  75. package/examples/output/{deep-taxonomy-10000.txt → deep-taxonomy-10000.md} +14 -12
  76. package/examples/output/{deep-taxonomy-100000.txt → deep-taxonomy-100000.md} +14 -12
  77. package/examples/output/delfour.md +32 -0
  78. package/examples/output/digital-product-passport.md +3 -0
  79. package/examples/output/dijkstra-risk-path.md +11 -0
  80. package/examples/output/{easter.txt → easter.md} +152 -150
  81. package/examples/output/eco-route-insight.md +20 -0
  82. package/examples/output/flandor.md +33 -0
  83. package/examples/output/{french-cities.txt → french-cities.md} +13 -11
  84. package/examples/output/{fundamental-theorem-arithmetic.txt → fundamental-theorem-arithmetic.md} +14 -12
  85. package/examples/output/genetic-algorithm-knapsack.md +3 -0
  86. package/examples/output/genetic-algorithm.md +3 -0
  87. package/examples/output/genetic-knapsack-selection.md +13 -0
  88. package/examples/output/{gps.txt → gps.md} +14 -12
  89. package/examples/output/harborsmr.md +22 -0
  90. package/examples/output/{interop-demo.txt → interop-demo.md} +3 -1
  91. package/examples/output/matrix-mechanics.md +16 -0
  92. package/examples/output/medior.md +34 -0
  93. package/examples/output/n3-speaks-for-itself.md +54 -0
  94. package/examples/output/{odrl-dpv-ehds-risk-ranked.txt → odrl-dpv-ehds-risk-ranked.md} +16 -15
  95. package/examples/output/{odrl-dpv-healthcare-risk-ranked.txt → odrl-dpv-healthcare-risk-ranked.md} +13 -12
  96. package/examples/output/{odrl-dpv-risk-ranked.txt → odrl-dpv-risk-ranked.md} +17 -16
  97. package/examples/output/{odrl-risk-mitigation.txt → odrl-risk-mitigation.md} +17 -16
  98. package/examples/output/{odrl-risk.txt → odrl-risk.md} +6 -5
  99. package/examples/output/parcellocker.md +22 -0
  100. package/examples/output/pn-junction-tunneling.md +25 -0
  101. package/examples/output/queens.md +23 -0
  102. package/examples/output/{rc-discharge-envelope.txt → rc-discharge-envelope.md} +10 -8
  103. package/examples/output/rdf-dataset.md +7 -0
  104. package/examples/output/rdf-message-flow.md +7 -0
  105. package/examples/output/rdf-messages.md +7 -0
  106. package/examples/output/{resto.txt → resto.md} +19 -17
  107. package/examples/output/school-placement-audit.md +11 -0
  108. package/examples/output/smoke-arithmetic.md +7 -0
  109. package/examples/output/sqrt2-cauchy.md +15 -0
  110. package/examples/output/sqrt2-dedekind.md +33 -0
  111. package/examples/output/{sudoku.txt → sudoku.md} +45 -43
  112. package/examples/output/transcendental-numbers-stretched.md +262 -0
  113. package/examples/output/transistor-switch.md +26 -0
  114. package/examples/output/triple-terms.md +7 -0
  115. package/examples/output/{tunnel-junction-wake-switch-becoming.txt → tunnel-junction-wake-switch-becoming.md} +20 -18
  116. package/examples/output/{wind-turbine.txt → wind-turbine.md} +17 -15
  117. package/examples/parcellocker.n3 +2 -0
  118. package/examples/pn-junction-tunneling.n3 +3 -3
  119. package/examples/queens.n3 +1 -0
  120. package/examples/rc-discharge-envelope.n3 +1 -1
  121. package/examples/rdf-dataset.n3 +5 -0
  122. package/examples/rdf-message-flow.n3 +1 -2
  123. package/examples/rdf-messages.n3 +1 -2
  124. package/examples/resto.n3 +2 -0
  125. package/examples/school-placement-audit.n3 +1 -2
  126. package/examples/smoke-arithmetic.n3 +1 -1
  127. package/examples/sqrt2-cauchy.n3 +2 -0
  128. package/examples/sqrt2-dedekind.n3 +2 -0
  129. package/examples/sudoku.n3 +14 -14
  130. package/examples/transcendental-numbers-stretched.n3 +5 -0
  131. package/examples/transistor-switch.n3 +3 -3
  132. package/examples/triple-terms.n3 +5 -0
  133. package/examples/tunnel-junction-wake-switch-becoming.n3 +2 -0
  134. package/examples/wind-turbine.n3 +2 -0
  135. package/eyeling.js +14 -1
  136. package/lib/explain.js +14 -1
  137. package/package.json +1 -1
  138. package/test/examples.test.js +44 -13
  139. package/test/package.test.js +43 -7
  140. package/examples/output/act-barley-seed-lineage.txt +0 -25
  141. package/examples/output/annotation.n3 +0 -0
  142. package/examples/output/auroracare.txt +0 -149
  143. package/examples/output/backward-recursion.n3 +0 -4
  144. package/examples/output/barley-seed-becoming.txt +0 -25
  145. package/examples/output/builtin-coverage.n3 +0 -0
  146. package/examples/output/calidor.txt +0 -29
  147. package/examples/output/collection.n3 +0 -0
  148. package/examples/output/context-association.n3 +0 -9
  149. package/examples/output/delfour.txt +0 -30
  150. package/examples/output/digital-product-passport.txt +0 -1
  151. package/examples/output/dijkstra-risk-path.n3 +0 -3
  152. package/examples/output/eco-route-insight.n3 +0 -3
  153. package/examples/output/flandor.txt +0 -31
  154. package/examples/output/genetic-algorithm-knapsack.txt +0 -1
  155. package/examples/output/genetic-algorithm.txt +0 -1
  156. package/examples/output/genetic-knapsack-selection.n3 +0 -3
  157. package/examples/output/harborsmr.txt +0 -20
  158. package/examples/output/matrix-mechanics.txt +0 -14
  159. package/examples/output/medior.txt +0 -32
  160. package/examples/output/n3-speaks-for-itself.txt +0 -52
  161. package/examples/output/parcellocker.txt +0 -20
  162. package/examples/output/pn-junction-tunneling.txt +0 -23
  163. package/examples/output/queens.txt +0 -21
  164. package/examples/output/rc-discharge-envelope.n3 +0 -9
  165. package/examples/output/rdf-dataset.n3 +0 -5
  166. package/examples/output/rdf-message-flow.n3 +0 -7
  167. package/examples/output/rdf-messages.n3 +0 -7
  168. package/examples/output/school-placement-audit.n3 +0 -3
  169. package/examples/output/smoke-arithmetic.n3 +0 -5
  170. package/examples/output/smoke-arithmetic.txt +0 -5
  171. package/examples/output/sqrt2-cauchy.txt +0 -13
  172. package/examples/output/sqrt2-dedekind.txt +0 -31
  173. package/examples/output/transcendental-numbers-stretched.txt +0 -260
  174. package/examples/output/transistor-switch.txt +0 -24
  175. package/examples/output/triple-terms.n3 +0 -5
package/HANDBOOK.md CHANGED
@@ -3310,54 +3310,54 @@ The following examples are especially useful if you want to see Eyeling files th
3310
3310
 
3311
3311
  #### Insight Economy and governed-data cases
3312
3312
 
3313
- - [`examples/auroracare.n3`](examples/auroracare.n3) · [`examples/output/auroracare.txt`](examples/output/auroracare.txt) — purpose-based medical data exchange with explicit allow/deny reasoning and checks around role, purpose, and conditions.
3314
- - [`examples/calidor.n3`](examples/calidor.n3) · [`examples/output/calidor.txt`](examples/output/calidor.txt) — heatwave-response case where private household signals become a narrow, expiring cooling-support insight.
3315
- - [`examples/delfour.n3`](examples/delfour.n3) · [`examples/output/delfour.txt`](examples/output/delfour.txt) — shopping-assistance case where a private condition becomes a bounded “prefer lower-sugar products” insight.
3316
- - [`examples/flandor.n3`](examples/flandor.n3) · [`examples/output/flandor.txt`](examples/output/flandor.txt) — macro-economic coordination case for Flanders that turns sensitive local signals into a regional retooling insight.
3317
- - [`examples/medior.n3`](examples/medior.n3) · [`examples/output/medior.txt`](examples/output/medior.txt) — post-discharge care-coordination case that derives a minimal continuity-bundle insight without sharing the full record.
3318
- - [`examples/parcellocker.n3`](examples/parcellocker.n3) · [`examples/output/parcellocker.txt`](examples/output/parcellocker.txt) — one-time parcel pickup authorization with a clear permit decision, justification, and misuse checks.
3319
- - [`examples/harborsmr.n3`](examples/harborsmr.n3) · [`examples/output/harborsmr.txt`](examples/output/harborsmr.txt) — SMR flexibility case where private plant telemetry becomes a narrow, expiring electrolysis-dispatch insight with policy and safety checks.
3313
+ - [`examples/auroracare.n3`](examples/auroracare.n3) · [`examples/output/auroracare.md`](examples/output/auroracare.md) — purpose-based medical data exchange with explicit allow/deny reasoning and checks around role, purpose, and conditions.
3314
+ - [`examples/calidor.n3`](examples/calidor.n3) · [`examples/output/calidor.md`](examples/output/calidor.md) — heatwave-response case where private household signals become a narrow, expiring cooling-support insight.
3315
+ - [`examples/delfour.n3`](examples/delfour.n3) · [`examples/output/delfour.md`](examples/output/delfour.md) — shopping-assistance case where a private condition becomes a bounded “prefer lower-sugar products” insight.
3316
+ - [`examples/flandor.n3`](examples/flandor.n3) · [`examples/output/flandor.md`](examples/output/flandor.md) — macro-economic coordination case for Flanders that turns sensitive local signals into a regional retooling insight.
3317
+ - [`examples/medior.n3`](examples/medior.n3) · [`examples/output/medior.md`](examples/output/medior.md) — post-discharge care-coordination case that derives a minimal continuity-bundle insight without sharing the full record.
3318
+ - [`examples/parcellocker.n3`](examples/parcellocker.n3) · [`examples/output/parcellocker.md`](examples/output/parcellocker.md) — one-time parcel pickup authorization with a clear permit decision, justification, and misuse checks.
3319
+ - [`examples/harborsmr.n3`](examples/harborsmr.n3) · [`examples/output/harborsmr.md`](examples/output/harborsmr.md) — SMR flexibility case where private plant telemetry becomes a narrow, expiring electrolysis-dispatch insight with policy and safety checks.
3320
3320
 
3321
- - [`examples/transistor-switch.n3`](examples/transistor-switch.n3) · [`examples/output/transistor-switch.txt`](examples/output/transistor-switch.txt) — NPN low-side switch model with exact arithmetic and cutoff-versus-saturation checks.
3321
+ - [`examples/transistor-switch.n3`](examples/transistor-switch.n3) · [`examples/output/transistor-switch.md`](examples/output/transistor-switch.md) — NPN low-side switch model with exact arithmetic and cutoff-versus-saturation checks.
3322
3322
 
3323
3323
  #### Core ARC-style walkthroughs
3324
3324
 
3325
- - [`examples/bmi.n3`](examples/bmi.n3) · [`examples/output/bmi.txt`](examples/output/bmi.txt) — Body Mass Index calculation with normalization, WHO category assignment, and boundary checks.
3326
- - [`examples/control-system.n3`](examples/control-system.n3) · [`examples/output/control-system.txt`](examples/output/control-system.txt) — small control-system example that derives actuator commands and explains feedforward and feedback contributions.
3327
- - [`examples/easter.n3`](examples/easter.n3) · [`examples/output/easter.txt`](examples/output/easter.txt) — Gregorian Easter computus with a readable explanation and date-window checks.
3328
- - [`examples/french-cities.n3`](examples/french-cities.n3) · [`examples/output/french-cities.txt`](examples/output/french-cities.txt) — graph reachability over French cities with explicit path reasoning.
3329
- - [`examples/gps.n3`](examples/gps.n3) · [`examples/output/gps.txt`](examples/output/gps.txt) — tiny route-planning example for western Belgium with route comparison and metric checks.
3330
- - [`examples/resto.n3`](examples/resto.n3) · [`examples/output/resto.txt`](examples/output/resto.txt) — RESTdesc-style service composition from person and date to a concrete restaurant reservation.
3331
- - [`examples/sudoku.n3`](examples/sudoku.n3) · [`examples/output/sudoku.txt`](examples/output/sudoku.txt) — Sudoku solver and report generator with consistency checks over the solved grid.
3332
- - [`examples/wind-turbine.n3`](examples/wind-turbine.n3) · [`examples/output/wind-turbine.txt`](examples/output/wind-turbine.txt) — predictive-maintenance example that turns sensor readings into an auditable inspection decision.
3325
+ - [`examples/bmi.n3`](examples/bmi.n3) · [`examples/output/bmi.md`](examples/output/bmi.md) — Body Mass Index calculation with normalization, WHO category assignment, and boundary checks.
3326
+ - [`examples/control-system.n3`](examples/control-system.n3) · [`examples/output/control-system.md`](examples/output/control-system.md) — small control-system example that derives actuator commands and explains feedforward and feedback contributions.
3327
+ - [`examples/easter.n3`](examples/easter.n3) · [`examples/output/easter.md`](examples/output/easter.md) — Gregorian Easter computus with a readable explanation and date-window checks.
3328
+ - [`examples/french-cities.n3`](examples/french-cities.n3) · [`examples/output/french-cities.md`](examples/output/french-cities.md) — graph reachability over French cities with explicit path reasoning.
3329
+ - [`examples/gps.n3`](examples/gps.n3) · [`examples/output/gps.md`](examples/output/gps.md) — tiny route-planning example for western Belgium with route comparison and metric checks.
3330
+ - [`examples/resto.n3`](examples/resto.n3) · [`examples/output/resto.md`](examples/output/resto.md) — RESTdesc-style service composition from person and date to a concrete restaurant reservation.
3331
+ - [`examples/sudoku.n3`](examples/sudoku.n3) · [`examples/output/sudoku.md`](examples/output/sudoku.md) — Sudoku solver and report generator with consistency checks over the solved grid.
3332
+ - [`examples/wind-turbine.n3`](examples/wind-turbine.n3) · [`examples/output/wind-turbine.md`](examples/output/wind-turbine.md) — predictive-maintenance example that turns sensor readings into an auditable inspection decision.
3333
3333
 
3334
3334
  #### Technical and scientific ARC demos
3335
3335
 
3336
- - [`examples/fundamental-theorem-arithmetic.n3`](examples/fundamental-theorem-arithmetic.n3) · [`examples/output/fundamental-theorem-arithmetic.txt`](examples/output/fundamental-theorem-arithmetic.txt) — smallest-divisor prime factorization of 202692987 with ARC-style existence, uniqueness-up-to-order, and primality checks.
3337
- - [`examples/complex-matrix-stability.n3`](examples/complex-matrix-stability.n3) · [`examples/output/complex-matrix-stability.txt`](examples/output/complex-matrix-stability.txt) — discrete-time stability classification for three diagonal complex 2×2 matrices via spectral radius and ARC-style checks.
3338
- - [`examples/matrix-mechanics.n3`](examples/matrix-mechanics.n3) · [`examples/output/matrix-mechanics.txt`](examples/output/matrix-mechanics.txt) — small 2×2 matrix example deriving trace, determinant, products, and a non-zero commutator.
3339
- - [`examples/pn-junction-tunneling.n3`](examples/pn-junction-tunneling.n3) · [`examples/output/pn-junction-tunneling.txt`](examples/output/pn-junction-tunneling.txt) — semiconductor toy model that explains current-proxy behavior across bias points.
3340
- - [`examples/transistor-switch.n3`](examples/transistor-switch.n3) · [`examples/output/transistor-switch.txt`](examples/output/transistor-switch.txt) — NPN low-side switch model with exact arithmetic and cutoff-versus-saturation checks.
3336
+ - [`examples/fundamental-theorem-arithmetic.n3`](examples/fundamental-theorem-arithmetic.n3) · [`examples/output/fundamental-theorem-arithmetic.md`](examples/output/fundamental-theorem-arithmetic.md) — smallest-divisor prime factorization of 202692987 with ARC-style existence, uniqueness-up-to-order, and primality checks.
3337
+ - [`examples/complex-matrix-stability.n3`](examples/complex-matrix-stability.n3) · [`examples/output/complex-matrix-stability.md`](examples/output/complex-matrix-stability.md) — discrete-time stability classification for three diagonal complex 2×2 matrices via spectral radius and ARC-style checks.
3338
+ - [`examples/matrix-mechanics.n3`](examples/matrix-mechanics.n3) · [`examples/output/matrix-mechanics.md`](examples/output/matrix-mechanics.md) — small 2×2 matrix example deriving trace, determinant, products, and a non-zero commutator.
3339
+ - [`examples/pn-junction-tunneling.n3`](examples/pn-junction-tunneling.n3) · [`examples/output/pn-junction-tunneling.md`](examples/output/pn-junction-tunneling.md) — semiconductor toy model that explains current-proxy behavior across bias points.
3340
+ - [`examples/transistor-switch.n3`](examples/transistor-switch.n3) · [`examples/output/transistor-switch.md`](examples/output/transistor-switch.md) — NPN low-side switch model with exact arithmetic and cutoff-versus-saturation checks.
3341
3341
 
3342
3342
  #### Applied Constructor-Theory ARC examples
3343
3343
 
3344
- - [`examples/act-alarm-bit-interoperability.n3`](examples/act-alarm-bit-interoperability.n3) · [`examples/output/act-alarm-bit-interoperability.txt`](examples/output/act-alarm-bit-interoperability.txt) — applied constructor-theory information example showing interoperability of an alarm bit across unlike media together with a no-cloning contrast for a quantum token.
3345
- - [`examples/act-docking-abort.n3`](examples/act-docking-abort.n3) · [`examples/output/act-docking-abort.txt`](examples/output/act-docking-abort.txt) — applied constructor-theory ARC case for a spacecraft docking-abort token covering permutation, copying, measurement, serial and parallel composition, and the impossibility of cloning a quantum seal.
3346
- - [`examples/act-isolation-breach.n3`](examples/act-isolation-breach.n3) · [`examples/output/act-isolation-breach.txt`](examples/output/act-isolation-breach.txt) — applied constructor-theory ARC case for a biosafety isolation-breach token covering preparation, distinguishability, reversible permutation, copying, measurement, composition, and no-cloning.
3347
- - [`examples/act-gravity-mediator-witness.n3`](examples/act-gravity-mediator-witness.n3) · [`examples/output/act-gravity-mediator-witness.txt`](examples/output/act-gravity-mediator-witness.txt) — applied constructor-theory witness showing that, under locality and interoperability, entanglement mediated only by gravity implies a non-classical gravitational mediator.
3348
- - ['examples/act-yeast-self-reproduction.n3'](examples/act-yeast-self-reproduction.n3) · ['examples/output/act-yeast-self-reproduction.txt'](examples/output/act-yeast-self-reproduction.txt) — applied constructor-theory example of a yeast starter culture showing replicator, vehicle, self-reproduction, heritable variation, and natural selection under no-design laws.
3349
- - ['examples/act-barley-seed-lineage.n3'](examples/act-barley-seed-lineage.n3) · ['examples/output/act-barley-seed-lineage.txt'](examples/output/act-barley-seed-lineage.txt) — applied constructor-theory ARC case showing both possible and impossible lineage tasks under no-design laws, including blocked reproduction, dormancy, and evolvability when key ingredients are missing.
3350
- - ['examples/act-tunnel-junction-wake-switch.n3'](examples/act-tunnel-junction-wake-switch.n3) · ['examples/output/act-tunnel-junction-wake-switch.txt'](examples/output/act-tunnel-junction-wake-switch.txt) — applied constructor-theory ARC case comparing a tunnel-junction wake switch with a conventional PN junction via explicit can/cannot rules for tunneling, sub-threshold current, negative differential response, and low-bias switching.
3351
- - ['examples/act-photosynthetic-exciton-transfer.n3'](examples/act-photosynthetic-exciton-transfer.n3) · ['examples/output/act-photosynthetic-exciton-transfer.txt'](examples/output/act-photosynthetic-exciton-transfer.txt) — applied constructor-theory ARC case for quantum-assisted exciton transfer in a photosynthetic antenna, contrasting a tuned complex with a detuned one via explicit can/cannot rules.
3352
- - ['examples/act-sensor-memory-reset.n3'](examples/act-sensor-memory-reset.n3) · ['examples/output/act-sensor-memory-reset.txt'](examples/output/act-sensor-memory-reset.txt) — applied constructor-theory ARC case showing that a sensor memory reset is possible with a work medium but not with heat alone, highlighting work/heat distinction and irreversibility.
3344
+ - [`examples/act-alarm-bit-interoperability.n3`](examples/act-alarm-bit-interoperability.n3) · [`examples/output/act-alarm-bit-interoperability.md`](examples/output/act-alarm-bit-interoperability.md) — applied constructor-theory information example showing interoperability of an alarm bit across unlike media together with a no-cloning contrast for a quantum token.
3345
+ - [`examples/act-docking-abort.n3`](examples/act-docking-abort.n3) · [`examples/output/act-docking-abort.md`](examples/output/act-docking-abort.md) — applied constructor-theory ARC case for a spacecraft docking-abort token covering permutation, copying, measurement, serial and parallel composition, and the impossibility of cloning a quantum seal.
3346
+ - [`examples/act-isolation-breach.n3`](examples/act-isolation-breach.n3) · [`examples/output/act-isolation-breach.md`](examples/output/act-isolation-breach.md) — applied constructor-theory ARC case for a biosafety isolation-breach token covering preparation, distinguishability, reversible permutation, copying, measurement, composition, and no-cloning.
3347
+ - [`examples/act-gravity-mediator-witness.n3`](examples/act-gravity-mediator-witness.n3) · [`examples/output/act-gravity-mediator-witness.md`](examples/output/act-gravity-mediator-witness.md) — applied constructor-theory witness showing that, under locality and interoperability, entanglement mediated only by gravity implies a non-classical gravitational mediator.
3348
+ - ['examples/act-yeast-self-reproduction.n3'](examples/act-yeast-self-reproduction.n3) · ['examples/output/act-yeast-self-reproduction.md'](examples/output/act-yeast-self-reproduction.md) — applied constructor-theory example of a yeast starter culture showing replicator, vehicle, self-reproduction, heritable variation, and natural selection under no-design laws.
3349
+ - ['examples/act-barley-seed-lineage.n3'](examples/act-barley-seed-lineage.n3) · ['examples/output/act-barley-seed-lineage.md'](examples/output/act-barley-seed-lineage.md) — applied constructor-theory ARC case showing both possible and impossible lineage tasks under no-design laws, including blocked reproduction, dormancy, and evolvability when key ingredients are missing.
3350
+ - ['examples/act-tunnel-junction-wake-switch.n3'](examples/act-tunnel-junction-wake-switch.n3) · ['examples/output/act-tunnel-junction-wake-switch.md'](examples/output/act-tunnel-junction-wake-switch.md) — applied constructor-theory ARC case comparing a tunnel-junction wake switch with a conventional PN junction via explicit can/cannot rules for tunneling, sub-threshold current, negative differential response, and low-bias switching.
3351
+ - ['examples/act-photosynthetic-exciton-transfer.n3'](examples/act-photosynthetic-exciton-transfer.n3) · ['examples/output/act-photosynthetic-exciton-transfer.md'](examples/output/act-photosynthetic-exciton-transfer.md) — applied constructor-theory ARC case for quantum-assisted exciton transfer in a photosynthetic antenna, contrasting a tuned complex with a detuned one via explicit can/cannot rules.
3352
+ - ['examples/act-sensor-memory-reset.n3'](examples/act-sensor-memory-reset.n3) · ['examples/output/act-sensor-memory-reset.md'](examples/output/act-sensor-memory-reset.md) — applied constructor-theory ARC case showing that a sensor memory reset is possible with a work medium but not with heat alone, highlighting work/heat distinction and irreversibility.
3353
3353
 
3354
3354
  #### Deep-classification stress tests
3355
3355
 
3356
- - [`examples/deep-taxonomy-10.n3`](examples/deep-taxonomy-10.n3) · [`examples/output/deep-taxonomy-10.txt`](examples/output/deep-taxonomy-10.txt) — ARC-style deep-taxonomy benchmark at depth 10.
3357
- - [`examples/deep-taxonomy-100.n3`](examples/deep-taxonomy-100.n3) · [`examples/output/deep-taxonomy-100.txt`](examples/output/deep-taxonomy-100.txt) — ARC-style deep-taxonomy benchmark at depth 100.
3358
- - [`examples/deep-taxonomy-1000.n3`](examples/deep-taxonomy-1000.n3) · [`examples/output/deep-taxonomy-1000.txt`](examples/output/deep-taxonomy-1000.txt) — ARC-style deep-taxonomy benchmark at depth 1000.
3359
- - [`examples/deep-taxonomy-10000.n3`](examples/deep-taxonomy-10000.n3) · [`examples/output/deep-taxonomy-10000.txt`](examples/output/deep-taxonomy-10000.txt) — ARC-style deep-taxonomy benchmark at depth 10000.
3360
- - [`examples/deep-taxonomy-100000.n3`](examples/deep-taxonomy-100000.n3) · [`examples/output/deep-taxonomy-100000.txt`](examples/output/deep-taxonomy-100000.txt) — ARC-style deep-taxonomy benchmark at depth 100000.
3356
+ - [`examples/deep-taxonomy-10.n3`](examples/deep-taxonomy-10.n3) · [`examples/output/deep-taxonomy-10.md`](examples/output/deep-taxonomy-10.md) — ARC-style deep-taxonomy benchmark at depth 10.
3357
+ - [`examples/deep-taxonomy-100.n3`](examples/deep-taxonomy-100.n3) · [`examples/output/deep-taxonomy-100.md`](examples/output/deep-taxonomy-100.md) — ARC-style deep-taxonomy benchmark at depth 100.
3358
+ - [`examples/deep-taxonomy-1000.n3`](examples/deep-taxonomy-1000.n3) · [`examples/output/deep-taxonomy-1000.md`](examples/output/deep-taxonomy-1000.md) — ARC-style deep-taxonomy benchmark at depth 1000.
3359
+ - [`examples/deep-taxonomy-10000.n3`](examples/deep-taxonomy-10000.n3) · [`examples/output/deep-taxonomy-10000.md`](examples/output/deep-taxonomy-10000.md) — ARC-style deep-taxonomy benchmark at depth 10000.
3360
+ - [`examples/deep-taxonomy-100000.n3`](examples/deep-taxonomy-100000.n3) · [`examples/output/deep-taxonomy-100000.md`](examples/output/deep-taxonomy-100000.md) — ARC-style deep-taxonomy benchmark at depth 100000.
3361
3361
 
3362
3362
  These files fit together because they all present reasoning in a recognizably ARC-like way: they derive an answer, make the reason visible in a compact report, and include checks that are meant to catch real mistakes. Some are classical logic or numeric examples; others show how Eyeling can express policy-aware, insight-oriented decision flows without collapsing everything into opaque application code.
3363
3363
 
@@ -9209,6 +9209,19 @@ function makeExplain(deps) {
9209
9209
  return 0;
9210
9210
  }
9211
9211
 
9212
+ function addMarkdownHardBreaks(text) {
9213
+ const normalized = String(text).replace(/\r\n/g, '\n').replace(/\r/g, '\n');
9214
+ if (!normalized.startsWith('# ')) return text;
9215
+
9216
+ return normalized
9217
+ .split('\n')
9218
+ .map((line) => {
9219
+ if (line.length === 0) return line;
9220
+ return line.replace(/[ \t]+$/g, '') + ' ';
9221
+ })
9222
+ .join('\n');
9223
+ }
9224
+
9212
9225
  function collectOutputStringsFromFacts(facts, prefixes) {
9213
9226
  // Gather all (key, string) pairs from the saturated fact store.
9214
9227
  const pairs = [];
@@ -9229,7 +9242,7 @@ function makeExplain(deps) {
9229
9242
  return a.idx - b.idx; // stable tie-breaker
9230
9243
  });
9231
9244
 
9232
- return pairs.map((p) => p.text).join('');
9245
+ return addMarkdownHardBreaks(pairs.map((p) => p.text).join(''));
9233
9246
  }
9234
9247
 
9235
9248
  return { printExplanation, collectOutputStringsFromFacts };
@@ -15,6 +15,8 @@
15
15
  @prefix arc: <https://example.org/arc#> .
16
16
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
17
17
 
18
+ :000_md_title log:outputString "# act-alarm-bit-interoperability\n\n" .
19
+
18
20
  :case a arc:Case ;
19
21
  arc:question "Can the harbor alarm bit be copied between an optical beacon and a relay register, and what exactly can't be done for a quantum-like token?" .
20
22
 
@@ -22,6 +22,8 @@
22
22
  @prefix arc: <https://example.org/arc#> .
23
23
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
24
24
 
25
+ :000_md_title log:outputString "# act-barley-seed-lineage\n\n" .
26
+
25
27
  :case a arc:Case ;
26
28
  arc:question "Can a barley seed lineage achieve accurate self-reproduction, dormancy, development, and adaptive persistence under no-design laws — and what exactly can't happen when key ingredients are missing?" .
27
29
 
@@ -16,6 +16,8 @@
16
16
  @prefix arc: <https://example.org/arc#> .
17
17
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
18
18
 
19
+ :000_md_title log:outputString "# act-docking-abort\n\n" .
20
+
19
21
  :case a arc:Case ;
20
22
  arc:question "Can a docking-abort token be propagated, permuted, measured and audited across unlike classical media, and what exactly can't be done with the quantum authenticity seal?" .
21
23
 
@@ -16,6 +16,8 @@
16
16
  @prefix arc: <https://example.org/arc#> .
17
17
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
18
18
 
19
+ :000_md_title log:outputString "# act-gravity-mediator-witness\n\n" .
20
+
19
21
  :case a arc:Case ;
20
22
  arc:question "If two quantum sensors become entangled only through a gravitational mediator, while locality and interoperability hold, what can be concluded, and what can't a purely classical mediator model do?" .
21
23
 
@@ -17,6 +17,8 @@
17
17
  @prefix arc: <https://example.org/arc#> .
18
18
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
19
19
 
20
+ :000_md_title log:outputString "# act-isolation-breach\n\n" .
21
+
20
22
  :case a arc:Case ;
21
23
  arc:question "Can an isolation-breach token be prepared, permuted, copied, measured, and audited across unlike classical media, and what exactly can't be done with the quantum provenance seal?" .
22
24
 
@@ -22,6 +22,8 @@
22
22
  @prefix arc: <https://example.org/arc#> .
23
23
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
24
24
 
25
+ :000_md_title log:outputString "# act-photosynthetic-exciton-transfer\n\n" .
26
+
25
27
  :case a arc:Case ;
26
28
  arc:question "Can a tuned photosynthetic antenna deliver excitation efficiently to a reaction center by short-lived quantum-assisted transfer, while a detuned contrast complex cannot?" .
27
29
 
@@ -19,6 +19,8 @@
19
19
  @prefix arc: <https://example.org/arc#> .
20
20
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
21
21
 
22
+ :000_md_title log:outputString "# act-sensor-memory-reset\n\n" .
23
+
22
24
  :case a arc:Case ;
23
25
  arc:question "Can a radiation sensor's alarm memory be reliably reset with a battery pack, and can the same reset be done using only an ambient heat bath?" .
24
26
 
@@ -18,6 +18,8 @@
18
18
  @prefix arc: <https://example.org/arc#> .
19
19
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
20
20
 
21
+ :000_md_title log:outputString "# act-tunnel-junction-wake-switch\n\n" .
22
+
21
23
  :case a arc:Case ;
22
24
  arc:question "Can a tunnel-junction wake switch trigger a low-bias leak alarm in a regime where a conventional PN junction cannot?" .
23
25
 
@@ -19,6 +19,8 @@
19
19
  @prefix arc: <https://example.org/arc#> .
20
20
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
21
21
 
22
+ :000_md_title log:outputString "# act-yeast-self-reproduction\n\n" .
23
+
22
24
  :case a arc:Case ;
23
25
  arc:question "Can a yeast starter culture self-reproduce accurately under no-design laws, and what exactly can't happen for a non-digital contrast lineage?" .
24
26
 
@@ -5,3 +5,8 @@
5
5
  :t log:nameOf { :a :name "Alice" . } .
6
6
  :t :statedBy :bob .
7
7
  :t :recorded "2021-07-07"^^xsd:date .
8
+
9
+
10
+ # Markdown rendering via log:outputString.
11
+ :__md_output :text "# annotation\n" .
12
+ { :__md_output :text ?text } log:query { :__md_output log:outputString ?text } .
@@ -350,10 +350,10 @@
350
350
  # Emit one complete output block per scenario to avoid ordering issues between
351
351
  # separately derived log:outputString facts.
352
352
 
353
- :out_000_intro log:outputString "AuroraCare — Purpose-based Medical Data Exchange\n\n" .
353
+ :out_000_intro log:outputString "# auroracare\n\nAuroraCare — Purpose-based Medical Data Exchange\n\n" .
354
354
 
355
355
  { :scenario_A :decision "PERMIT" . } => {
356
- :out_010_A log:outputString """=== A – Primary care visit ===
356
+ :out_010_A log:outputString """## A – Primary care visit
357
357
  Clinician in the patient's care team accessing the patient summary for primary care management.
358
358
 
359
359
  Answer
@@ -378,7 +378,7 @@ C10 INFO - matched policy: urn:policy:primary-care-001
378
378
  } .
379
379
 
380
380
  { :scenario_B :decision "PERMIT" . } => {
381
- :out_020_B log:outputString """=== B – Quality improvement (in scope) ===
381
+ :out_020_B log:outputString """## B – Quality improvement (in scope)
382
382
  QI analyst using lab results + summary in a secure environment.
383
383
 
384
384
  Answer
@@ -403,7 +403,7 @@ C10 INFO - matched policy: urn:policy:qi-2025-aurora
403
403
  } .
404
404
 
405
405
  { :scenario_C :decision "DENY" . } => {
406
- :out_030_C log:outputString """=== C – Quality improvement (out of scope) ===
406
+ :out_030_C log:outputString """## C – Quality improvement (out of scope)
407
407
  QI analyst with only lab results; policy expects labs + summary.
408
408
 
409
409
  Answer
@@ -428,7 +428,7 @@ C10 SKIPPED - no matched policy
428
428
  } .
429
429
 
430
430
  { :scenario_D :decision "DENY" . } => {
431
- :out_040_D log:outputString """=== D – Insurance management ===
431
+ :out_040_D log:outputString """## D – Insurance management
432
432
  Insurance bot attempting to use health data for insurance management (prohibited purpose).
433
433
 
434
434
  Answer
@@ -453,7 +453,7 @@ C10 SKIPPED - no matched policy
453
453
  } .
454
454
 
455
455
  { :scenario_E :decision "PERMIT" . } => {
456
- :out_050_E log:outputString """=== E – GP checks labs ===
456
+ :out_050_E log:outputString """## E – GP checks labs
457
457
  GP for the same patient checking lab results via the API gateway.
458
458
 
459
459
  Answer
@@ -478,7 +478,7 @@ C10 INFO - matched policy: urn:policy:primary-care-001
478
478
  } .
479
479
 
480
480
  { :scenario_F :decision "PERMIT" . } => {
481
- :out_060_F log:outputString """=== F – Research on anonymised dataset ===
481
+ :out_060_F log:outputString """## F – Research on anonymised dataset
482
482
  Researcher using anonymised labs + summary in a secure environment, with opt-in.
483
483
 
484
484
  Answer
@@ -503,7 +503,7 @@ C10 INFO - matched policy: urn:policy:research-aurora-diabetes
503
503
  } .
504
504
 
505
505
  { :scenario_G :decision "DENY" . } => {
506
- :out_070_G log:outputString """=== G – AI training (opt-out) ===
506
+ :out_070_G log:outputString """## G – AI training (opt-out)
507
507
  Data user wants to train AI, but the subject opted out of AI training.
508
508
 
509
509
  Answer
@@ -8,3 +8,8 @@
8
8
 
9
9
  { :a :ancestor ?who } => { :a :reaches ?who }.
10
10
  { :a :reaches ?who } log:query { :a :reaches ?who }.
11
+
12
+
13
+ # Markdown rendering via log:outputString.
14
+ :__md_output :text "# backward-recursion\n\n@prefix : <urn:example#> .\n\n:a :reaches :b .\n:a :reaches :c .\n" .
15
+ { :__md_output :text ?text } log:query { :__md_output log:outputString ?text } .
@@ -21,6 +21,8 @@
21
21
  @prefix arc: <https://example.org/arc#> .
22
22
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
23
23
 
24
+ :000_md_title log:outputString "# barley-seed-becoming\n\n" .
25
+
24
26
  :case a arc:Case ;
25
27
  arc:question "Can a barley seed lineage become a self-renewing and adaptively persistent cycle under no-design laws — and what blocks that becoming when digital heredity, repair, protected dormancy, or variation are missing?" .
26
28
 
package/examples/bmi.n3 CHANGED
@@ -15,6 +15,8 @@
15
15
  @prefix math: <http://www.w3.org/2000/10/swap/math#> .
16
16
  @prefix string: <http://www.w3.org/2000/10/swap/string#> .
17
17
 
18
+ :000_md_title log:outputString "# bmi\n\n" .
19
+
18
20
  # --------------
19
21
  # Editable input
20
22
  # --------------
@@ -66,3 +66,8 @@
66
66
  }.
67
67
 
68
68
  { :assurance ?p ?o } log:query { :assurance ?p ?o }.
69
+
70
+
71
+ # Markdown rendering via log:outputString.
72
+ :__md_output :text "# builtin-coverage\n" .
73
+ { :__md_output :text ?text } log:query { :__md_output log:outputString ?text } .
@@ -419,7 +419,7 @@
419
419
  # ARC rendering through log:outputString
420
420
  # --------------------------------------
421
421
 
422
- :out01 log:outputString "=== Answer ===\n" .
422
+ :out01 log:outputString "# calidor\n\n## Answer\n" .
423
423
 
424
424
  {
425
425
  :case :recommendedPackage ?pkg .
@@ -441,7 +441,7 @@
441
441
  :out06 log:outputString ?line .
442
442
  } .
443
443
 
444
- :out07 log:outputString "\n=== Reason Why ===\n" .
444
+ :out07 log:outputString "\n## Reason Why\n" .
445
445
  :out08 log:outputString "The gateway desensitizes local heat, vulnerability, and prepaid-energy stress into an expiring municipal support insight, and the city consumes that envelope only for heatwave response.\n" .
446
446
  :out09 log:outputString "metric : active_need_count\n" .
447
447
 
@@ -485,7 +485,7 @@
485
485
  :out17 log:outputString ?line .
486
486
  } .
487
487
 
488
- :out18 log:outputString "\n=== Check ===\n" .
488
+ :out18 log:outputString "\n## Check\n" .
489
489
 
490
490
  { :check :signatureVerifies true . } => { :out19 log:outputString "signature verifies : yes\n" . } .
491
491
  { :check :payloadHashMatches true . } => { :out20 log:outputString "payload hash matches : yes\n" . } .
@@ -1,3 +1,8 @@
1
1
  @prefix : <https://eyereasoner.github.io/eyeling/examples/collection#>.
2
2
  (1 _:b2 (2)) :p2 :q2 .
3
3
  _:b2 :p :q .
4
+
5
+
6
+ # Markdown rendering via log:outputString.
7
+ :__md_output :text "# collection\n" .
8
+ { :__md_output :text ?text } log:query { :__md_output log:outputString ?text } .
@@ -17,6 +17,8 @@
17
17
  @prefix math: <http://www.w3.org/2000/10/swap/math#> .
18
18
  @prefix string: <http://www.w3.org/2000/10/swap/string#> .
19
19
 
20
+ :000_md_title log:outputString "# complex-matrix-stability\n\n" .
21
+
20
22
  # --------------
21
23
  # Editable input
22
24
  # --------------
@@ -49,11 +49,3 @@
49
49
  :report log:outputString "# Context association\n\n## Entailment\nThe RDF dataset associates Bob's data graph with a Data Integrity proof graph and a second metadata proof graph.\n\n## Explanation\nThe input TriG names three graph contexts. The data graph states Bob's name. The signature graph links to that data graph with a proof and records an ecdsa-rdfc-2019 Data Integrity proof from the university issuer. The metadata graph then signs the signature graph itself, giving a chained context association.".
50
50
  }.
51
51
 
52
- # query
53
- {
54
- :association ?P ?O.
55
- }
56
- log:query
57
- {
58
- :association ?P ?O.
59
- }.
@@ -13,6 +13,8 @@
13
13
  @prefix string: <http://www.w3.org/2000/10/swap/string#>.
14
14
  @prefix : <https://example.org/control-system#>.
15
15
 
16
+ :000_md_title log:outputString "# control-system\n\n" .
17
+
16
18
  # -----
17
19
  # Facts
18
20
  # -----
@@ -31,6 +31,8 @@
31
31
 
32
32
  @prefix log: <http://www.w3.org/2000/10/swap/log#>.
33
33
 
34
+ :000_md_title log:outputString "# deep-taxonomy-10\n\n" .
35
+
34
36
  # ARC checks
35
37
  { :ind a :N0. }
36
38
  => { :arc :check1 "C1 OK - the starting classification N0 is present." . } .
@@ -121,6 +121,8 @@
121
121
 
122
122
  @prefix log: <http://www.w3.org/2000/10/swap/log#>.
123
123
 
124
+ :000_md_title log:outputString "# deep-taxonomy-100\n\n" .
125
+
124
126
  # ARC checks
125
127
  { :ind a :N0. }
126
128
  => { :arc :check1 "C1 OK - the starting classification N0 is present." . } .
@@ -1021,6 +1021,8 @@
1021
1021
 
1022
1022
  @prefix log: <http://www.w3.org/2000/10/swap/log#>.
1023
1023
 
1024
+ :000_md_title log:outputString "# deep-taxonomy-1000\n\n" .
1025
+
1024
1026
  # ARC checks
1025
1027
  { :ind a :N0. }
1026
1028
  => { :arc :check1 "C1 OK - the starting classification N0 is present." . } .
@@ -10021,6 +10021,8 @@
10021
10021
 
10022
10022
  @prefix log: <http://www.w3.org/2000/10/swap/log#>.
10023
10023
 
10024
+ :000_md_title log:outputString "# deep-taxonomy-10000\n\n" .
10025
+
10024
10026
  # ARC checks
10025
10027
  { :ind a :N0. }
10026
10028
  => { :arc :check1 "C1 OK - the starting classification N0 is present." . } .
@@ -100022,6 +100022,8 @@
100022
100022
 
100023
100023
  @prefix log: <http://www.w3.org/2000/10/swap/log#>.
100024
100024
 
100025
+ :000_md_title log:outputString "# deep-taxonomy-100000\n\n" .
100026
+
100025
100027
  # ARC checks
100026
100028
  { :ind a :N0. }
100027
100029
  => { :arc :check1 "C1 OK - the starting classification N0 is present." . } .
@@ -331,7 +331,7 @@
331
331
  # ARC rendering through log:outputString
332
332
  # --------------------------------------
333
333
 
334
- :out01 log:outputString "=== Answer ===\n" .
334
+ :out01 log:outputString "# delfour\n\n## Answer\n" .
335
335
  :out02 log:outputString "The scanner is allowed to use a neutral shopping insight and recommends Low-Sugar Tea Biscuits instead of Classic Tea Biscuits.\n" .
336
336
  :out03 log:outputString "case : delfour\n" .
337
337
  :out04 log:outputString "decision : Allowed\n" .
@@ -345,7 +345,7 @@
345
345
  :out06 log:outputString ?line .
346
346
  } .
347
347
 
348
- :out07 log:outputString "\n=== Reason Why ===\n" .
348
+ :out07 log:outputString "\n## Reason Why\n" .
349
349
  :out08 log:outputString "The phone desensitizes a diabetes-related household condition into a scoped low-sugar need, wraps it in an expiring Insight + Policy envelope, signs it, and the scanner consumes that envelope for shopping assistance.\n" .
350
350
  :out09 log:outputString "metric : sugar_g_per_serving\n" .
351
351
 
@@ -396,7 +396,7 @@
396
396
  :out18 log:outputString ?line .
397
397
  } .
398
398
 
399
- :out19 log:outputString "\n=== Check ===\n" .
399
+ :out19 log:outputString "\n## Check\n" .
400
400
 
401
401
  { :check :signatureVerifies true . } => { :out20 log:outputString "signature verifies : yes\n" . } .
402
402
  { :check :payloadHashMatches true . } => { :out21 log:outputString "payload hash matches : yes\n" . } .
@@ -17,6 +17,8 @@
17
17
  @prefix log: <http://www.w3.org/2000/10/swap/log#> .
18
18
  @prefix string: <http://www.w3.org/2000/10/swap/string#> .
19
19
 
20
+ :000_md_title log:outputString "# digital-product-passport\n\n" .
21
+
20
22
  # --------------------
21
23
  # 1) Actors and places
22
24
  # --------------------
@@ -43,10 +43,9 @@
43
43
  {
44
44
  :Case :selectedPath :pathB; :trustGate :noEnumeratedPathIsLower; :notes :riskCanOutweighRawCost.
45
45
  :pathB :routeText ?Route; :rawCost ?Raw; :riskSum ?Risk; :score ?Score; :edgeCount ?Edges.
46
- ("=== Answer ===\nselected path : %s\nraw cost : %.2f\nrisk sum : %.2f\nrisk-adjusted score : %.2f\nedges in selected path : %d\n\n=== Explanation ===\nEach edge contributes its delivery cost plus the configured risk penalty. The N3 source enumerates the small graph's simple route candidates and compares the selected route against each alternative score. The selected route balances cost and risk through DepotB and LabD, while the apparently cheaper DepotC path is rejected once risk is priced in." ?Route ?Raw ?Risk ?Score ?Edges) string:format ?Block.
46
+ ("# dijkstra-risk-path\n\n## Answer\nselected path : %s\nraw cost : %.2f\nrisk sum : %.2f\nrisk-adjusted score : %.2f\nedges in selected path : %d\n\n## Explanation\nEach edge contributes its delivery cost plus the configured risk penalty. The N3 source enumerates the small graph's simple route candidates and compares the selected route against each alternative score. The selected route balances cost and risk through DepotB and LabD, while the apparently cheaper DepotC path is rejected once risk is priced in." ?Route ?Raw ?Risk ?Score ?Edges) string:format ?Block.
47
47
  } => {
48
48
  :dijkstraRiskPath log:outputString ?Block.
49
49
  :dijkstraRiskPath :selects :pathB.
50
50
  }.
51
51
 
52
- { :dijkstraRiskPath :selects ?Path } log:query { :dijkstraRiskPath :selects ?Path }.
@@ -15,6 +15,8 @@
15
15
  @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16
16
  @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
17
17
 
18
+ :000_md_title log:outputString "# easter\n\n" .
19
+
18
20
  <> rdfs:comment """This ARC-style version keeps the Gregorian computus from the original example and reports, for each sample year, an Answer, a Reason Why, and a set of independent Checks.""" .
19
21
 
20
22
  :y2026 a :Case; :year 2026 .
@@ -194,7 +196,7 @@
194
196
  :check1 ?C1; :check2 ?C2; :check3 ?C3; :check4 ?C4; :check5 ?C5.
195
197
  (
196
198
  "Easter — Gregorian computus\n\n"
197
- "=== " ?Y " ===\n"
199
+ "## " ?Y "\n"
198
200
  "Answer\n"
199
201
  "Easter Sunday falls on " ?Month " " ?Day ".\n\n"
200
202
  "Reason Why\n"
@@ -34,10 +34,9 @@
34
34
  :Shipment :id ?ShipmentId; :payloadTons ?PayloadTons.
35
35
  :Envelope :rawDataExported ?Raw; :payloadDigest ?Digest; :signatureKey ?Key; :signature ?Signature.
36
36
  :Policy :fuelIndexThreshold ?Threshold; :signatureAlgorithm ?Algorithm.
37
- ("=== Answer ===\ninsight status : issue\nshow eco banner : %s\naudience : %s\nallowed use : %s\nsuggested route : %s\ncurrent fuel index : %.2f\nsuggested fuel index : %.2f\nestimated saving : %.2f\nexpires at : %s\nraw data exported : %s\nsignature algorithm : %s\npayload digest : %s\nsignature key : %s\nsignature : %s\n\n=== Explanation ===\nThe current route uses fuel index = distanceKm × (payloadKg / 1000) × gradientFactor. For %s, Current urban route gives %.2f × %.2f × %.2f = %.2f. The policy threshold is %.2f, so a local eco banner is justified. The selected alternative %s gives %.2f × %.2f × %.2f = %.2f, saving %.2f while staying within the ETA delay limit. The signed envelope exposes audience, use, expiry, route suggestion, and compact fuel indices, but not raw payload, GPS trace, driver behavior, or raw telemetry." ?Show ?Audience ?Use ?AltId ?CurrentIndex ?AltIndex ?Saving ?Expiry ?Raw ?Algorithm ?Digest ?Key ?Signature ?ShipmentId ?CurrentDistance ?PayloadTons ?CurrentGradient ?CurrentIndex ?Threshold ?AltId ?AltDistance ?PayloadTons ?AltGradient ?AltIndex ?Saving) string:format ?Block.
37
+ ("# eco-route-insight\n\n## Answer\ninsight status : issue\nshow eco banner : %s\naudience : %s\nallowed use : %s\nsuggested route : %s\ncurrent fuel index : %.2f\nsuggested fuel index : %.2f\nestimated saving : %.2f\nexpires at : %s\nraw data exported : %s\nsignature algorithm : %s\npayload digest : %s\nsignature key : %s\nsignature : %s\n\n## Explanation\nThe current route uses fuel index = distanceKm × (payloadKg / 1000) × gradientFactor. For %s, Current urban route gives %.2f × %.2f × %.2f = %.2f. The policy threshold is %.2f, so a local eco banner is justified. The selected alternative %s gives %.2f × %.2f × %.2f = %.2f, saving %.2f while staying within the ETA delay limit. The signed envelope exposes audience, use, expiry, route suggestion, and compact fuel indices, but not raw payload, GPS trace, driver behavior, or raw telemetry." ?Show ?Audience ?Use ?AltId ?CurrentIndex ?AltIndex ?Saving ?Expiry ?Raw ?Algorithm ?Digest ?Key ?Signature ?ShipmentId ?CurrentDistance ?PayloadTons ?CurrentGradient ?CurrentIndex ?Threshold ?AltId ?AltDistance ?PayloadTons ?AltGradient ?AltIndex ?Saving) string:format ?Block.
38
38
  } => {
39
39
  :ecoRouteInsight log:outputString ?Block.
40
40
  :ecoRouteInsight :issues :Insight.
41
41
  }.
42
42
 
43
- { :ecoRouteInsight :issues ?Insight } log:query { :ecoRouteInsight :issues ?Insight }.
@@ -371,7 +371,7 @@
371
371
  # ARC rendering through log:outputString
372
372
  # --------------------------------------
373
373
 
374
- :out01 log:outputString "=== Answer ===\n" .
374
+ :out01 log:outputString "# flandor\n\n## Answer\n" .
375
375
  :out02 log:outputString "Name: Flandor\n" .
376
376
  :out03 log:outputString "Region: Flanders\n" .
377
377
  :out04 log:outputString "Metric: regional_retooling_priority\n" .
@@ -392,7 +392,7 @@
392
392
  ("Envelope HMAC-SHA-256: %s\n" ?sig) string:format ?line .
393
393
  } => { :out10 log:outputString ?line . } .
394
394
 
395
- :out11 log:outputString "\n=== Reason Why ===\n" .
395
+ :out11 log:outputString "\n## Reason Why\n" .
396
396
  :out12 log:outputString "Export weakness is active because at least one cluster has exportOrdersIndex < 90 (Antwerp chemicals=84, Ghent manufacturing=87).\n" .
397
397
  :out13 log:outputString "Skills strain is active because technical vacancy rate is 4.6% (threshold > 3.9%).\n" .
398
398
  :out14 log:outputString "Grid stress is active because congestion hours = 19 (threshold > 11).\n" .
@@ -400,7 +400,7 @@
400
400
  :out16 log:outputString "Selected package \"Flandor Retooling Pulse\" covers export=true, skills=true, grid=true, cost=€120M.\n" .
401
401
  :out17 log:outputString "Usage is permitted only for purpose \"regional_stabilization\" and the envelope expires at 2026-04-08T19:00:00+00:00.\n" .
402
402
 
403
- :out18 log:outputString "\n=== Check ===\n" .
403
+ :out18 log:outputString "\n## Check\n" .
404
404
  { :check :payloadHashMatches true . }
405
405
  => { :out19 log:outputString "- PASS: payload hash matches\n" . } .
406
406
  { :check :hmacMatches true . }
@@ -14,6 +14,8 @@
14
14
  @prefix string: <http://www.w3.org/2000/10/swap/string#>.
15
15
  @prefix : <https://example.org/french-cities#>.
16
16
 
17
+ :000_md_title log:outputString "# french-cities\n\n" .
18
+
17
19
  # ---------------------------------------------------------------------------
18
20
  # Facts
19
21
  # ---------------------------------------------------------------------------
@@ -17,6 +17,8 @@
17
17
  @prefix list: <http://www.w3.org/2000/10/swap/list#> .
18
18
  @prefix string: <http://www.w3.org/2000/10/swap/string#> .
19
19
 
20
+ :000_md_title log:outputString "# fundamental-theorem-arithmetic\n\n" .
21
+
20
22
  # --------------
21
23
  # Editable input
22
24
  # --------------
@@ -257,4 +257,4 @@
257
257
  ?Best ?Ok ?W ?V ?Gen ) string:format ?Line
258
258
  }
259
259
  log:query
260
- { 1 log:outputString ?Line }.
260
+ { 0 log:outputString "# genetic-algorithm-knapsack\n\n". 1 log:outputString ?Line }.