@memberjunction/predictive-studio 6.2.0 → 6.3.0-edge.0

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 (390) hide show
  1. package/README.md +16 -11
  2. package/dist/actions/base-predictive-studio.action.d.ts +7 -0
  3. package/dist/actions/base-predictive-studio.action.d.ts.map +1 -1
  4. package/dist/actions/base-predictive-studio.action.js +22 -0
  5. package/dist/actions/base-predictive-studio.action.js.map +1 -1
  6. package/dist/actions/driver-classes.d.ts +2 -0
  7. package/dist/actions/driver-classes.d.ts.map +1 -1
  8. package/dist/actions/driver-classes.js +2 -0
  9. package/dist/actions/driver-classes.js.map +1 -1
  10. package/dist/actions/evaluate-drift.action.d.ts +100 -0
  11. package/dist/actions/evaluate-drift.action.d.ts.map +1 -0
  12. package/dist/actions/evaluate-drift.action.js +512 -0
  13. package/dist/actions/evaluate-drift.action.js.map +1 -0
  14. package/dist/actions/index.d.ts +3 -0
  15. package/dist/actions/index.d.ts.map +1 -1
  16. package/dist/actions/index.js +7 -0
  17. package/dist/actions/index.js.map +1 -1
  18. package/dist/actions/migrate-pipelines.action.d.ts +19 -0
  19. package/dist/actions/migrate-pipelines.action.d.ts.map +1 -0
  20. package/dist/actions/migrate-pipelines.action.js +51 -0
  21. package/dist/actions/migrate-pipelines.action.js.map +1 -0
  22. package/dist/actions/promote-model.action.d.ts +12 -1
  23. package/dist/actions/promote-model.action.d.ts.map +1 -1
  24. package/dist/actions/promote-model.action.js +7 -2
  25. package/dist/actions/promote-model.action.js.map +1 -1
  26. package/dist/actions/promote-model.gate.d.ts +31 -2
  27. package/dist/actions/promote-model.gate.d.ts.map +1 -1
  28. package/dist/actions/promote-model.gate.js +84 -5
  29. package/dist/actions/promote-model.gate.js.map +1 -1
  30. package/dist/actions/run-experiment.action.d.ts.map +1 -1
  31. package/dist/actions/run-experiment.action.js +5 -4
  32. package/dist/actions/run-experiment.action.js.map +1 -1
  33. package/dist/actions/schedule-model-scoring.action.js +2 -2
  34. package/dist/actions/schedule-model-scoring.action.js.map +1 -1
  35. package/dist/actions/score-record-set.action.js +1 -1
  36. package/dist/actions/score-record-set.action.js.map +1 -1
  37. package/dist/actions/score-record-set.runner.d.ts +2 -2
  38. package/dist/actions/score-record-set.runner.js +3 -3
  39. package/dist/actions/score-record-set.runner.js.map +1 -1
  40. package/dist/actions/train-model.action.d.ts +28 -25
  41. package/dist/actions/train-model.action.d.ts.map +1 -1
  42. package/dist/actions/train-model.action.js +50 -39
  43. package/dist/actions/train-model.action.js.map +1 -1
  44. package/dist/agent/index.d.ts +1 -1
  45. package/dist/agent/index.js +1 -1
  46. package/dist/agent/modeling-plan-to-pipeline.d.ts +0 -2
  47. package/dist/agent/modeling-plan-to-pipeline.d.ts.map +1 -1
  48. package/dist/agent/modeling-plan-to-pipeline.js +30 -39
  49. package/dist/agent/modeling-plan-to-pipeline.js.map +1 -1
  50. package/dist/agent/pipeline-builder-agent.d.ts +47 -18
  51. package/dist/agent/pipeline-builder-agent.d.ts.map +1 -1
  52. package/dist/agent/pipeline-builder-agent.js +161 -92
  53. package/dist/agent/pipeline-builder-agent.js.map +1 -1
  54. package/dist/agent/pipeline-builder.d.ts +178 -56
  55. package/dist/agent/pipeline-builder.d.ts.map +1 -1
  56. package/dist/agent/pipeline-builder.js +333 -234
  57. package/dist/agent/pipeline-builder.js.map +1 -1
  58. package/dist/experiment/budget.d.ts +61 -0
  59. package/dist/experiment/budget.d.ts.map +1 -0
  60. package/dist/experiment/budget.js +72 -0
  61. package/dist/experiment/budget.js.map +1 -0
  62. package/dist/experiment/experiment-orchestrator.d.ts +43 -7
  63. package/dist/experiment/experiment-orchestrator.d.ts.map +1 -1
  64. package/dist/experiment/experiment-orchestrator.js +130 -33
  65. package/dist/experiment/experiment-orchestrator.js.map +1 -1
  66. package/dist/experiment/index.d.ts +2 -0
  67. package/dist/experiment/index.d.ts.map +1 -1
  68. package/dist/experiment/index.js +2 -0
  69. package/dist/experiment/index.js.map +1 -1
  70. package/dist/experiment/leaderboard.d.ts +15 -15
  71. package/dist/experiment/leaderboard.d.ts.map +1 -1
  72. package/dist/experiment/leaderboard.js +44 -18
  73. package/dist/experiment/leaderboard.js.map +1 -1
  74. package/dist/experiment/scores.d.ts +32 -0
  75. package/dist/experiment/scores.d.ts.map +1 -0
  76. package/dist/experiment/scores.js +62 -0
  77. package/dist/experiment/scores.js.map +1 -0
  78. package/dist/experiment/seams.d.ts +23 -20
  79. package/dist/experiment/seams.d.ts.map +1 -1
  80. package/dist/experiment/seams.js +54 -56
  81. package/dist/experiment/seams.js.map +1 -1
  82. package/dist/experiment/types.d.ts +55 -10
  83. package/dist/experiment/types.d.ts.map +1 -1
  84. package/dist/experiment/types.js.map +1 -1
  85. package/dist/feature-assembly/as-of/as-of-assembler.d.ts +412 -0
  86. package/dist/feature-assembly/as-of/as-of-assembler.d.ts.map +1 -0
  87. package/dist/feature-assembly/as-of/as-of-assembler.js +1239 -0
  88. package/dist/feature-assembly/as-of/as-of-assembler.js.map +1 -0
  89. package/dist/feature-assembly/as-of/feature-resolution.d.ts +84 -0
  90. package/dist/feature-assembly/as-of/feature-resolution.d.ts.map +1 -0
  91. package/dist/feature-assembly/as-of/feature-resolution.js +229 -0
  92. package/dist/feature-assembly/as-of/feature-resolution.js.map +1 -0
  93. package/dist/feature-assembly/as-of/index.d.ts +15 -0
  94. package/dist/feature-assembly/as-of/index.d.ts.map +1 -0
  95. package/dist/feature-assembly/as-of/index.js +15 -0
  96. package/dist/feature-assembly/as-of/index.js.map +1 -0
  97. package/dist/feature-assembly/as-of/read-by-keys.d.ts +30 -0
  98. package/dist/feature-assembly/as-of/read-by-keys.d.ts.map +1 -0
  99. package/dist/feature-assembly/as-of/read-by-keys.js +51 -0
  100. package/dist/feature-assembly/as-of/read-by-keys.js.map +1 -0
  101. package/dist/feature-assembly/as-of/record-history.d.ts +256 -0
  102. package/dist/feature-assembly/as-of/record-history.d.ts.map +1 -0
  103. package/dist/feature-assembly/as-of/record-history.js +505 -0
  104. package/dist/feature-assembly/as-of/record-history.js.map +1 -0
  105. package/dist/feature-assembly/as-of/refusal.d.ts +19 -0
  106. package/dist/feature-assembly/as-of/refusal.d.ts.map +1 -0
  107. package/dist/feature-assembly/as-of/refusal.js +13 -0
  108. package/dist/feature-assembly/as-of/refusal.js.map +1 -0
  109. package/dist/feature-assembly/as-of/series-features.d.ts +65 -0
  110. package/dist/feature-assembly/as-of/series-features.d.ts.map +1 -0
  111. package/dist/feature-assembly/as-of/series-features.js +97 -0
  112. package/dist/feature-assembly/as-of/series-features.js.map +1 -0
  113. package/dist/feature-assembly/as-of/windowed-aggregate.d.ts +36 -0
  114. package/dist/feature-assembly/as-of/windowed-aggregate.d.ts.map +1 -0
  115. package/dist/feature-assembly/as-of/windowed-aggregate.js +99 -0
  116. package/dist/feature-assembly/as-of/windowed-aggregate.js.map +1 -0
  117. package/dist/feature-assembly/as-of.d.ts +1 -9
  118. package/dist/feature-assembly/as-of.d.ts.map +1 -1
  119. package/dist/feature-assembly/as-of.js +2 -19
  120. package/dist/feature-assembly/as-of.js.map +1 -1
  121. package/dist/feature-assembly/assembly-metadata.d.ts +34 -0
  122. package/dist/feature-assembly/assembly-metadata.d.ts.map +1 -0
  123. package/dist/feature-assembly/assembly-metadata.js +26 -0
  124. package/dist/feature-assembly/assembly-metadata.js.map +1 -0
  125. package/dist/feature-assembly/data-access.d.ts +21 -2
  126. package/dist/feature-assembly/data-access.d.ts.map +1 -1
  127. package/dist/feature-assembly/data-access.js +14 -0
  128. package/dist/feature-assembly/data-access.js.map +1 -1
  129. package/dist/feature-assembly/feature-assembly-executor.d.ts.map +1 -1
  130. package/dist/feature-assembly/feature-assembly-executor.js +5 -2
  131. package/dist/feature-assembly/feature-assembly-executor.js.map +1 -1
  132. package/dist/feature-assembly/index.d.ts +3 -0
  133. package/dist/feature-assembly/index.d.ts.map +1 -1
  134. package/dist/feature-assembly/index.js +3 -0
  135. package/dist/feature-assembly/index.js.map +1 -1
  136. package/dist/feature-assembly/leakage-guard.d.ts +1 -1
  137. package/dist/feature-assembly/leakage-guard.js +1 -1
  138. package/dist/feature-assembly/read-policy.d.ts +27 -0
  139. package/dist/feature-assembly/read-policy.d.ts.map +1 -0
  140. package/dist/feature-assembly/read-policy.js +63 -0
  141. package/dist/feature-assembly/read-policy.js.map +1 -0
  142. package/dist/feature-pipelines/feature-pipeline-engine.d.ts.map +1 -1
  143. package/dist/feature-pipelines/feature-pipeline-engine.js +3 -1
  144. package/dist/feature-pipelines/feature-pipeline-engine.js.map +1 -1
  145. package/dist/index.d.ts +5 -2
  146. package/dist/index.d.ts.map +1 -1
  147. package/dist/index.js +16 -4
  148. package/dist/index.js.map +1 -1
  149. package/dist/maintenance/index.d.ts +1 -0
  150. package/dist/maintenance/index.d.ts.map +1 -1
  151. package/dist/maintenance/index.js +1 -0
  152. package/dist/maintenance/index.js.map +1 -1
  153. package/dist/maintenance/maintenance-engine.d.ts +16 -19
  154. package/dist/maintenance/maintenance-engine.d.ts.map +1 -1
  155. package/dist/maintenance/maintenance-engine.js +53 -53
  156. package/dist/maintenance/maintenance-engine.js.map +1 -1
  157. package/dist/maintenance/metrics.d.ts +19 -15
  158. package/dist/maintenance/metrics.d.ts.map +1 -1
  159. package/dist/maintenance/metrics.js +29 -24
  160. package/dist/maintenance/metrics.js.map +1 -1
  161. package/dist/maintenance/psi-drift-detector.d.ts +246 -0
  162. package/dist/maintenance/psi-drift-detector.d.ts.map +1 -0
  163. package/dist/maintenance/psi-drift-detector.js +1002 -0
  164. package/dist/maintenance/psi-drift-detector.js.map +1 -0
  165. package/dist/maintenance/types.d.ts +11 -2
  166. package/dist/maintenance/types.d.ts.map +1 -1
  167. package/dist/maintenance/types.js.map +1 -1
  168. package/dist/migration/index.d.ts +8 -0
  169. package/dist/migration/index.d.ts.map +1 -0
  170. package/dist/migration/index.js +8 -0
  171. package/dist/migration/index.js.map +1 -0
  172. package/dist/migration/legacy-pipeline-migration.d.ts +138 -0
  173. package/dist/migration/legacy-pipeline-migration.d.ts.map +1 -0
  174. package/dist/migration/legacy-pipeline-migration.js +273 -0
  175. package/dist/migration/legacy-pipeline-migration.js.map +1 -0
  176. package/dist/operations/delegation.d.ts +58 -46
  177. package/dist/operations/delegation.d.ts.map +1 -1
  178. package/dist/operations/delegation.js +90 -77
  179. package/dist/operations/delegation.js.map +1 -1
  180. package/dist/operations/promote-model.operation.d.ts +2 -2
  181. package/dist/operations/promote-model.operation.d.ts.map +1 -1
  182. package/dist/operations/promote-model.operation.js +6 -2
  183. package/dist/operations/promote-model.operation.js.map +1 -1
  184. package/dist/operations/refusals.d.ts +5 -0
  185. package/dist/operations/refusals.d.ts.map +1 -1
  186. package/dist/operations/refusals.js +26 -1
  187. package/dist/operations/refusals.js.map +1 -1
  188. package/dist/operations/start-experiment-session.operation.js +3 -3
  189. package/dist/operations/train-model.mapping.d.ts +91 -0
  190. package/dist/operations/train-model.mapping.d.ts.map +1 -0
  191. package/dist/operations/train-model.mapping.js +145 -0
  192. package/dist/operations/train-model.mapping.js.map +1 -0
  193. package/dist/operations/train-model.operation.d.ts +14 -9
  194. package/dist/operations/train-model.operation.d.ts.map +1 -1
  195. package/dist/operations/train-model.operation.js +30 -51
  196. package/dist/operations/train-model.operation.js.map +1 -1
  197. package/dist/prediction-unit/decision-date-advance.d.ts +46 -0
  198. package/dist/prediction-unit/decision-date-advance.d.ts.map +1 -0
  199. package/dist/prediction-unit/decision-date-advance.js +79 -0
  200. package/dist/prediction-unit/decision-date-advance.js.map +1 -0
  201. package/dist/prediction-unit/index.d.ts +12 -0
  202. package/dist/prediction-unit/index.d.ts.map +1 -0
  203. package/dist/prediction-unit/index.js +12 -0
  204. package/dist/prediction-unit/index.js.map +1 -0
  205. package/dist/prediction-unit/target-validation.d.ts +21 -0
  206. package/dist/prediction-unit/target-validation.d.ts.map +1 -0
  207. package/dist/prediction-unit/target-validation.js +54 -0
  208. package/dist/prediction-unit/target-validation.js.map +1 -0
  209. package/dist/prediction-unit/unit-row-reader.d.ts +108 -0
  210. package/dist/prediction-unit/unit-row-reader.d.ts.map +1 -0
  211. package/dist/prediction-unit/unit-row-reader.js +348 -0
  212. package/dist/prediction-unit/unit-row-reader.js.map +1 -0
  213. package/dist/prediction-unit/unit-store.d.ts +28 -0
  214. package/dist/prediction-unit/unit-store.d.ts.map +1 -0
  215. package/dist/prediction-unit/unit-store.js +41 -0
  216. package/dist/prediction-unit/unit-store.js.map +1 -0
  217. package/dist/prediction-unit/unit-versioning.d.ts +43 -0
  218. package/dist/prediction-unit/unit-versioning.d.ts.map +1 -0
  219. package/dist/prediction-unit/unit-versioning.js +71 -0
  220. package/dist/prediction-unit/unit-versioning.js.map +1 -0
  221. package/dist/protocol/index.d.ts +9 -0
  222. package/dist/protocol/index.d.ts.map +1 -0
  223. package/dist/protocol/index.js +9 -0
  224. package/dist/protocol/index.js.map +1 -0
  225. package/dist/protocol/protocol-defaults.d.ts +37 -0
  226. package/dist/protocol/protocol-defaults.d.ts.map +1 -0
  227. package/dist/protocol/protocol-defaults.js +59 -0
  228. package/dist/protocol/protocol-defaults.js.map +1 -0
  229. package/dist/protocol/protocol-versioning.d.ts +46 -0
  230. package/dist/protocol/protocol-versioning.d.ts.map +1 -0
  231. package/dist/protocol/protocol-versioning.js +48 -0
  232. package/dist/protocol/protocol-versioning.js.map +1 -0
  233. package/dist/protocol/search-guard.d.ts +45 -0
  234. package/dist/protocol/search-guard.d.ts.map +1 -0
  235. package/dist/protocol/search-guard.js +50 -0
  236. package/dist/protocol/search-guard.js.map +1 -0
  237. package/dist/scoring/artifact-loader.d.ts +5 -32
  238. package/dist/scoring/artifact-loader.d.ts.map +1 -1
  239. package/dist/scoring/artifact-loader.js +4 -59
  240. package/dist/scoring/artifact-loader.js.map +1 -1
  241. package/dist/scoring/auto-train.d.ts +25 -5
  242. package/dist/scoring/auto-train.d.ts.map +1 -1
  243. package/dist/scoring/auto-train.js +48 -31
  244. package/dist/scoring/auto-train.js.map +1 -1
  245. package/dist/scoring/index.d.ts +3 -0
  246. package/dist/scoring/index.d.ts.map +1 -1
  247. package/dist/scoring/index.js +3 -0
  248. package/dist/scoring/index.js.map +1 -1
  249. package/dist/scoring/ml-model-inference-processor.d.ts +137 -10
  250. package/dist/scoring/ml-model-inference-processor.d.ts.map +1 -1
  251. package/dist/scoring/ml-model-inference-processor.js +383 -40
  252. package/dist/scoring/ml-model-inference-processor.js.map +1 -1
  253. package/dist/scoring/model-readiness.d.ts +45 -0
  254. package/dist/scoring/model-readiness.d.ts.map +1 -1
  255. package/dist/scoring/model-readiness.js +49 -0
  256. package/dist/scoring/model-readiness.js.map +1 -1
  257. package/dist/scoring/register.d.ts +8 -3
  258. package/dist/scoring/register.d.ts.map +1 -1
  259. package/dist/scoring/register.js +28 -4
  260. package/dist/scoring/register.js.map +1 -1
  261. package/dist/scoring/seams.d.ts +18 -2
  262. package/dist/scoring/seams.d.ts.map +1 -1
  263. package/dist/scoring/seams.js +35 -10
  264. package/dist/scoring/seams.js.map +1 -1
  265. package/dist/scoring/shadow-scoring.d.ts +245 -0
  266. package/dist/scoring/shadow-scoring.d.ts.map +1 -0
  267. package/dist/scoring/shadow-scoring.js +510 -0
  268. package/dist/scoring/shadow-scoring.js.map +1 -0
  269. package/dist/scoring/startup-register.d.ts +3 -3
  270. package/dist/scoring/startup-register.d.ts.map +1 -1
  271. package/dist/scoring/startup-register.js +10 -4
  272. package/dist/scoring/startup-register.js.map +1 -1
  273. package/dist/scoring/storage-provider-artifact-loader.d.ts +14 -0
  274. package/dist/scoring/storage-provider-artifact-loader.d.ts.map +1 -0
  275. package/dist/scoring/storage-provider-artifact-loader.js +47 -0
  276. package/dist/scoring/storage-provider-artifact-loader.js.map +1 -0
  277. package/dist/scoring/training-keys.d.ts +27 -0
  278. package/dist/scoring/training-keys.d.ts.map +1 -0
  279. package/dist/scoring/training-keys.js +54 -0
  280. package/dist/scoring/training-keys.js.map +1 -0
  281. package/dist/scoring/types.d.ts +72 -7
  282. package/dist/scoring/types.d.ts.map +1 -1
  283. package/dist/scoring/types.js +4 -0
  284. package/dist/scoring/types.js.map +1 -1
  285. package/dist/sidecar-provider.d.ts +2 -2
  286. package/dist/sidecar-provider.js +3 -3
  287. package/dist/snapshot/code-version.d.ts +16 -0
  288. package/dist/snapshot/code-version.d.ts.map +1 -0
  289. package/dist/snapshot/code-version.js +39 -0
  290. package/dist/snapshot/code-version.js.map +1 -0
  291. package/dist/snapshot/holdout-carver.d.ts +110 -0
  292. package/dist/snapshot/holdout-carver.d.ts.map +1 -0
  293. package/dist/snapshot/holdout-carver.js +171 -0
  294. package/dist/snapshot/holdout-carver.js.map +1 -0
  295. package/dist/snapshot/index.d.ts +17 -0
  296. package/dist/snapshot/index.d.ts.map +1 -0
  297. package/dist/snapshot/index.js +17 -0
  298. package/dist/snapshot/index.js.map +1 -0
  299. package/dist/snapshot/snapshot-builder.d.ts +152 -0
  300. package/dist/snapshot/snapshot-builder.d.ts.map +1 -0
  301. package/dist/snapshot/snapshot-builder.js +286 -0
  302. package/dist/snapshot/snapshot-builder.js.map +1 -0
  303. package/dist/snapshot/snapshot-file-store.d.ts +161 -0
  304. package/dist/snapshot/snapshot-file-store.d.ts.map +1 -0
  305. package/dist/snapshot/snapshot-file-store.js +204 -0
  306. package/dist/snapshot/snapshot-file-store.js.map +1 -0
  307. package/dist/snapshot/snapshot-hash.d.ts +6 -0
  308. package/dist/snapshot/snapshot-hash.d.ts.map +1 -0
  309. package/dist/snapshot/snapshot-hash.js +16 -0
  310. package/dist/snapshot/snapshot-hash.js.map +1 -0
  311. package/dist/snapshot/snapshot-manifest.d.ts +43 -0
  312. package/dist/snapshot/snapshot-manifest.d.ts.map +1 -0
  313. package/dist/snapshot/snapshot-manifest.js +43 -0
  314. package/dist/snapshot/snapshot-manifest.js.map +1 -0
  315. package/dist/snapshot/snapshot-retrainer.d.ts +107 -0
  316. package/dist/snapshot/snapshot-retrainer.d.ts.map +1 -0
  317. package/dist/snapshot/snapshot-retrainer.js +194 -0
  318. package/dist/snapshot/snapshot-retrainer.js.map +1 -0
  319. package/dist/snapshot/snapshot-serialization.d.ts +99 -0
  320. package/dist/snapshot/snapshot-serialization.d.ts.map +1 -0
  321. package/dist/snapshot/snapshot-serialization.js +191 -0
  322. package/dist/snapshot/snapshot-serialization.js.map +1 -0
  323. package/dist/snapshot/training-snapshot-store.d.ts +38 -0
  324. package/dist/snapshot/training-snapshot-store.d.ts.map +1 -0
  325. package/dist/snapshot/training-snapshot-store.js +41 -0
  326. package/dist/snapshot/training-snapshot-store.js.map +1 -0
  327. package/dist/storage/ps-storage-provider.d.ts +108 -0
  328. package/dist/storage/ps-storage-provider.d.ts.map +1 -0
  329. package/dist/storage/ps-storage-provider.js +154 -0
  330. package/dist/storage/ps-storage-provider.js.map +1 -0
  331. package/dist/training/artifact-store.d.ts +12 -103
  332. package/dist/training/artifact-store.d.ts.map +1 -1
  333. package/dist/training/artifact-store.js +13 -137
  334. package/dist/training/artifact-store.js.map +1 -1
  335. package/dist/training/compute-cost.d.ts +23 -0
  336. package/dist/training/compute-cost.d.ts.map +1 -0
  337. package/dist/training/compute-cost.js +36 -0
  338. package/dist/training/compute-cost.js.map +1 -0
  339. package/dist/training/evaluation-protocol-store.d.ts +53 -0
  340. package/dist/training/evaluation-protocol-store.d.ts.map +1 -0
  341. package/dist/training/evaluation-protocol-store.js +54 -0
  342. package/dist/training/evaluation-protocol-store.js.map +1 -0
  343. package/dist/training/index.d.ts +9 -1
  344. package/dist/training/index.d.ts.map +1 -1
  345. package/dist/training/index.js +9 -1
  346. package/dist/training/index.js.map +1 -1
  347. package/dist/training/locked-holdout.d.ts +19 -4
  348. package/dist/training/locked-holdout.d.ts.map +1 -1
  349. package/dist/training/locked-holdout.js +29 -5
  350. package/dist/training/locked-holdout.js.map +1 -1
  351. package/dist/training/seams.d.ts +34 -8
  352. package/dist/training/seams.d.ts.map +1 -1
  353. package/dist/training/seams.js +74 -18
  354. package/dist/training/seams.js.map +1 -1
  355. package/dist/training/storage-provider-artifact-store.d.ts +49 -0
  356. package/dist/training/storage-provider-artifact-store.d.ts.map +1 -0
  357. package/dist/training/storage-provider-artifact-store.js +147 -0
  358. package/dist/training/storage-provider-artifact-store.js.map +1 -0
  359. package/dist/training/trainer-model-lineage.d.ts +32 -0
  360. package/dist/training/trainer-model-lineage.d.ts.map +1 -0
  361. package/dist/training/trainer-model-lineage.js +62 -0
  362. package/dist/training/trainer-model-lineage.js.map +1 -0
  363. package/dist/training/trainer-request.d.ts +50 -0
  364. package/dist/training/trainer-request.d.ts.map +1 -0
  365. package/dist/training/trainer-request.js +65 -0
  366. package/dist/training/trainer-request.js.map +1 -0
  367. package/dist/training/trainer-result.d.ts +30 -0
  368. package/dist/training/trainer-result.d.ts.map +1 -0
  369. package/dist/training/trainer-result.js +40 -0
  370. package/dist/training/trainer-result.js.map +1 -0
  371. package/dist/training/training-engine.d.ts +417 -64
  372. package/dist/training/training-engine.d.ts.map +1 -1
  373. package/dist/training/training-engine.js +869 -178
  374. package/dist/training/training-engine.js.map +1 -1
  375. package/dist/training/training-refusal.d.ts +15 -0
  376. package/dist/training/training-refusal.d.ts.map +1 -0
  377. package/dist/training/training-refusal.js +62 -0
  378. package/dist/training/training-refusal.js.map +1 -0
  379. package/dist/training/types.d.ts +133 -41
  380. package/dist/training/types.d.ts.map +1 -1
  381. package/dist/training/types.js +4 -4
  382. package/dist/training/unit-model-lineage.d.ts +72 -0
  383. package/dist/training/unit-model-lineage.d.ts.map +1 -0
  384. package/dist/training/unit-model-lineage.js +288 -0
  385. package/dist/training/unit-model-lineage.js.map +1 -0
  386. package/package.json +16 -13
  387. package/dist/operations/__tests__/helpers.d.ts +0 -30
  388. package/dist/operations/__tests__/helpers.d.ts.map +0 -1
  389. package/dist/operations/__tests__/helpers.js +0 -44
  390. package/dist/operations/__tests__/helpers.js.map +0 -1
