universal-physics-tensor 0.44.1 → 0.44.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 (129) hide show
  1. package/README.md +51 -164
  2. package/dist/bridges/bridge-equations.d.ts +28 -6
  3. package/dist/bridges/bridge-equations.d.ts.map +1 -1
  4. package/dist/bridges/bridge-equations.js +30 -8
  5. package/dist/bridges/bridge-equations.js.map +1 -1
  6. package/dist/cli/commands/index.d.ts +1 -0
  7. package/dist/cli/commands/index.d.ts.map +1 -1
  8. package/dist/cli/commands/index.js +1 -0
  9. package/dist/cli/commands/index.js.map +1 -1
  10. package/dist/cli/commands/probe.d.ts +3 -0
  11. package/dist/cli/commands/probe.d.ts.map +1 -0
  12. package/dist/cli/commands/probe.js +169 -0
  13. package/dist/cli/commands/probe.js.map +1 -0
  14. package/dist/cli/main.d.ts.map +1 -1
  15. package/dist/cli/main.js +5 -0
  16. package/dist/cli/main.js.map +1 -1
  17. package/dist/cli-api.d.ts +1 -0
  18. package/dist/cli-api.d.ts.map +1 -1
  19. package/dist/cli-api.js +3 -0
  20. package/dist/cli-api.js.map +1 -1
  21. package/dist/composition/probe/backend-protocol.d.ts +31 -0
  22. package/dist/composition/probe/backend-protocol.d.ts.map +1 -0
  23. package/dist/composition/probe/backend-protocol.js +83 -0
  24. package/dist/composition/probe/backend-protocol.js.map +1 -0
  25. package/dist/composition/probe/candidate-store.d.ts +33 -0
  26. package/dist/composition/probe/candidate-store.d.ts.map +1 -0
  27. package/dist/composition/probe/candidate-store.js +110 -0
  28. package/dist/composition/probe/candidate-store.js.map +1 -0
  29. package/dist/composition/probe/corpus.d.ts +23 -0
  30. package/dist/composition/probe/corpus.d.ts.map +1 -0
  31. package/dist/composition/probe/corpus.js +51 -0
  32. package/dist/composition/probe/corpus.js.map +1 -0
  33. package/dist/composition/probe/dataset.d.ts +35 -0
  34. package/dist/composition/probe/dataset.d.ts.map +1 -0
  35. package/dist/composition/probe/dataset.js +154 -0
  36. package/dist/composition/probe/dataset.js.map +1 -0
  37. package/dist/composition/probe/experiment-design.d.ts +32 -0
  38. package/dist/composition/probe/experiment-design.d.ts.map +1 -0
  39. package/dist/composition/probe/experiment-design.js +86 -0
  40. package/dist/composition/probe/experiment-design.js.map +1 -0
  41. package/dist/composition/probe/falsify.d.ts +29 -0
  42. package/dist/composition/probe/falsify.d.ts.map +1 -0
  43. package/dist/composition/probe/falsify.js +142 -0
  44. package/dist/composition/probe/falsify.js.map +1 -0
  45. package/dist/composition/probe/fingerprint.d.ts +20 -0
  46. package/dist/composition/probe/fingerprint.d.ts.map +1 -0
  47. package/dist/composition/probe/fingerprint.js +99 -0
  48. package/dist/composition/probe/fingerprint.js.map +1 -0
  49. package/dist/composition/probe/fit.d.ts +23 -0
  50. package/dist/composition/probe/fit.d.ts.map +1 -0
  51. package/dist/composition/probe/fit.js +92 -0
  52. package/dist/composition/probe/fit.js.map +1 -0
  53. package/dist/composition/probe/frontier.d.ts +30 -0
  54. package/dist/composition/probe/frontier.d.ts.map +1 -0
  55. package/dist/composition/probe/frontier.js +169 -0
  56. package/dist/composition/probe/frontier.js.map +1 -0
  57. package/dist/composition/probe/generator.d.ts +26 -0
  58. package/dist/composition/probe/generator.d.ts.map +1 -0
  59. package/dist/composition/probe/generator.js +123 -0
  60. package/dist/composition/probe/generator.js.map +1 -0
  61. package/dist/composition/probe/index.d.ts +49 -0
  62. package/dist/composition/probe/index.d.ts.map +1 -0
  63. package/dist/composition/probe/index.js +35 -0
  64. package/dist/composition/probe/index.js.map +1 -0
  65. package/dist/composition/probe/limits.d.ts +27 -0
  66. package/dist/composition/probe/limits.d.ts.map +1 -0
  67. package/dist/composition/probe/limits.js +71 -0
  68. package/dist/composition/probe/limits.js.map +1 -0
  69. package/dist/composition/probe/metadata.d.ts +19 -0
  70. package/dist/composition/probe/metadata.d.ts.map +1 -0
  71. package/dist/composition/probe/metadata.js +30 -0
  72. package/dist/composition/probe/metadata.js.map +1 -0
  73. package/dist/composition/probe/pipeline.d.ts +42 -0
  74. package/dist/composition/probe/pipeline.d.ts.map +1 -0
  75. package/dist/composition/probe/pipeline.js +307 -0
  76. package/dist/composition/probe/pipeline.js.map +1 -0
  77. package/dist/composition/probe/problem.d.ts +40 -0
  78. package/dist/composition/probe/problem.d.ts.map +1 -0
  79. package/dist/composition/probe/problem.js +101 -0
  80. package/dist/composition/probe/problem.js.map +1 -0
  81. package/dist/composition/probe/report.d.ts +15 -0
  82. package/dist/composition/probe/report.d.ts.map +1 -0
  83. package/dist/composition/probe/report.js +91 -0
  84. package/dist/composition/probe/report.js.map +1 -0
  85. package/dist/composition/probe/residual.d.ts +20 -0
  86. package/dist/composition/probe/residual.d.ts.map +1 -0
  87. package/dist/composition/probe/residual.js +72 -0
  88. package/dist/composition/probe/residual.js.map +1 -0
  89. package/dist/composition/probe/run-manifest.d.ts +24 -0
  90. package/dist/composition/probe/run-manifest.d.ts.map +1 -0
  91. package/dist/composition/probe/run-manifest.js +48 -0
  92. package/dist/composition/probe/run-manifest.js.map +1 -0
  93. package/dist/composition/probe/scoring.d.ts +19 -0
  94. package/dist/composition/probe/scoring.d.ts.map +1 -0
  95. package/dist/composition/probe/scoring.js +55 -0
  96. package/dist/composition/probe/scoring.js.map +1 -0
  97. package/dist/composition/probe/search-budget.d.ts +26 -0
  98. package/dist/composition/probe/search-budget.d.ts.map +1 -0
  99. package/dist/composition/probe/search-budget.js +36 -0
  100. package/dist/composition/probe/search-budget.js.map +1 -0
  101. package/dist/composition/probe/serialize.d.ts +33 -0
  102. package/dist/composition/probe/serialize.d.ts.map +1 -0
  103. package/dist/composition/probe/serialize.js +61 -0
  104. package/dist/composition/probe/serialize.js.map +1 -0
  105. package/dist/composition/probe/structure.d.ts +51 -0
  106. package/dist/composition/probe/structure.d.ts.map +1 -0
  107. package/dist/composition/probe/structure.js +93 -0
  108. package/dist/composition/probe/structure.js.map +1 -0
  109. package/dist/composition/probe/types.d.ts +281 -0
  110. package/dist/composition/probe/types.d.ts.map +1 -0
  111. package/dist/composition/probe/types.js +23 -0
  112. package/dist/composition/probe/types.js.map +1 -0
  113. package/dist/diff/bridge-ast-gradient.d.ts.map +1 -1
  114. package/dist/diff/bridge-ast-gradient.js +22 -2
  115. package/dist/diff/bridge-ast-gradient.js.map +1 -1
  116. package/dist/numerical/float64-engine.d.ts.map +1 -1
  117. package/dist/numerical/float64-engine.js +22 -8
  118. package/dist/numerical/float64-engine.js.map +1 -1
  119. package/dist/numerical/geodesic-integrator.d.ts.map +1 -1
  120. package/dist/numerical/geodesic-integrator.js +85 -14
  121. package/dist/numerical/geodesic-integrator.js.map +1 -1
  122. package/dist/numerical/gl4-integrator.d.ts +2 -0
  123. package/dist/numerical/gl4-integrator.d.ts.map +1 -1
  124. package/dist/numerical/gl4-integrator.js +345 -156
  125. package/dist/numerical/gl4-integrator.js.map +1 -1
  126. package/dist/numerical/weyl-lowering.d.ts.map +1 -1
  127. package/dist/numerical/weyl-lowering.js +158 -48
  128. package/dist/numerical/weyl-lowering.js.map +1 -1
  129. package/package.json +15 -5
