@lapxo/obligations 0.4.1 → 0.4.3

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 (40) hide show
  1. package/README.md +2 -2
  2. package/TARGET.bound +97 -10
  3. package/dist/lattice/obligatory.js +29 -1
  4. package/dist/measures/capacity.d.ts +22 -0
  5. package/dist/measures/capacity.js +16 -0
  6. package/dist/measures/confidence.d.ts +73 -0
  7. package/dist/measures/confidence.js +52 -0
  8. package/dist/measures/index.d.ts +9 -1
  9. package/dist/measures/index.js +5 -1
  10. package/dist/measures/mix-loss.d.ts +187 -0
  11. package/dist/measures/mix-loss.js +101 -0
  12. package/dist/measures/phase-defect.d.ts +40 -0
  13. package/dist/measures/phase-defect.js +33 -0
  14. package/dist/measures/tolerant-subsets.d.ts +79 -0
  15. package/dist/measures/tolerant-subsets.js +60 -0
  16. package/docs/measures.md +25 -1
  17. package/package.json +1 -1
  18. package/receipts.bound +304 -107
  19. package/samples/measures/common-cause-capacity.json +48 -0
  20. package/samples/measures/confidence/union-bound.json +54 -0
  21. package/samples/measures/confidence.json +70 -0
  22. package/samples/measures/l7-tolerant-k.json +90 -0
  23. package/samples/measures/l8-phase-defect.json +19 -0
  24. package/samples/measures/l9-mix-loss.json +36 -0
  25. package/samples/measures/t12/common-cause.json +32 -0
  26. package/samples/measures/tolerant-count.json +144 -0
  27. package/samples/no/installed-artifact.json +102 -5
  28. package/samples/yes/installed-artifact.json +36 -49
  29. package/vectors/laws/implementation-043.json +98 -0
  30. package/vectors/laws/l7-tolerant-k.json +253 -0
  31. package/vectors/laws/l8-phase-defect.json +214 -0
  32. package/vectors/laws/l9-mix-loss.json +130 -0
  33. package/vectors/laws/policy.json +22 -0
  34. package/vectors/measures/common-cause-capacity.cli.json +97 -0
  35. package/vectors/measures/confidence/expected.json +26 -0
  36. package/vectors/measures/confidence.cli.json +97 -0
  37. package/vectors/measures/implementation-042.json +86 -0
  38. package/vectors/measures/installed-artifact.cli.json +12 -28
  39. package/vectors/measures/t12/expected.json +35 -0
  40. package/vectors/measures/tolerant-count.cli.json +97 -0
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @lapxo/obligations
4
4
 
5
- ![version 0.4.1](https://img.shields.io/badge/version-0.4.1-) ![license MIT](https://img.shields.io/badge/license-MIT-) ![node >=22.12](https://img.shields.io/badge/node-%3E%3D22.12-) [![DOI 10.5281/zenodo.21858428](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.21858428-)](https://doi.org/10.5281/zenodo.21858428)
5
+ ![version 0.4.2](https://img.shields.io/badge/version-0.4.2-) ![license MIT](https://img.shields.io/badge/license-MIT-) ![node >=22.12](https://img.shields.io/badge/node-%3E%3D22.12-) [![DOI 10.5281/zenodo.21858428](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.21858428-)](https://doi.org/10.5281/zenodo.21858428)
6
6
 
7
7
  The algebra of a cell: two poles, origins with phase, eight acts.
8
8
 
@@ -24,7 +24,7 @@ info(c) ⟺ |ext(O)| ≥ 2 ∧ meet(c) ≠ ∅
24
24
  F(C) = Σ_{c∈C} F(c), F(a(c)) ≤ F(c) for every act a that narrows
25
25
  A(c) = |Σ_{o∈O} s_o w_o e^{iφ_o}|²
26
26
  ⊤(c) = ⋀_{b ⊑ c} signed(b) ∧ ⋀_{o∈O} hi_o, one line per act
27
- |e^{ia} + e^{ib}|² < 2 ⟺ |a − b| > π/2
27
+ |e^{ia} + e^{ib}|² < 2 ⟺ acos(cos(a − b)) > π/2
28
28
  state(c) ∈ {FREE, REQUIRED, FORBIDDEN, CONFLICT}
29
29
  ```
30
30