@@ -18,7 +18,12 @@
18
18
  * 2. **Assemble features** via the SAME {@link FeatureAssemblyExecutor} as
19
19
  * training, in the **on-demand / transform-only** context, using the model's
20
20
  * FROZEN `FeatureSchema` + `FittedPreprocessing` (never re-fit — the anti-skew
21
- * guarantee, §6.2). The matrix shape matches what the model expects.
21
+ * guarantee, §6.2). The matrix shape matches what the model expects. A model
22
+ * trained on a Prediction Unit is assembled instead by
23
+ * {@link MLModelInferenceProcessor.AssembleForScoring}: the scoped rows are dated
24
+ * by the unit's decision-date rule and read as of that date through the same
25
+ * `AsOfFeatureAssembler` training used, with the feature columns and categorical
26
+ * levels training stored in the model Lineage.
22
27
  * 3. **Call the sidecar `/predict`** with the artifact + frozen preprocessing +
23
28
  * feature schema + the assembled row(s) → predictions (score + class).
24
29
  * 4. **Produce the per-record `RecordResult`** carrying the prediction.
@@ -39,9 +44,19 @@
39
44
  * processor dynamically by work-type key via {@link resolveMLInferenceProcessor}.
40
45
  */
41
46
  import type { IRecordProcessor, RecordProcessorContext, RecordRef, RecordResult } from '@memberjunction/record-set-processor-base';
