@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
@@ -5,15 +5,36 @@
5
5
  * of Database Designer's schema builder and Agent Manager's `AgentSpecSync`. It takes an approved,
6
6
  * strongly-typed {@link ModelingPlanSpec} and, in pure code (NO LLM), crafts the actual metadata:
7
7
  * creates the `MJ: ML Training Pipelines` row, kicks off training, then **publishes the model only
8
- * if the trust verdict clears the bar** — the same `TrustVerdicts.DeriveTrustVerdict` gate the business UI uses, so
9
- * a coin-flip / unmeasured / leakage-flagged model is never silently published into the catalog.
8
+ * if the trust verdict clears the bar** — the same `TrustVerdicts.DeriveTrustVerdict` rendering of the training run's
9
+ * stored gate decision the business UI uses, so a model the gate did not ship, a model trained without an Evaluation
10
+ * Protocol (not evaluated), a leakage-flagged model or a calibration-held model is never silently published into the
11
+ * catalog. Publishing goes through the promotion gate (`ProductionModelPromotionGate`: Draft → Validated → Published,
12
+ * with no sign-off), so its readiness checks and the per-model scoring Action apply; a refusal holds the model with
13
+ * the gate's reason.
14
+ *
15
+ * Every approved experiment is a candidate of ONE search on ONE pipeline. The saved pipeline is bound to version 1 of
16
+ * a Prediction Unit mapped from the plan's target (the pipeline migration's mapping; a target the mapping would archive
17
+ * or hold is refused) and to an Evaluation Protocol before it trains, and the trainer picks the finalist on inner-fold
18
+ * scores (the simplest candidate within one standard error of the best), reading the held-back rows once, for the
19
+ * finalist.
10
20
  *
11
21
  * Used by the agent's builder sub-agent AND directly callable from a headless script/test, so the
12
22
  * "build a new prediction" path is verifiable without the full LLM loop.
13
23
  */
14
24
  import { type IMetadataProvider, type UserInfo, type EntityInfo } from '@memberjunction/core';
15
- import type { MJMLTrainingPipelineEntity, MJMLModelEntity } from '@memberjunction/core-entities';
16
- import { type ModelingPlanSpec, type TrustVerdict, type FeatureStepWarning } from '@memberjunction/predictive-studio-core';
25
+ import type { MJMLAlgorithmEntity, MJMLTrainingPipelineEntity, MJMLModelEntity } from '@memberjunction/core-entities';
26
+ import { type CandidateSpec, type FeatureStepWarning, type GateOutcome, type ModelingPlanSpec, type TrustVerdict } from '@memberjunction/predictive-studio-core';
27
+ import { type PipelineConfig } from './modeling-plan-to-pipeline.js';
28
+ import type { IModelPromotionGate } from '../actions/promote-model.action.js';
29
+ import type { ProposedExperiment } from '../experiment/types.js';
30
+ /** Baseline member names a candidate may not take (with the `heuristic:` prefix); the sidecar refuses them too. */
31
+ export declare const RESERVED_CANDIDATE_NAMES: readonly string[];
32
+ /** The prefix of the incumbent-heuristic baseline members' names, reserved like {@link RESERVED_CANDIDATE_NAMES}. */
33
+ export declare const RESERVED_CANDIDATE_PREFIX = "heuristic:";
34
+ /** An `MJ: ML Algorithms` row an experiment's algorithm name resolved to. */
35
+ export type ResolvedAlgorithm = Pick<MJMLAlgorithmEntity, 'ID' | 'DriverClass'>;
36
+ /** The `MJ: ML Algorithms` columns an algorithm name is matched on. */
37
+ export type AlgorithmRow = Pick<MJMLAlgorithmEntity, 'ID' | 'Name' | 'DriverClass'>;
17
38
  /** Inputs for {@link PredictiveStudioPipelineBuilder.build}. */