@@ -32,17 +32,13 @@
32
32
  function toNested4x4(m) {
33
33
  if (!(m instanceof Float64Array))
34
34
  return m;
35
- // Bolt: Using manual loops over Array.from to avoid massive TypedArray conversion overhead
36
- const out = new Array(4);
37
- for (let mu = 0; mu < 4; mu++) {
38
- const row = new Array(4);
39
- const base = mu * 4;
40
- for (let nu = 0; nu < 4; nu++) {
41
- row[nu] = m[base + nu];
42
- }
43
- out[mu] = row;
44
- }
45
- return out;
35
+ // Bolt: Using explicit array literals for fixed small dimension avoids loop/allocation overhead
36
+ return [
37
+ [m[0], m[1], m[2], m[3]],
38
+ [m[4], m[5], m[6], m[7]],
39
+ [m[8], m[9], m[10], m[11]],
40
+ [m[12], m[13], m[14], m[15]],
41
+ ];
46
42
  }
47
43
  // ---------------------------------------------------------------------------
48
44
  // Index-raising helper
@@ -56,22 +52,116 @@ function toNested4x4(m) {
56
52
  */
57
53
  function raiseRicciFirstIndex(ricci, gInv) {
58
54
  // n=4 hardcoded (Decision #13).
59
- const RicMixed = [
60
- [0, 0, 0, 0],
61
- [0, 0, 0, 0],
62
- [0, 0, 0, 0],
63
- [0, 0, 0, 0],
64
- ];
65
- for (let rho = 0; rho < 4; rho++) {
66
- for (let nu = 0; nu < 4; nu++) {
67
- let s = 0;
68
- for (let a = 0; a < 4; a++) {
69
- s += gInv[rho][a] * ricci[a][nu];
70
- }
71
- RicMixed[rho][nu] = s;
72
- }
55
+ // Bolt: Unrolled loops for fixed small dimension avoids iteration overhead.
56
+ const g0 = gInv[0];
57
+ const g1 = gInv[1];
58
+ const g2 = gInv[2];
59
+ const g3 = gInv[3];
60
+ const r0 = ricci[0];
61
+ const r1 = ricci[1];
62
+ const r2 = ricci[2];
63
+ const r3 = ricci[3];
64
+ const rm0 = [0.0, 0.0, 0.0, 0.0];
65
+ const rm1 = [0.0, 0.0, 0.0, 0.0];
66
+ const rm2 = [0.0, 0.0, 0.0, 0.0];
67
+ const rm3 = [0.0, 0.0, 0.0, 0.0];
68
+ if (g0[0] !== 0.0) {
69
+ rm0[0] += g0[0] * r0[0];
70
+ rm0[1] += g0[0] * r0[1];
71
+ rm0[2] += g0[0] * r0[2];
72
+ rm0[3] += g0[0] * r0[3];
73
+ }
74
+ if (g0[1] !== 0.0) {
75
+ rm0[0] += g0[1] * r1[0];
76
+ rm0[1] += g0[1] * r1[1];
77
+ rm0[2] += g0[1] * r1[2];
78
+ rm0[3] += g0[1] * r1[3];
79
+ }
80
+ if (g0[2] !== 0.0) {
81
+ rm0[0] += g0[2] * r2[0];
82
+ rm0[1] += g0[2] * r2[1];
83
+ rm0[2] += g0[2] * r2[2];
84
+ rm0[3] += g0[2] * r2[3];
85
+ }
86
+ if (g0[3] !== 0.0) {
87
+ rm0[0] += g0[3] * r3[0];
88
+ rm0[1] += g0[3] * r3[1];
89
+ rm0[2] += g0[3] * r3[2];
90
+ rm0[3] += g0[3] * r3[3];
91
+ }
92
+ if (g1[0] !== 0.0) {
93
+ rm1[0] += g1[0] * r0[0];
94
+ rm1[1] += g1[0] * r0[1];
95
+ rm1[2] += g1[0] * r0[2];
96
+ rm1[3] += g1[0] * r0[3];
97
+ }
98
+ if (g1[1] !== 0.0) {
99
+ rm1[0] += g1[1] * r1[0];
100
+ rm1[1] += g1[1] * r1[1];
101
+ rm1[2] += g1[1] * r1[2];
102
+ rm1[3] += g1[1] * r1[3];
103
+ }
104
+ if (g1[2] !== 0.0) {
105
+ rm1[0] += g1[2] * r2[0];
106
+ rm1[1] += g1[2] * r2[1];
107
+ rm1[2] += g1[2] * r2[2];
108
+ rm1[3] += g1[2] * r2[3];
109
+ }
110
+ if (g1[3] !== 0.0) {
111
+ rm1[0] += g1[3] * r3[0];
112
+ rm1[1] += g1[3] * r3[1];
113
+ rm1[2] += g1[3] * r3[2];
114
+ rm1[3] += g1[3] * r3[3];
115
+ }
116
+ if (g2[0] !== 0.0) {
117
+ rm2[0] += g2[0] * r0[0];
118
+ rm2[1] += g2[0] * r0[1];
119
+ rm2[2] += g2[0] * r0[2];
120
+ rm2[3] += g2[0] * r0[3];
121
+ }
122
+ if (g2[1] !== 0.0) {
123
+ rm2[0] += g2[1] * r1[0];
124
+ rm2[1] += g2[1] * r1[1];
125
+ rm2[2] += g2[1] * r1[2];
126
+ rm2[3] += g2[1] * r1[3];
127
+ }
128
+ if (g2[2] !== 0.0) {
129
+ rm2[0] += g2[2] * r2[0];
130
+ rm2[1] += g2[2] * r2[1];
131
+ rm2[2] += g2[2] * r2[2];
132
+ rm2[3] += g2[2] * r2[3];
133
+ }
134
+ if (g2[3] !== 0.0) {
135
+ rm2[0] += g2[3] * r3[0];
136
+ rm2[1] += g2[3] * r3[1];
137
+ rm2[2] += g2[3] * r3[2];
138
+ rm2[3] += g2[3] * r3[3];
139
+ }
140
+ if (g3[0] !== 0.0) {
141
+ rm3[0] += g3[0] * r0[0];
142
+ rm3[1] += g3[0] * r0[1];
143
+ rm3[2] += g3[0] * r0[2];
144
+ rm3[3] += g3[0] * r0[3];
145
+ }
146
+ if (g3[1] !== 0.0) {
147
+ rm3[0] += g3[1] * r1[0];
148
+ rm3[1] += g3[1] * r1[1];
149
+ rm3[2] += g3[1] * r1[2];
150
+ rm3[3] += g3[1] * r1[3];
151
+ }
152
+ if (g3[2] !== 0.0) {
153
+ rm3[0] += g3[2] * r2[0];
154
+ rm3[1] += g3[2] * r2[1];
155
+ rm3[2] += g3[2] * r2[2];
156
+ rm3[3] += g3[2] * r2[3];
157
+ }
158
+ if (g3[3] !== 0.0) {
159
+ rm3[0] += g3[3] * r3[0];
160
+ rm3[1] += g3[3] * r3[1];
161
+ rm3[2] += g3[3] * r3[2];
162
+ rm3[3] += g3[3] * r3[3];
73
163
  }
74
- return RicMixed;
164
+ return [rm0, rm1, rm2, rm3];
75
165
  }
76
166
  // ---------------------------------------------------------------------------
77
167
  // Main Weyl assembler
@@ -105,35 +195,55 @@ export function computeWeylTensor(input) {
105
195
  // −1/(n-2) = −1/2 (the Ricci correction)
106
196
  // +1/((n-1)(n-2)) = +1/6 (the scalar correction)
107
197
  const C = new Array(4);
198
+ const oneSixth = 1.0 / 6.0;
108
199
  for (let rho = 0; rho < 4; rho++) {
109
200
  const C_rho = new Array(4);
201
+ const RicMixed_rho = RicMixed[rho];
202
+ const d_rho_0 = rho === 0 ? 1.0 : 0.0;
203
+ const d_rho_1 = rho === 1 ? 1.0 : 0.0;
204
+ const d_rho_2 = rho === 2 ? 1.0 : 0.0;
205
+ const d_rho_3 = rho === 3 ? 1.0 : 0.0;
206
+ const RM_rho_0 = RicMixed_rho[0];
207
+ const RM_rho_1 = RicMixed_rho[1];
208
+ const RM_rho_2 = RicMixed_rho[2];
209
+ const RM_rho_3 = RicMixed_rho[3];
210
+ const R_rho = R[rho];
110
211
  for (let sigma = 0; sigma < 4; sigma++) {
111
212
  const C_rho_sigma = new Array(4);
213
+ const R_rho_sigma = R_rho[sigma];
214
+ const g_sigma = g[sigma];
215
+ const Ric_sigma = Ric[sigma];
216
+ const g_sig_0 = g_sigma[0];
217
+ const g_sig_1 = g_sigma[1];
218
+ const g_sig_2 = g_sigma[2];
219
+ const g_sig_3 = g_sigma[3];
220
+ const R_sig_0 = Ric_sigma[0];
221
+ const R_sig_1 = Ric_sigma[1];
222
+ const R_sig_2 = Ric_sigma[2];
223
+ const R_sig_3 = Ric_sigma[3];
112
224
  for (let mu = 0; mu < 4; mu++) {
113
- const delta_rho_mu = rho === mu ? 1 : 0;
114
- const g_sigma_mu = g[sigma][mu];
115
- const Ric_sigma_mu = Ric[sigma][mu];
116
- const RicMixed_rho_mu = RicMixed[rho][mu];
225
+ const delta_rho_mu = rho === mu ? 1.0 : 0.0;
226
+ const g_sigma_mu = g_sigma[mu];
227
+ const Ric_sigma_mu = Ric_sigma[mu];
228
+ const RicMixed_rho_mu = RicMixed_rho[mu];
117
229
  const RS_delta_rho_mu = RS * delta_rho_mu;
118
230
  const RS_g_sigma_mu = RS * g_sigma_mu;
119
- const arr1 = new Array(4);
120
- for (let nu = 0; nu < 4; nu++) {
121
- // Kronecker delta shortcuts.
122
- const delta_rho_nu = rho === nu ? 1 : 0;
123
- // The Ricci correction bracket:
124
- // δ^ρ_μ R_{σν} − δ^ρ_ν R_{σμ} − g_{σμ} R^ρ_ν + g_{σν} R^ρ_μ
125
- const ricciCorr = delta_rho_mu * Ric[sigma][nu]
126
- - delta_rho_nu * Ric_sigma_mu
127
- - g_sigma_mu * RicMixed[rho][nu]
128
- + g[sigma][nu] * RicMixed_rho_mu;
129
- // The scalar correction bracket:
130
- // R (δ^ρ_μ g_{σν} − δ^ρ_ν g_{σμ})
131
- const scalarCorr = RS_delta_rho_mu * g[sigma][nu] - delta_rho_nu * RS_g_sigma_mu;
132
- arr1[nu] =
133
- R[rho][sigma][mu][nu]
134
- - 0.5 * ricciCorr
135
- + (1.0 / 6.0) * scalarCorr;
136
- }
231
+ const R_rho_sigma_mu = R_rho_sigma[mu];
232
+ // Explicit unrolling with pre-allocated arr1 initialization
233
+ // Using fast 4-element Array allocation syntax natively
234
+ // Bolt: Factor invariant constants out of inner operations
235
+ const prefactor1 = -0.5 * delta_rho_mu;
236
+ const prefactor2 = 0.5 * Ric_sigma_mu;
237
+ const prefactor3 = 0.5 * g_sigma_mu;
238
+ const prefactor4 = -0.5 * RicMixed_rho_mu;
239
+ const prefactor5 = oneSixth * RS_delta_rho_mu;
240
+ const prefactor6 = -oneSixth * RS_g_sigma_mu;
241
+ const arr1 = [
242
+ R_rho_sigma_mu[0] + prefactor1 * R_sig_0 + d_rho_0 * prefactor2 + prefactor3 * RM_rho_0 + g_sig_0 * prefactor4 + prefactor5 * g_sig_0 + d_rho_0 * prefactor6,
243
+ R_rho_sigma_mu[1] + prefactor1 * R_sig_1 + d_rho_1 * prefactor2 + prefactor3 * RM_rho_1 + g_sig_1 * prefactor4 + prefactor5 * g_sig_1 + d_rho_1 * prefactor6,
244
+ R_rho_sigma_mu[2] + prefactor1 * R_sig_2 + d_rho_2 * prefactor2 + prefactor3 * RM_rho_2 + g_sig_2 * prefactor4 + prefactor5 * g_sig_2 + d_rho_2 * prefactor6,
245
+ R_rho_sigma_mu[3] + prefactor1 * R_sig_3 + d_rho_3 * prefactor2 + prefactor3 * RM_rho_3 + g_sig_3 * prefactor4 + prefactor5 * g_sig_3 + d_rho_3 * prefactor6
246
+ ];
137
247
  C_rho_sigma[mu] = arr1;
138
248
  }
139
249
  C_rho[sigma] = C_rho_sigma;
@@ -1 +1 @@
1
- {"version":3,"file":"weyl-lowering.js","sourceRoot":"","sources":["../../src/numerical/weyl-lowering.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AA+BH;;;;GAIG;AACH,SAAS,WAAW,CAAC,CAA4B;IAC/C,IAAI,CAAC,CAAC,CAAC,YAAY,YAAY,CAAC;QAAE,OAAO,CAAC,CAAC;IAC3C,2FAA2F;IAC3F,MAAM,GAAG,GAAG,IAAI,KAAK,CAAW,CAAC,CAAC,CAAC;IACnC,KAAK,IAAI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CAAC;IAED,OAAO,CAAC,CAAC;AACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-physics-tensor",
3
- "version": "0.44.1",
3
+ "version": "0.44.3",
4
4
  "description": "Computational framework for exploring unified physics through tensor formalism",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,6 +17,11 @@
17
17
  "types": "./dist/numerical/mathts-engine.d.ts",
18
18
  "import": "./dist/numerical/mathts-engine.js",
19
19
  "default": "./dist/numerical/mathts-engine.js"
20
+ },
21
+ "./probe": {
22
+ "types": "./dist/composition/probe/index.d.ts",
23
+ "import": "./dist/composition/probe/index.js",
24
+ "default": "./dist/composition/probe/index.js"
20
25
  }
21
26
  },
22
27
  "directories": {
@@ -33,13 +38,17 @@
33
38
  "bridge-priority": "node bin/upt.mjs priority",
34
39
  "pretest": "tsc",
35
40
  "test": "vitest run",
41
+ "test:probe-coverage": "vitest run tests/composition/probe --coverage --coverage.thresholds.lines=95 --coverage.thresholds.statements=95 --coverage.thresholds.functions=95",
36
42
  "test:watch": "vitest",
37
- "prepublishOnly": "tsc && vitest run",
43
+ "prepublishOnly": "npm run validate",
38
44
  "bench": "vitest bench",
39
45
  "bench:ci": "vitest bench --reporter=verbose",
40
- "docs:deps": "npx tsx tools/create-dependency-graph/create-dependency-graph.ts --root=. --include-tests",
41
- "audit:plans": "npx tsx tools/plan-doc-audit/audit.ts",
42
- "catalog:json": "npm run build && node scripts/emit-catalog-json.mjs"
46
+ "docs:deps": "node --experimental-strip-types tools/create-dependency-graph/create-dependency-graph.ts --root=. --include-tests",
47
+ "audit:plans": "node --experimental-strip-types tools/plan-doc-audit/audit.ts",
48
+ "catalog:json": "npm run build && node scripts/emit-catalog-json.mjs",
49
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.tests.json",
50
+ "validate": "npm run build && npm run typecheck && npm test && npm run audit:plans && npm run package:check",
51
+ "package:check": "node scripts/package-smoke.mjs"
43
52
  },
44
53
  "files": [
45
54
  "dist",
@@ -73,6 +82,7 @@
73
82
  "homepage": "https://github.com/danielsimonjr/universal-physics-tensor#readme",
74
83
  "devDependencies": {
75
84
  "@types/node": "^26.0.0",
85
+ "@vitest/coverage-v8": "^4.1.11",
76
86
  "fast-check": "^4.8.0",
77
87
  "js-yaml": "^5.0.0",
78
88
  "typescript": "^6.0.3",