42
- import { type FeatureSchemaEntry, type ProblemType, type MatrixData } from '@memberjunction/predictive-studio-core';
47
+ import { type FeatureSchemaEntry, type ProblemType, type MatrixData, type PredictionUnitSpec } from '@memberjunction/predictive-studio-core';
43
48
  import { FeatureAssemblyExecutor } from '../feature-assembly/index.js';
49
+ import type { SourceRow } from '../feature-assembly/index.js';
50
+ import { type ICountingDataAccess } from '../feature-assembly/data-access.js';
51
+ import { type IAssemblyMetadata } from '../feature-assembly/assembly-metadata.js';
52
+ import { type AsOfAssemblyResult } from '../feature-assembly/as-of/as-of-assembler.js';
53
+ import type { SeriesHistory } from '../feature-assembly/as-of/series-features.js';
44
54
  import type { MLModelInferenceProcessorOptions } from './types.js';
55
+ /** The read seams a unit model's scoring assembly uses: the run's metadata and counting data access. */
56
+ export interface ScoringSeams {
57
+ readonly Metadata: IAssemblyMetadata;
58
+ readonly DataAccess: ICountingDataAccess;
59
+ }
45
60
  /** Stable work-type keys this processor is registered under on the ClassFactory. */
46
61
  export declare const ML_INFERENCE_WORK_TYPE = "ML Model";