18
39
  export interface BuildPredictionInput {
19
40
  /** The approved modeling plan the agent accumulated. */
@@ -22,29 +43,54 @@ export interface BuildPredictionInput {
22
43
  provider: IMetadataProvider;
23
44
  /** The acting user (isolation/audit). */
24
45
  user: UserInfo;
25
- /** Publish the trained model when the trust verdict clears the bar. Default true. */
46
+ /**
47
+ * Publish the trained model when the trust verdict clears the bar. Default true. The Model Development Agent's build
48
+ * turns it off, so the model it trains stays in Draft until the user asks for it to be published.
49
+ */
26
50
  autoPublish?: boolean;
27
51
  /** Sidecar version marker recorded in lineage. */
28
52
  sidecarVersion?: string;
29
53
  }
30
54
  /**
31
- * Leaderboard entry matching MLExperimentResultsSpec. `Metric`/`score` is the candidate's measured headline metric
32
- * (the same one its trust verdict uses), or null when the candidate was not measured — never a stand-in number.
55
+ * Leaderboard entry matching MLExperimentResultsSpec (its keys are the artifact's JSON keys). For a search, a row is a
56
+ * candidate's inner-fold mean with its interval, labelled optimistic, and the trainer's finalist is the winner even
57
+ * when it is not rank 1. For a pipeline trained without a search, the one row is the stored comparison with the flat
58
+ * guess its trust verdict quotes, or null when the run stores none (not evaluated) — never a stand-in number.
33
59
  */
34
60
  export interface MLLeaderboardEntryPayload {
61
+ /** The experiment iteration (or training run) the row came from. */
35
62
  IterationID: string;
63
+ /** The row's score, as `score`; null when not measured. */
36
64
  Metric: number | null;
65
+ /** The model trained for the row: the one model of a build without a search, or a search's finalist (other candidates have none). */
37
66
  ModelID?: string;
67
+ /** 1 for the best row. */
38
68
  rank?: number;
69
+ /** The algorithm's display name. */
39
70
  algorithm?: string;
71
+ /** The experiment's feature-set label. */
40
72
  featureSet?: string;
73
+ /** The score in `metricName`; null when not measured. */
41
74
  score?: number | null;
42
- /** Which headline metric `score` is (e.g. `AUC`, `R2`); null when not measured. */
75
+ /** Which metric `score` is (an inner-fold score such as `log-loss`, or the gain over the flat guess in a metric); null when not measured. */
43
76
  metricName?: string | null;
77
+ /** The lower bound of the inner-fold mean's interval; null when the row is not an inner-fold score. */
78
+ innerLower?: number | null;
79
+ /** The upper bound of the inner-fold mean's interval; null when the row is not an inner-fold score. */
80
+ innerUpper?: number | null;
81
+ /** True for an inner-fold score: the search chose among these numbers, so they are optimistic. */
82
+ optimistic?: boolean;
83
+ /** The older lowercase spelling of `ModelID`. */
44
84
  modelId?: string;
45
85
  /** True only for the selected candidate, and only when it was measured. */
46
86
  isWinner?: boolean;
47
87
  }
88
+ /** The training run's stored gate decision: what shipped (a trained model, a simple baseline, or nothing) and why. */
89
+ export interface BuildGateDecision {
90
+ readonly Outcome: GateOutcome;
91
+ /** The stored reason, in words. */
92
+ readonly Reason: string;
93
+ }
48
94
  /** The outcome of building a prediction from a plan. */
49
95
  export interface BuildPredictionResult {
50
96
  /** Whether the build (pipeline create + train) succeeded. */
@@ -53,13 +99,21 @@ export interface BuildPredictionResult {
53
99
  pipelineId?: string;
54
100
  /** The trained `MJ: ML Models` id (present once training completes). */
55
101
  modelId?: string;
56
- /** The plain-language trust verdict for the trained model. */
102
+ /** The plain-language trust verdict: the training run's stored gate decision rendered as copy. */
57
103
  trust?: TrustVerdict;
58
104
  /** Whether the model was published into the business catalog. */
59
105
  published: boolean;
106
+ /**
107
+ * True when the model was not published only because auto-publish was off: it shipped under its protocol, training
108
+ * flagged no leakage and it holds no calibration hold, so the promotion gate may be asked to publish it.
109
+ */
110
+ readyToPublish: boolean;
60
111
  /** Whether training flagged a leakage warning (held for analyst review). */
61
112
  leakageFlagged: boolean;
62
- /** When not published, the plain reason (trust gate or leakage); else null. */
113
+ /**
114
+ * When not published, the plain reason (leakage, a calibration hold, the trust verdict, auto-publish off, or the
115
+ * promotion gate's refusal); else null.
116
+ */
63
117
  heldReason: string | null;
64
118
  /** A clean error message when the build failed; else null. */
65
119
  errorMessage: string | null;
@@ -67,51 +121,107 @@ export interface BuildPredictionResult {
67
121
  model?: MJMLModelEntity;
68
122
  /** The created pipeline entity (present once pipeline is created). */
69
123
  pipeline?: MJMLTrainingPipelineEntity;
70
- /** Leaderboard iterations produced during the tournament. */
124
+ /** The leaderboard of the build's one training run. */
71
125
  leaderboard?: MLLeaderboardEntryPayload[];
126
+ /** The training run's stored gate decision; absent when the build failed before a run stored one. */
127
+ Gate?: BuildGateDecision;
72
128
  /** Structured warnings emitted during plan translation or training (e.g. dropped candidate features). */
73
129
  warnings?: FeatureStepWarning[];
74
130
  }
75
- /** One trained tournament candidate. */
76
- export interface TrainedCandidate {
77
- Pipeline: MJMLTrainingPipelineEntity;
78
- Model: MJMLModelEntity;
79
- Trust: TrustVerdict;
80
- LeakageFlagged: boolean;
81
- AlgorithmName: string;
82
- FeatureSetName: string;
83
- }
84
- /** How tournament candidates are scored, ranked and reported. Pure; no I/O. */
85
- export declare class TournamentRanking {
86
- /**
87
- * A candidate's leaderboard score: its trust verdict's headline metric, so the leaderboard and the headline can
88
- * never disagree for the same model. Null when the model was not measured.
89
- */
90
- static HeadlineScore(trust: TrustVerdict): number | null;
91
- /** Best-first: measured candidates by score (higher is better), unmeasured candidates last in plan order. */
92
- static Rank(trained: TrainedCandidate[]): TrainedCandidate[];
93
- /** Leaderboard rows for ranked candidates; the first row is the winner only when it was measured. */
94
- static Leaderboard(ranked: TrainedCandidate[]): MLLeaderboardEntryPayload[];
95
- /**
96
- * The error a tournament throws when every candidate failed. When every candidate hit the same Predictive Studio
97
- * refusal, the first one is rethrown so its type and code survive; otherwise one error lists each distinct message.
98
- */
99
- static AllCandidatesFailed(errors: Error[]): Error;
100
- }
101
131
  /** Deterministic builder: approved {@link ModelingPlanSpec} → pipeline + trained (+ maybe published) model. */
102
132
  export declare class PredictiveStudioPipelineBuilder {
103
133
  /**
104
- * Build a prediction from an approved plan: create the pipeline, train, and publish if the trust
105
- * verdict clears the bar. When multiple experiments are proposed, runs a multi-algorithm tournament
106
- * across up to 3 candidates, ranks them on each one's trust-verdict headline metric (unmeasured
107
- * candidates last, never the winner), and selects/publishes the winning model.
134
+ * Build a prediction from an approved plan: create one pipeline, bind its Prediction Unit, train it — one search
135
+ * over every approved experiment — and publish if the trust verdict clears the bar. Every experiment's name and algorithm are checked before any row is written.
108
136
  * Never throws — returns a typed result with `success`/`errorMessage`.
109
137
  */
110
138
  Build(input: BuildPredictionInput): Promise<BuildPredictionResult>;
111
- /** @deprecated Use {@link Build}. */
112
- build(input: BuildPredictionInput): Promise<BuildPredictionResult>;
113
- /** Create + save the `MJ: ML Training Pipelines` row from the resolved config. */
114
- private createPipeline;
139
+ /**
140
+ * The build's steps — resolve the plan, save and bind the pipeline, train one search, publish when the verdict
141
+ * clears the bar. Throws on any failure; the plan's feature-step warnings go into `warnings` first, so the failure
142
+ * result {@link Build} returns still carries them.
143
+ */
144
+ protected runBuild(input: BuildPredictionInput, warnings: FeatureStepWarning[]): Promise<BuildPredictionResult>;
145
+ /** The warnings with one entry per feature and kind, first occurrence kept. */
146
+ static DistinctWarnings(warnings: readonly FeatureStepWarning[]): FeatureStepWarning[];
147
+ /**
148
+ * Checks every approved experiment's name and algorithm, then saves the pipeline and binds its Prediction Unit; no
149
+ * row is written before the checks pass. Returns the saved pipeline and the search's candidates.
150
+ */
151
+ protected createBoundPipeline(spec: ModelingPlanSpec, config: PipelineConfig, provider: IMetadataProvider, user: UserInfo): Promise<{
152
+ readonly Pipeline: MJMLTrainingPipelineEntity;
153
+ readonly Candidates: readonly CandidateSpec[];
154
+ }>;
155
+ /**
156
+ * The result of a build whose training run shipped no model (the gate decided `no-signal`, or kept the unit's existing
157
+ * rule): built, not published, held with the run's stored reason, and no trust verdict (there is no model to judge).
158
+ */
159
+ private static heldWithoutModel;
160
+ /** The plan's proposed experiments, highest priority (lowest `Priority`) first; ties keep plan order. */
161
+ static ApprovedExperiments(spec: ModelingPlanSpec): ProposedExperiment[];
162
+ /**
163
+ * Every approved experiment becomes one candidate of the single search, in plan-priority order. A label a baseline
164
+ * member uses (or one with the heuristic prefix) and a label used twice are refused, as is an algorithm name that
165
+ * was not resolved. Hyperparameters keep their scalar values; nested objects are dropped.
166
+ *
167
+ * @throws Error naming the experiment
168
+ */
169
+ static BuildCandidateSpecs(experiments: readonly ProposedExperiment[], algorithms: ReadonlyMap<string, ResolvedAlgorithm>): readonly CandidateSpec[];
170
+ /**
171
+ * The `MJ: ML Algorithms` row an algorithm name means. Tolerant of LLM naming variation: the display `Name` or the
172
+ * `DriverClass` matches case- and separator-insensitively, and common short names (`rf`, `xgb`, `linear`, …) are
173
+ * read as the algorithm they name. Two different rows that both match are refused rather than one being picked.
174
+ *
175
+ * @throws Error listing the available algorithms when nothing matches, or naming both rows when two match
176
+ */
177
+ static MatchAlgorithm(algorithmName: string, rows: readonly AlgorithmRow[]): ResolvedAlgorithm;
178
+ /** The resolved algorithm of a name, which {@link resolveAlgorithms} resolved before any row was written. */
179
+ private static algorithmOf;
180
+ /** A plan experiment's hyperparameters as candidate values: scalars and null kept, nested objects and arrays dropped. */
181
+ private static scalarHyperparameters;
182
+ /** A scalar or null: the values a candidate's hyperparameter can hold. */
183
+ private static isHyperparameterValue;
184
+ /**
185
+ * Bind version 1 of the pipeline's Prediction Unit, mapped from the columns the plan wrote (the pipeline migration's
186
+ * mapping), right after the pipeline is saved; its search protocol is bound later, for every candidate. A pipeline
187
+ * the mapping would archive or hold is refused with the mapping's reason, and the pipeline just saved is deleted: no
188
+ * pipeline trains without a unit, and the build leaves no unit-less Draft behind.
189
+ *
190
+ * @throws Error naming why the pipeline gets no unit (and the pipeline's ID when deleting it failed)
191
+ */
192
+ private static bindUnit;
193
+ /**
194
+ * Train a pipeline with a Prediction Unit: bind its default Evaluation Protocol (before the run row), run ONE search
195
+ * over every candidate, and read the leaderboard from the stored inner-fold scores and the gate decision from the stored record.
196
+ */
197
+ private trainSearch;
198
+ /**
199
+ * A search's leaderboard from the run's stored trainer result: every candidate best-first by inner-fold mean with its
200
+ * interval, each optimistic, the trainer's finalist the winner. The finalist's row links the model only when the gate
201
+ * shipped the finalist; a kept baseline member's model, or no model, links no candidate row. With it, the stored
202
+ * gate decision (outcome and reason), so a reader of the leaderboard knows whether the finalist shipped.
203
+ *
204
+ * @throws Error when the completed run stores no trainer result
205
+ */
206
+ private static searchResults;
207
+ /**
208
+ * Resolve each distinct algorithm name once over one read of `MJ: ML Algorithms` (keys are the names as written in
209
+ * the plan), so a bad name fails before any row is written.
210
+ */
211
+ private resolveAlgorithms;
212
+ /**
213
+ * Bind version 1 of a default Evaluation Protocol when the pipeline has none — always before the first candidate
214
+ * trains, so the protocol row precedes the run row. The holdout is the unit's default ({@link ProtocolDefaults}).
215
+ */
216
+ private ensureProtocol;
217
+ /**
218
+ * Validate the whole plan against real metadata BEFORE any row is written or anything trains — so an invalid plan
219
+ * (bad entity / target / feature) fails fast with an actionable message and leaves no orphan pipeline or run rows
220
+ * behind — and canonicalize its names. Returns the target entity.
221
+ */
222
+ private preparePipelineConfig;
223
+ /** Create + save the `MJ: ML Training Pipelines` row from the validated config. */
224
+ private savePipeline;
115
225
  /**
116
226
  * Ensure LeakageGuard.DenyFields entries exist as real columns on the target entity or bound sources,
117
227
  * mapping common synonyms (e.g. EndTime -> CompletedAt) and omitting non-existent column names that
@@ -128,18 +238,32 @@ export declare class PredictiveStudioPipelineBuilder {
128
238
  */
129
239
  private validatePlanFields;
130
240
  /**
131
- * Resolve an algorithm reference to its `MJ: ML Algorithms` id. Tolerant of LLM
132
- * naming variation: matches the display `Name` OR the `DriverClass`, comparing
133
- * case- and separator-insensitively — so `'LogisticRegression'`,
134
- * `'Logistic Regression'`, and `'logistic_regression'` all resolve to the same row.
135
- * Throws with the available algorithm list if nothing matches.
241
+ * Publish the trained model into the business catalog ONLY if auto-publish is on, training wasn't leakage-flagged,
242
+ * the model holds no calibration hold and the trust verdict clears the bar, and then only through the promotion
243
+ * gate ({@link publishThroughGate}). Otherwise the model stays where it is and the plain held-reason is returned.
136
244
  */
137
- private resolveAlgorithmId;
245
+ private maybePublish;
246
+ /** The held reason of a model that clears the bar to publish and stays in Draft only because auto-publish was off. */
247
+ static readonly KeptInDraftReason = "Kept in Draft \u2014 it clears the bar to publish, and is published only when you ask.";
138
248
  /**
139
- * Publish the trained model into the business catalog ONLY if the trust verdict clears the bar and
140
- * training wasn't leakage-flagged. Otherwise leave it Draft and return the plain held-reason.
249
+ * Why a trained model cannot be published; null when the promotion gate may be asked to publish it. Auto-publish is
250
+ * not one of these reasons: a model that is off only for that is ready to publish ({@link maybePublish}).
141
251
  */
142
- private maybePublish;
252
+ private static heldBeforePromotion;
253
+ /**
254
+ * Move the model Draft → Validated → Published through the promotion gate with no sign-off, so the gate's leakage,
255
+ * calibration and readiness checks apply and it generates the per-model scoring Action. A refusal holds the model at
256
+ * the status the gate left it, with the gate's reason. The gate saves its own copy of the row, so the returned model
257
+ * is reloaded once anything moved and reads the status the gate stored.
258
+ */
259
+ private publishThroughGate;
260
+ /** Read the model row back after the gate changed it; a failed read is logged (the promotion itself succeeded). */
261
+ private static reloadModel;
262
+ /**
263
+ * The promotion gate the build publishes through: the production {@link ProductionModelPromotionGate}, the same gate
264
+ * the Promote action, operation and auto-train use. Overridable so tests inject a gate with no live DB.
265
+ */
266
+ protected CreatePromotionGate(): IModelPromotionGate;
143
267
  }
144
268
  /**
145
269
  * Resolve an entity identifier to an `EntityInfo`. Tolerant of LLM variations:
@@ -148,6 +272,4 @@ export declare class PredictiveStudioPipelineBuilder {
148
272
  * app prefix ('AI Prompt Runs').
149
273
  */
150
274
  export declare function ResolveEntity(nameOrView: string, provider: IMetadataProvider): EntityInfo | undefined;
151
- /** @deprecated Use {@link ResolveEntity}. */
152
- export declare function resolveEntity(nameOrView: string, provider: IMetadataProvider): EntityInfo | undefined;
153
275
  //# sourceMappingURL=pipeline-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-builder.d.ts","sourceRoot":"","sources":["../../src/agent/pipeline-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,EAAW,KAAK,iBAAiB,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAY,MAAM,sBAAsB,CAAC;AACjH,OAAO,KAAK,EAAE,0BAA0B,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EAAE,KAAK,gBAAgB,EAAiB,KAAK,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAM1I,gEAAgE;AAChE,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,IAAI,EAAE,gBAAgB,CAAC;IACvB,wDAAwD;IACxD,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,yCAAyC;IACzC,IAAI,EAAE,QAAQ,CAAC;IACf,qFAAqF;IACrF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IA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