47
62
  /** Alias work-type key (no spaces) for callers that prefer an identifier-style key. */
@@ -50,6 +65,10 @@ export declare const ML_INFERENCE_WORK_TYPE_ALIAS = "MLModelInference";
50
65
  * Record Set Processing **scoring** processor. Stateless across records except
51
66
  * for a warm, lazily-loaded model cache (artifact + frozen contract) shared
52
67
  * across a batch. Construct one per Record Process run.
68
+ *
69
+ * Note on drift population: An ML Record Process with no challenger configured
70
+ * does not run shadow sampling, so no Feature Values are recorded and the
71
+ * scheduled drift sweep reports InsufficientData for it (S5).
53
72
  */
54
73
  export declare class MLModelInferenceProcessor implements IRecordProcessor {
55
74
  /** The model to score with. Mutable only so an opt-in auto-train can retarget the run at the freshly trained model. */
@@ -60,15 +79,36 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
60
79
  private readonly primaryKeyField;
61
80
  private readonly datedSources?;
62
81
  private readonly assembler;
82
+ private readonly recordProcessId?;
83
+ private readonly challengerConfig?;
84
+ private readonly shadowCoordinator?;
63
85
  /** Warm model cache — loaded once on first record, reused across the batch. */
64
86
  private loadedModel;
65
87
  /** Memoized in-flight load so concurrent records don't double-load the artifact. */
66
88
  private loadPromise;
89
+ /**
90
+ * The run's one scoring instant, read by its first unit assembly and kept for every later batch: every row of a run is
91
+ * dated (an advancing fixed decision date), assembled and read for lags as of the same instant.
92
+ */
93
+ private scoringInstant;
94
+ /**
95
+ * The run's series history ({@link SeriesHistoryForScoring}), built by the first batch that needs it and reused by
96
+ * every later batch of the run, so the unit's rows are read once per run, not once per batch. A processor is
97
+ * constructed per run, so it is never shared across runs. One entry, bounded by construction: keyed by the unit
98
+ * version, the run's scoring instant and the user it was read as, a different key replaces it, a failed build is
99
+ * dropped so a later batch retries, and {@link resetModelCache} clears it when the run retargets its model.
100
+ */
101
+ private seriesHistoryEntry;
67
102
  /**
68
103
  * @param options model id + injected seams (+ optional pk field / dated sources)
69
104
  * @param assembler optional FeatureAssembly executor override (tests may inject one)
70
105
  */
71
106
  constructor(options: MLModelInferenceProcessorOptions, assembler?: FeatureAssemblyExecutor);
107
+ /**
108
+ * Convert a row-major {@link MatrixData} into schema-ordered feature row objects.
109
+ * Exposed as a static method so callers and unit tests can spy on conversion counts.
110
+ */
111
+ static MatrixToFeatureRows(matrix: MatrixData, featureSchema: FeatureSchemaEntry[]): Array<Record<string, string | number | boolean | null>>;
72
112
  /**
73
113
  * Run-level readiness check (the Record Set Processing `Preflight` seam): warm-loads
74
114
  * the model + artifact ONCE before the first batch, so a model that needs training
@@ -84,7 +124,14 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
84
124
  * @throws when the model is missing, has no trained artifact, or its artifact can't be loaded
85
125
  */
86
126
  Preflight(context: RecordProcessorContext): Promise<void>;
87
- /** Drop the warm-model cache (and any memoized failed load). */
127
+ /** Warm-load the model, training it first when it needs training and the run opted into auto-train. */
128
+ private loadForPreflight;
129
+ /**
130
+ * A unit model scores records of its unit's row entity only: a scope over another entity is refused before any
131
+ * record is read (`scope-entity-mismatch`), since its records would be read through the wrong rows.
132
+ */
133
+ private assertScopeEntity;
134
+ /** Drop the warm-model cache (and any memoized failed load) and the series history read for that model's unit. */
88
135
  private resetModelCache;
89
136
  /**
90
137
  * Score one record. Warm-loads the model on first call, assembles the single
@@ -108,6 +155,11 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
108
155
  * @param context the execution context (user + provider)
109
156
  */
110
157
  ProcessBatch(records: RecordRef[], context: RecordProcessorContext): Promise<RecordResult[]>;
158
+ /**
159
+ * Mirrors a sampled record to the challenger. Returns what was dispatched: the record's champion audit write
160
+ * (never rejects) for the caller to await, and whether the challenger was dropped. Nothing dispatched settles at once.
161
+ */
162
+ private dispatchShadowIfConfigured;
111
163
  /**
112
164
  * Load the model + artifact ONCE and cache it for the run (§3.1 warm cache).
113
165
  * Concurrent records share a single in-flight load via {@link loadPromise} so
@@ -119,14 +171,27 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
119
171
  /**
120
172
  * Refuse a model whose lifecycle status or missing artifact forbids scoring, in this order: a Draft with no artifact
121
173
  * needs training (the opt-in auto-train path reacts to that, D2-C3) and a trained Draft is not scorable; Validated and
122
- * Published score once they have an artifact; any other status (Archived, or a value CodeGen adds later) is refused
123
- * before the artifact is looked at.
174
+ * Published score once they have an artifact that `/predict` serves (a series forecaster's is refused with
175
+ * {@link ModelNotServableError}, never "needs training", so auto-train does not retrain for it); any other status (Archived, or a value CodeGen adds later) is refused
176
+ * before the artifact is looked at. Returns the artifact file of a model that may score.
124
177
  */
125
178
  private assertStatusCanScore;
126
- /** Throw "needs training" when the model has no trained artifact reference. */
127
- private assertHasArtifact;
179
+ /** The model's trained artifact file; throws "needs training" when it has none. */
180
+ private requireArtifactFileId;
128
181
  /** Assemble the frozen inference contract from a loaded model row + artifact bytes. */
129
182
  private buildLoadedModel;
183
+ /**
184
+ * The unit a model was trained on, with the feature columns and categorical levels its Lineage stored; null for a
185
+ * legacy model. The model's own Lineage, frozen at training, decides, by the marker only unit training writes
186
+ * (`predictionUnitId`): a Lineage that carries it takes the unit path (the unit it stored, even when the pipeline's
187
+ * editable `PredictionUnitID` was later cleared or moved) and must validate. Every other readable Lineage is a model
188
+ * trained before Prediction Units (every such shape, with or without the feature graph, which the pipeline-row
189
+ * fallback rebuilds): it keeps scoring on the legacy path even after the migration bound its pipeline to a unit. A
190
+ * Lineage that cannot be read fails loudly on a pipeline that points at a unit (it cannot be told apart); on one that
191
+ * does not, the model is legacy, as it always was. A unit Lineage that fails validation, or whose unit cannot be
192
+ * loaded or parsed, fails loudly naming the model; it is never scored through the legacy current-value path.
193
+ */
194
+ private loadUnitModel;
130
195
  /**
131
196
  * Fallback to query `MJ: ML Training Pipelines` when the model's frozen lineage blob
132
197
  * lacks featureSteps or targetEntityName.
@@ -146,6 +211,64 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
146
211
  * (the sidecar applies the frozen `FittedPreprocessing`).
147
212
  */
148
213
  private assembleFeatures;
214
+ /** Refuse to score with an empty matrix when the model's schema expects features (degenerate predictions). */
215
+ private assertHasColumns;
216
+ /**
217
+ * A unit model's matrix, assembled as of each row's decision date. A refusal is thrown as a typed
218
+ * {@link TrainingRefusedError}. A row the history cannot read as of its decision date (its history starts after it,
219
+ * or its parent was hard-deleted before it) fails the whole batch, since the results are aligned by position: it is
220
+ * thrown as the typed `decision-date-before-change-history` refusal training's `refuse` policy raises, built from the
221
+ * first uncovered entity field, whatever the unit's `onUncoveredRow` policy.
222
+ */
223
+ private assembleUnitFeatures;
224
+ /** The refusal of an uncovered entity field: its history start is the one the assembly's coverage reports for it. */
225
+ private static uncoveredRefusal;
226
+ /**
227
+ * Assemble a unit model's feature rows for scoring through the same `AsOfFeatureAssembler` training uses. The scoped
228
+ * rows are read by key (only the fields that date them: the decision-date column, the grain foreign key, the time
229
+ * column); each is dated by the unit's rule (`'unit-rule'`, the reader's own rule) or, given a date, every row is read
230
+ * as of that day. The assembler gets the feature columns and kept categorical levels training stored, so a value
231
+ * reads and folds exactly as it did in training. A refusal (a key that is not found, a read the history does not
232
+ * cover) is returned as the refused result; the scoring path throws it as a typed `TrainingRefusedError`. The run
233
+ * reads its clock once, on its first assembly: every batch of the run is dated and assembled as of that instant and
234
+ * reads its lags from one series history, built by the first batch that needs it.
235
+ *
236
+ * @param rows the rows to score; each carries the unit row entity's primary key
237
+ * @param context the run's user and provider
238
+ * @param asOf `'unit-rule'` to date each row by the unit, or one date for every row
239
+ */
240
+ AssembleForScoring(rows: SourceRow[], context: RecordProcessorContext, asOf: 'unit-rule' | Date): Promise<AsOfAssemblyResult>;
241
+ /** The unit part of a loaded model; a model trained without a unit has no as-of assembly. */
242
+ private requireUnit;
243
+ /** The run's metadata and data access, unless the deps supply them; never a global provider. */
244
+ private scoringSeams;
245
+ /** A scoped row's key: the unit row entity's primary key (or the processor's key field); a row without one fails. */
246
+ private rowKey;
247
+ /** The row fields the unit's rule dates a row with: its decision-date or period column, grain foreign key and time column. */
248
+ private static datingFields;
249
+ /**
250
+ * One scoped row as the assembler reads it, by the unit row rule the training reader uses; `asOf` sets its decision
251
+ * day. Under the unit rule a fixed decision date that advances each run is the scoring run's UTC day (`now`), the day
252
+ * a training run started now would advance it to; the stored date is the day the model was trained.
253
+ */
254
+ private static rowRef;
255
+ /** The run's scoring instant: the clock read by the run's first unit assembly ({@link scoringInstant}). */
256
+ private runScoringInstant;
257
+ /**
258
+ * The run's series history ({@link seriesHistoryEntry}): built once for the key and shared by every batch, concurrent
259
+ * ones included (they await one in-flight read). Without a user there is no safe key, so the history is read for the
260
+ * batch and not kept: rows read under one user's permissions are never handed to another.
261
+ */
262
+ private seriesHistoryForRun;
263
+ /**
264
+ * The series history a unit with a Temporal Spec reads its lags from at scoring, built from the unit's rows the way
265
+ * training builds it. Rows whose outcome window has not closed by the unit's cutoff are kept, not censored: a period's
266
+ * value is its resolved outcome, and a lag reads it only once its outcome window has closed by the row's decision day
267
+ * and the scoring day (`SeriesFeatures.ComputeSeriesFeature`). A period whose window closed after the unit's cutoff but
268
+ * before the scoring day is therefore read, as training would read it had it run on the scoring day, and a period
269
+ * still open is kept in the history but never read.
270
+ */
271
+ static SeriesHistoryForScoring(spec: PredictionUnitSpec, seams: ScoringSeams, now: Date): Promise<SeriesHistory | null>;
149
272
  /**
150
273
  * Build the `/predict` request from the model's frozen contract + the assembled
151
274
  * matrix and call the sidecar. The matrix's row-arrays are mapped to the
@@ -153,7 +276,7 @@ export declare class MLModelInferenceProcessor implements IRecordProcessor {
153
276
  * feature schema order (the inference input contract).
154
277
  */
155
278
  private callSidecar;
156
- /** Shape a single sidecar prediction into the record result payload. */
279
+ /** Shape a single sidecar prediction for the record `recordId` (its serialized key) into the record result payload. */
157
280
  private toPayload;
158
281
  /** Extract a plain field map from the record (BaseEntity → GetAll(), plain object → as-is). */
159
282
  private recordToPlain;
@@ -186,6 +309,12 @@ export interface MLInferenceResultPayload {
186
309
  * which moves on any edit, not just scoring.
187
310
  */
188
311
  scoredAt: string;
312
+ /**
313
+ * True when this record contributed a development row to the model's Training Snapshot (its id is a development row
314
+ * id of the snapshot's manifest): per row, so a record held out in the locked holdout, or never in the snapshot, is
315
+ * false. Always false for a model trained without a snapshot.
316
+ */
317
+ inTraining: boolean;
189
318
  /** Qualitative status label evaluated against model OutcomeConfig (e.g. "High", "Low Risk", "Severe"). */
190
319
  status?: string;
191
320
  /** Normalized status tier key (e.g. "high", "medium", "low"). */
@@ -206,6 +335,4 @@ export interface MLInferenceResultPayload {
206
335
  * from the matrix are emitted as `null` (the sidecar imputes via fitted params).
207
336
  */
208
337
  export declare function MatrixToFeatureRows(matrix: MatrixData, featureSchema: FeatureSchemaEntry[]): Array<Record<string, string | number | boolean | null>>;
209
- /** @deprecated Use {@link MatrixToFeatureRows}. */
210
- export declare function matrixToFeatureRows(matrix: MatrixData, featureSchema: FeatureSchemaEntry[]): Array<Record<string, string | number | boolean | null>>;
211
338
  //# sourceMappingURL=ml-model-inference-processor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ml-model-inference-processor.d.ts","sourceRoot":"","sources":["../../src/scoring/ml-model-inference-processor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAIH,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,YAAY,EACb,MAAM,2CAA2C,CAAC;AAInD,OAAO,EAOL,KAAK,kBAAkB,EAKvB,KAAK,WAAW,EAEhB,KAAK,UAAU,EAEhB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAoD,MAAM,qBAAqB,CAAC;AAShH,OAAO,KAAK,EAGV,gCAAgC,EAGjC,MAAM,SAAS,CAAC;AAEjB,oFAAoF;AACpF,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,uFAAuF;AACvF,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D;;;;GAIG;AACH,qBACa,yBAA0B,YAAW,gBAAgB;IAChE,uHAAuH;IACvH,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,Q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