@memberjunction/predictive-studio 6.2.0-edge.5 → 6.2.0-edge.7

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 (161) hide show
  1. package/README.md +18 -14
  2. package/dist/actions/driver-classes.d.ts +11 -0
  3. package/dist/actions/driver-classes.d.ts.map +1 -0
  4. package/dist/actions/driver-classes.js +11 -0
  5. package/dist/actions/driver-classes.js.map +1 -0
  6. package/dist/actions/index.d.ts +1 -0
  7. package/dist/actions/index.d.ts.map +1 -1
  8. package/dist/actions/index.js +1 -0
  9. package/dist/actions/index.js.map +1 -1
  10. package/dist/actions/model-scoring-action-generator.d.ts.map +1 -1
  11. package/dist/actions/model-scoring-action-generator.js +4 -1
  12. package/dist/actions/model-scoring-action-generator.js.map +1 -1
  13. package/dist/actions/promote-model.action.d.ts +3 -2
  14. package/dist/actions/promote-model.action.d.ts.map +1 -1
  15. package/dist/actions/promote-model.action.js +4 -3
  16. package/dist/actions/promote-model.action.js.map +1 -1
  17. package/dist/actions/promote-model.gate.d.ts +5 -5
  18. package/dist/actions/promote-model.gate.d.ts.map +1 -1
  19. package/dist/actions/promote-model.gate.js +10 -14
  20. package/dist/actions/promote-model.gate.js.map +1 -1
  21. package/dist/actions/run-experiment.action.d.ts +13 -5
  22. package/dist/actions/run-experiment.action.d.ts.map +1 -1
  23. package/dist/actions/run-experiment.action.js +26 -7
  24. package/dist/actions/run-experiment.action.js.map +1 -1
  25. package/dist/actions/run-experiment.deps.d.ts +19 -27
  26. package/dist/actions/run-experiment.deps.d.ts.map +1 -1
  27. package/dist/actions/run-experiment.deps.js +23 -48
  28. package/dist/actions/run-experiment.deps.js.map +1 -1
  29. package/dist/actions/schedule-model-scoring.action.d.ts +1 -1
  30. package/dist/actions/schedule-model-scoring.action.d.ts.map +1 -1
  31. package/dist/actions/schedule-model-scoring.action.js +2 -1
  32. package/dist/actions/schedule-model-scoring.action.js.map +1 -1
  33. package/dist/actions/score-record-set.action.d.ts +8 -3
  34. package/dist/actions/score-record-set.action.d.ts.map +1 -1
  35. package/dist/actions/score-record-set.action.js +16 -7
  36. package/dist/actions/score-record-set.action.js.map +1 -1
  37. package/dist/actions/score-record-set.runner.d.ts +62 -32
  38. package/dist/actions/score-record-set.runner.d.ts.map +1 -1
  39. package/dist/actions/score-record-set.runner.js +123 -68
  40. package/dist/actions/score-record-set.runner.js.map +1 -1
  41. package/dist/actions/train-model.action.d.ts +4 -6
  42. package/dist/actions/train-model.action.d.ts.map +1 -1
  43. package/dist/actions/train-model.action.js +13 -20
  44. package/dist/actions/train-model.action.js.map +1 -1
  45. package/dist/agent/modeling-plan-to-pipeline.d.ts +5 -2
  46. package/dist/agent/modeling-plan-to-pipeline.d.ts.map +1 -1
  47. package/dist/agent/modeling-plan-to-pipeline.js +32 -7
  48. package/dist/agent/modeling-plan-to-pipeline.js.map +1 -1
  49. package/dist/agent/pipeline-builder-agent.d.ts +20 -5
  50. package/dist/agent/pipeline-builder-agent.d.ts.map +1 -1
  51. package/dist/agent/pipeline-builder-agent.js +73 -46
  52. package/dist/agent/pipeline-builder-agent.js.map +1 -1
  53. package/dist/agent/pipeline-builder.d.ts +37 -5
  54. package/dist/agent/pipeline-builder.d.ts.map +1 -1
  55. package/dist/agent/pipeline-builder.js +91 -96
  56. package/dist/agent/pipeline-builder.js.map +1 -1
  57. package/dist/feature-assembly/data-access.d.ts +12 -8
  58. package/dist/feature-assembly/data-access.d.ts.map +1 -1
  59. package/dist/feature-assembly/data-access.js +8 -10
  60. package/dist/feature-assembly/data-access.js.map +1 -1
  61. package/dist/feature-assembly/feature-assembly-executor.d.ts +4 -4
  62. package/dist/feature-assembly/feature-assembly-executor.d.ts.map +1 -1
  63. package/dist/feature-assembly/feature-assembly-executor.js +6 -0
  64. package/dist/feature-assembly/feature-assembly-executor.js.map +1 -1
  65. package/dist/feature-assembly/index.d.ts +1 -0
  66. package/dist/feature-assembly/index.d.ts.map +1 -1
  67. package/dist/feature-assembly/index.js +1 -0
  68. package/dist/feature-assembly/index.js.map +1 -1
  69. package/dist/feature-assembly/read-cap-error.d.ts +23 -0
  70. package/dist/feature-assembly/read-cap-error.d.ts.map +1 -0
  71. package/dist/feature-assembly/read-cap-error.js +35 -0
  72. package/dist/feature-assembly/read-cap-error.js.map +1 -0
  73. package/dist/maintenance/seams.d.ts +4 -4
  74. package/dist/maintenance/seams.d.ts.map +1 -1
  75. package/dist/maintenance/seams.js +9 -4
  76. package/dist/maintenance/seams.js.map +1 -1
  77. package/dist/maintenance/types.d.ts +10 -10
  78. package/dist/maintenance/types.d.ts.map +1 -1
  79. package/dist/operations/delegation.d.ts +16 -17
  80. package/dist/operations/delegation.d.ts.map +1 -1
  81. package/dist/operations/delegation.js +18 -19
  82. package/dist/operations/delegation.js.map +1 -1
  83. package/dist/operations/index.d.ts +1 -0
  84. package/dist/operations/index.d.ts.map +1 -1
  85. package/dist/operations/index.js +1 -0
  86. package/dist/operations/index.js.map +1 -1
  87. package/dist/operations/promote-model.operation.d.ts +1 -1
  88. package/dist/operations/promote-model.operation.js +1 -1
  89. package/dist/operations/refusals.d.ts +16 -0
  90. package/dist/operations/refusals.d.ts.map +1 -0
  91. package/dist/operations/refusals.js +44 -0
  92. package/dist/operations/refusals.js.map +1 -0
  93. package/dist/operations/score-record-set.operation.d.ts +4 -2
  94. package/dist/operations/score-record-set.operation.d.ts.map +1 -1
  95. package/dist/operations/score-record-set.operation.js +7 -1
  96. package/dist/operations/score-record-set.operation.js.map +1 -1
  97. package/dist/operations/start-experiment-session.operation.d.ts +14 -18
  98. package/dist/operations/start-experiment-session.operation.d.ts.map +1 -1
  99. package/dist/operations/start-experiment-session.operation.js +23 -21
  100. package/dist/operations/start-experiment-session.operation.js.map +1 -1
  101. package/dist/operations/train-model.operation.d.ts +4 -2
  102. package/dist/operations/train-model.operation.d.ts.map +1 -1
  103. package/dist/operations/train-model.operation.js +10 -1
  104. package/dist/operations/train-model.operation.js.map +1 -1
  105. package/dist/scheduling/scheduled-model-scoring.d.ts +2 -2
  106. package/dist/scheduling/scheduled-model-scoring.d.ts.map +1 -1
  107. package/dist/scheduling/scheduled-model-scoring.js +1 -2
  108. package/dist/scheduling/scheduled-model-scoring.js.map +1 -1
  109. package/dist/scoring/auto-train.d.ts.map +1 -1
  110. package/dist/scoring/auto-train.js +6 -10
  111. package/dist/scoring/auto-train.js.map +1 -1
  112. package/dist/scoring/ml-model-inference-processor.d.ts +13 -0
  113. package/dist/scoring/ml-model-inference-processor.d.ts.map +1 -1
  114. package/dist/scoring/ml-model-inference-processor.js +36 -7
  115. package/dist/scoring/ml-model-inference-processor.js.map +1 -1
  116. package/dist/scoring/ml-model-score-enricher.d.ts.map +1 -1
  117. package/dist/scoring/ml-model-score-enricher.js +5 -0
  118. package/dist/scoring/ml-model-score-enricher.js.map +1 -1
  119. package/dist/scoring/model-readiness.d.ts +13 -0
  120. package/dist/scoring/model-readiness.d.ts.map +1 -1
  121. package/dist/scoring/model-readiness.js +20 -0
  122. package/dist/scoring/model-readiness.js.map +1 -1
  123. package/dist/scoring/scoring-process.d.ts +2 -2
  124. package/dist/scoring/scoring-process.d.ts.map +1 -1
  125. package/dist/scoring/scoring-process.js +1 -2
  126. package/dist/scoring/scoring-process.js.map +1 -1
  127. package/dist/scoring/seams.d.ts +1 -1
  128. package/dist/scoring/seams.d.ts.map +1 -1
  129. package/dist/scoring/seams.js +2 -1
  130. package/dist/scoring/seams.js.map +1 -1
  131. package/dist/scoring/startup-register.d.ts +1 -1
  132. package/dist/scoring/startup-register.js +1 -1
  133. package/dist/scoring/types.d.ts +2 -2
  134. package/dist/scoring/types.d.ts.map +1 -1
  135. package/dist/training/artifact-store.d.ts +3 -3
  136. package/dist/training/artifact-store.d.ts.map +1 -1
  137. package/dist/training/artifact-store.js +3 -2
  138. package/dist/training/artifact-store.js.map +1 -1
  139. package/dist/training/as-of-refusal.d.ts +35 -0
  140. package/dist/training/as-of-refusal.d.ts.map +1 -0
  141. package/dist/training/as-of-refusal.js +48 -0
  142. package/dist/training/as-of-refusal.js.map +1 -0
  143. package/dist/training/index.d.ts +2 -0
  144. package/dist/training/index.d.ts.map +1 -1
  145. package/dist/training/index.js +2 -0
  146. package/dist/training/index.js.map +1 -1
  147. package/dist/training/locked-holdout.d.ts +73 -0
  148. package/dist/training/locked-holdout.d.ts.map +1 -0
  149. package/dist/training/locked-holdout.js +151 -0
  150. package/dist/training/locked-holdout.js.map +1 -0
  151. package/dist/training/seams.d.ts +10 -11
  152. package/dist/training/seams.d.ts.map +1 -1
  153. package/dist/training/seams.js +13 -15
  154. package/dist/training/seams.js.map +1 -1
  155. package/dist/training/training-engine.d.ts +23 -9
  156. package/dist/training/training-engine.d.ts.map +1 -1
  157. package/dist/training/training-engine.js +80 -55
  158. package/dist/training/training-engine.js.map +1 -1
  159. package/dist/training/types.d.ts +40 -12
  160. package/dist/training/types.d.ts.map +1 -1
  161. package/package.json +13 -13
@@ -1 +1 @@
1
- {"version":3,"file":"run-experiment.action.js","sourceRoot":"","sources":["../../src/actions/run-experiment.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;;;;;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAElG,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAEtE,mFAAmF;AACnF,MAAM,CAAC,MAAM,2BAA2B,GAAG,qCAAqC,CAAC;AAEjF;;;;GAIG;AAEI,IAAM,mCAAmC,GAAzC,MAAM,mCAAoC,SAAQ,0BAA0B;IACjF,k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AC;IACjB,CAAC;IAED,8EAA8E;IAE9E,wFAAwF;IAC9E,kBAAkB;QAC1B,OAAO,IAAI,sBAAsB,EAAE,CAAC;IACtC,CAAC;IAED;;;OAGG;IACO,eAAe;QACvB,OAAO,kBAAkB,CAAC,OAAO,CAAC;IACpC,CAAC;IAED;;;;OAIG;IACO,SAAS,CAAC,MAAuB;QACzC,OAAO,6BAA6B,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC5E,CAAC;CACF,CAAA;AA1HY,mCAAmC;IAD/C,aAAa,CAAC,UAAU,EAAE,2BAA2B,CAAC;GAC1C,mCAAmC,CA0H/C"}
@@ -1,23 +1,23 @@
1
1
  /**
2
2
  * @module actions/run-experiment.deps
3
3
  *
4
- * Builds the production {@link ExperimentDeps} bundle for the
5
- * {@link PredictiveStudioRunExperimentAction}. Kept out of the action so the
6
- * action stays thin (validate → delegate → map) and so the wiring is
7
- * independently readable.
8
- *
9
- * The orchestrator's per-iteration {@link IExperimentTrainer} bridges to the
10
- * {@link TrainingEngine}, which trains by **pipeline id**. Mapping a plan's
11
- * proposed experiment (algorithm × feature set × hyperparameters) to a concrete
12
- * `MJ: ML Training Pipelines` id is an {@link IPipelineResolver} — a materialization
13
- * strategy that belongs to the higher layer that owns pipeline definitions. The
14
- * Engine package therefore supplies a clear-failing default resolver; production
15
- * callers inject a real one (and a real artifact loader) by constructing the deps
16
- * themselves and passing them via the action's `buildDeps` override.
4
+ * The experiment-session dependency entry points and the refusal raised while
5
+ * {@link ExperimentSessions.Enabled} is off. The session runner cannot yet turn a
6
+ * proposed experiment into a training pipeline (no production
7
+ * {@link IPipelineResolver} exists), so {@link BuildProductionExperimentDeps}
8
+ * refuses with {@link ExperimentSessionsUnavailableError} before the orchestrator
9
+ * creates any Experiment, Session or Iteration row. The published names are kept
10
+ * for their callers.
17
11
  */
18
12
  import type { UserInfo, IMetadataProvider } from '@memberjunction/core';
19
- import { type IPipelineResolver } from '../experiment/seams.js';
13
+ import type { IPipelineResolver } from '../experiment/seams.js';
20
14
  import type { ExperimentDeps, TrainExperimentInput } from '../experiment/types.js';
15
+ /** Thrown when an experiment session is requested while sessions are switched off. */
16
+ export declare class ExperimentSessionsUnavailableError extends Error {
17
+ /** The refusal message: the same reason the UI shows, from {@link ExperimentSessions.DisabledReason}. */
18
+ static readonly Message: string;
19
+ constructor();
20
+ }
21
21
  /**
22
22
  * A clear-failing default {@link IPipelineResolver}. The strategy for turning a
23
23
  * proposed experiment into a `MJ: ML Training Pipelines` id (reuse vs. materialize)
@@ -29,21 +29,13 @@ export declare class UnresolvedPipelineResolver implements IPipelineResolver {
29
29
  resolvePipelineId(input: TrainExperimentInput): Promise<string>;
30
30
  }
31
31
  /**
32
- * Build the production {@link ExperimentDeps} from the request user/provider. The
33
- * training-side bundle (entity factory + record loader + sidecar + artifact store)
34
- * is composed here and handed to the {@link TrainingEngineExperimentTrainer} so
35
- * each iteration trains through the real {@link TrainingEngine}.
36
- *
37
- * The artifact store is built the same way the standalone training path builds it:
38
- * resolve the active `MJ: File Storage Providers` id (see
39
- * {@link resolveActiveFileStorageProviderId}) and stamp it on the store, which
40
- * creates a real `MJ: Files` row and writes the bytes to local disk keyed by that
41
- * id (dev / on-prem). Async so the provider lookup is part of the wiring.
32
+ * Build the production {@link ExperimentDeps}. Always refuses with {@link ExperimentSessionsUnavailableError}
33
+ * (no production pipeline resolver exists), before touching the database.
42
34
  *
43
- * @param contextUser request user — threaded for isolation/audit
44
- * @param provider optional provider for multi-provider correctness
35
+ * @param _contextUser request user (unused; kept for the published signature)
36
+ * @param _provider optional provider (unused; kept for the published signature)
45
37
  */
46
- export declare function BuildProductionExperimentDeps(contextUser?: UserInfo, provider?: IMetadataProvider): Promise<ExperimentDeps>;
38
+ export declare function BuildProductionExperimentDeps(_contextUser?: UserInfo, _provider?: IMetadataProvider): Promise<ExperimentDeps>;
47
39
  /** @deprecated Use {@link BuildProductionExperimentDeps}. */
48
40
  export declare function buildProductionExperimentDeps(contextUser?: UserInfo, provider?: IMetadataProvider): Promise<ExperimentDeps>;
49
41
  //# sourceMappingURL=run-experiment.deps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-experiment.deps.d.ts","sourceRoot":"","sources":["../../src/actions/run-experiment.deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAMxE,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhF;;;;;;GAMG;AACH,qBAAa,0BAA2B,YAAW,iBAAiB;IACrD,iBAAiB,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAO7E;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,6BAA6B,CACjD,WAAW,CAAC,EAAE,QAAQ,EACtB,QAAQ,CAAC,EAAE,iBAAiB,GAC3B,OAAO,CAAC,cAAc,CAAC,CAyBzB;AAED,6DAA6D;AAC7D,wBAAsB,6BAA6B,CACjD,WAAW,CAAC,EAAE,QAAQ,EACtB,QAAQ,CAAC,EAAE,iBAAiB,GAC3B,OAAO,CAAC,cAAc,CAAC,CAEzB"}
1
+ {"version":3,"file":"run-experiment.deps.d.ts","sourceRoot":"","sources":["../../src/actions/run-experiment.deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,sFAAsF;AACtF,qBAAa,kCAAmC,SAAQ,KAAK;IAC3D,yGAAyG;IACzG,gBAAuB,OAAO,EAAE,MAAM,CAAqC;;CAM5E;AAED;;;;;;GAMG;AACH,qBAAa,0BAA2B,YAAW,iBAAiB;IACrD,iBAAiB,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAO7E;AAED;;;;;;GAMG;AACH,wBAAsB,6BAA6B,CACjD,YAAY,CAAC,EAAE,QAAQ,EACvB,SAAS,CAAC,EAAE,iBAAiB,GAC5B,OAAO,CAAC,cAAc,CAAC,CAEzB;AAED,6DAA6D;AAC7D,wBAAsB,6BAA6B,CACjD,WAAW,CAAC,EAAE,QAAQ,EACtB,QAAQ,CAAC,EAAE,iBAAiB,GAC3B,OAAO,CAAC,cAAc,CAAC,CAEzB"}
@@ -1,24 +1,24 @@
1
1
  /**
2
2
  * @module actions/run-experiment.deps
3
3
  *
4
- * Builds the production {@link ExperimentDeps} bundle for the
5
- * {@link PredictiveStudioRunExperimentAction}. Kept out of the action so the
6
- * action stays thin (validate → delegate → map) and so the wiring is
7
- * independently readable.
8
- *
9
- * The orchestrator's per-iteration {@link IExperimentTrainer} bridges to the
10
- * {@link TrainingEngine}, which trains by **pipeline id**. Mapping a plan's
11
- * proposed experiment (algorithm × feature set × hyperparameters) to a concrete
12
- * `MJ: ML Training Pipelines` id is an {@link IPipelineResolver} — a materialization
13
- * strategy that belongs to the higher layer that owns pipeline definitions. The
14
- * Engine package therefore supplies a clear-failing default resolver; production
15
- * callers inject a real one (and a real artifact loader) by constructing the deps
16
- * themselves and passing them via the action's `buildDeps` override.
4
+ * The experiment-session dependency entry points and the refusal raised while
5
+ * {@link ExperimentSessions.Enabled} is off. The session runner cannot yet turn a
6
+ * proposed experiment into a training pipeline (no production
7
+ * {@link IPipelineResolver} exists), so {@link BuildProductionExperimentDeps}
8
+ * refuses with {@link ExperimentSessionsUnavailableError} before the orchestrator
9
+ * creates any Experiment, Session or Iteration row. The published names are kept
10
+ * for their callers.
17
11
  */
18
- import { TrainingEngine } from '../training/training-engine.js';
19
- import { MetadataEntityFactory, RunViewRecordLoader, MJSidecarTrainer } from '../training/seams.js';
20
- import { ResolveActiveFileStorageProviderId, BuildArtifactStore } from '../training/artifact-store.js';
21
- import { SystemClock, MetadataExperimentEntityFactory, TrainingEngineExperimentTrainer, } from '../experiment/seams.js';
12
+ import { ExperimentSessions } from '@memberjunction/predictive-studio-core';
13
+ /** Thrown when an experiment session is requested while sessions are switched off. */
14
+ export class ExperimentSessionsUnavailableError extends Error {
15
+ /** The refusal message: the same reason the UI shows, from {@link ExperimentSessions.DisabledReason}. */
16
+ static { this.Message = ExperimentSessions.DisabledReason; }
17
+ constructor() {
18
+ super(ExperimentSessionsUnavailableError.Message);
19
+ this.name = 'ExperimentSessionsUnavailableError';
20
+ }
21
+ }
22
22
  /**
23
23
  * A clear-failing default {@link IPipelineResolver}. The strategy for turning a
24
24
  * proposed experiment into a `MJ: ML Training Pipelines` id (reuse vs. materialize)
@@ -34,39 +34,14 @@ export class UnresolvedPipelineResolver {
34
34
  }
35
35
  }
36
36
  /**
37
- * Build the production {@link ExperimentDeps} from the request user/provider. The
38
- * training-side bundle (entity factory + record loader + sidecar + artifact store)
39
- * is composed here and handed to the {@link TrainingEngineExperimentTrainer} so
40
- * each iteration trains through the real {@link TrainingEngine}.
41
- *
42
- * The artifact store is built the same way the standalone training path builds it:
43
- * resolve the active `MJ: File Storage Providers` id (see
44
- * {@link resolveActiveFileStorageProviderId}) and stamp it on the store, which
45
- * creates a real `MJ: Files` row and writes the bytes to local disk keyed by that
46
- * id (dev / on-prem). Async so the provider lookup is part of the wiring.
37
+ * Build the production {@link ExperimentDeps}. Always refuses with {@link ExperimentSessionsUnavailableError}
38
+ * (no production pipeline resolver exists), before touching the database.
47
39
  *
48
- * @param contextUser request user — threaded for isolation/audit
49
- * @param provider optional provider for multi-provider correctness
40
+ * @param _contextUser request user (unused; kept for the published signature)
41
+ * @param _provider optional provider (unused; kept for the published signature)
50
42
  */
51
- export async function BuildProductionExperimentDeps(contextUser, provider) {
52
- const entityFactory = new MetadataEntityFactory(provider);
53
- const providerId = await ResolveActiveFileStorageProviderId(contextUser, provider);
54
- const trainingDeps = {
55
- entityFactory,
56
- recordLoader: new RunViewRecordLoader(),
57
- sidecar: new MJSidecarTrainer(),
58
- artifactStore: BuildArtifactStore(providerId, entityFactory),
59
- contextUser,
60
- provider,
61
- };
62
- const trainer = new TrainingEngineExperimentTrainer(trainingDeps, new UnresolvedPipelineResolver(), new TrainingEngine());
63
- return {
64
- entityFactory: new MetadataExperimentEntityFactory(provider),
65
- trainer,
66
- clock: new SystemClock(),
67
- contextUser,
68
- provider,
69
- };
43
+ export async function BuildProductionExperimentDeps(_contextUser, _provider) {
44
+ throw new ExperimentSessionsUnavailableError();
70
45
  }
71
46
  /** @deprecated Use {@link BuildProductionExperimentDeps}. */
72
47
  export async function buildProductionExperimentDeps(contextUser, provider) {
@@ -1 +1 @@
1
- {"version":3,"file":"run-experiment.deps.js","sourceRoot":"","sources":["../../src/actions/run-experiment.deps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,kCAAkC,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEpG,OAAO,EACL,WAAW,EACX,+BAA+B,EAC/B,+BAA+B,GAEhC,MAAM,qBAAqB,CAAC;AAG7B;;;;;;GAMG;AACH,MAAM,OAAO,0BAA0B;IAC9B,KAAK,CAAC,iBAAiB,CAAC,KAA2B;QACxD,MAAM,IAAI,KAAK,CACb,8EAA8E,KAAK,CAAC,UAAU,CAAC,KAAK,KAAK;YACvG,6GAA6G;YAC7G,qEAAqE,CACxE,CAAC;IACJ,CAAC;CACF;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UA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AO,0BAA0B;IAC9B,KAAK,CAAC,iBAAiB,CAAC,KAA2B;QACxD,MAAM,IAAI,KAAK,CACb,8EAA8E,KAAK,CAAC,UAAU,CAAC,KAAK,KAAK;YACvG,6GAA6G;YAC7G,qEAAqE,CACxE,CAAC;IACJ,CAAC;CACF;AAED;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,YAAuB,EACvB,SAA6B;IAE7B,MAAM,IAAI,kCAAkC,EAAE,CAAC;AACjD,CAAC;AAED,6DAA6D;AAC7D,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,WAAsB,EACtB,QAA4B;IAE5B,OAAO,6BAA6B,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC9D,CAAC"}
@@ -28,7 +28,7 @@ import type { ActionResultSimple, RunActionParams } from '@memberjunction/action
28
28
  import { BasePredictiveStudioAction } from './base-predictive-studio.action.js';
29
29
  import { type ScheduleModelScoringOptions, type ScheduledModelScoringResult, type ScoringCadence, type ScoringValueKind } from '../scheduling/scheduled-model-scoring.js';
30
30
  /** The driver-class key this action registers under (matches the metadata row). */
31
- export declare const SCHEDULE_MODEL_SCORING_DRIVER_CLASS = "PredictiveStudioScheduleModelScoringAction";
31
+ export { SCHEDULE_MODEL_SCORING_DRIVER_CLASS } from './driver-classes.js';
32
32
  /**
33
33
  * The scheduling seam this action depends on — "create + save a scheduled scoring
34
34
  * Record Process (and its lineage binding) for these options, give me the saved
@@ -1 +1 @@
1
- {"version":3,"file":"schedule-model-scoring.action.d.ts","sourceRoot":"","sources":["../../src/actions/schedule-model-scoring.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAKxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,uCAAuC,CAAC;AAE/C,mFAAmF;AACnF,eAAO,MAAM,mCAAmC,+CAA+C,CAAC;AAEhG;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,IAAI,EAAE,2BAA2B,KAAK,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAEjH;;;;;;;GAOG;AACH,qBACa,0CAA2C,SAAQ,0BAA0B;IACxF,kBAAkB;cACF,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA2CvF;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,2BAA2B,GAAG,kBAAkB;IAgBrG;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,SAAS;IAY3E,+FAA+F;IAC/F,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,gBAAgB,GAAG,SAAS;IAO/E,mFAAmF;IACnF,SAAS,CAAC,QAAQ,IAAI,sBAAsB;CAG7C"}
1
+ {"version":3,"file":"schedule-model-scoring.action.d.ts","sourceRoot":"","sources":["../../src/actions/schedule-model-scoring.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAKxF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,uCAAuC,CAAC;AAE/C,mFAAmF;AACnF,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AAGvE;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,IAAI,EAAE,2BAA2B,KAAK,OAAO,CAAC,2BAA2B,CAAC,CAAC;AAEjH;;;;;;;GAOG;AACH,qBACa,0CAA2C,SAAQ,0BAA0B;IACxF,kBAAkB;cACF,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IA2CvF;;;;;;;OAOG;IACH,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,2BAA2B,GAAG,kBAAkB;IAgBrG;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,SAAS;IAY3E,+FAA+F;IAC/F,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,gBAAgB,GAAG,SAAS;IAO/E,mFAAmF;IACnF,SAAS,CAAC,QAAQ,IAAI,sBAAsB;CAG7C"}
@@ -36,7 +36,8 @@ import { BaseAction } from '@memberjunction/actions';
36
36
  import { BasePredictiveStudioAction } from './base-predictive-studio.action.js';
37
37
  import { CreateScheduledModelScoring, } from '../scheduling/scheduled-model-scoring.js';
38
38
  /** The driver-class key this action registers under (matches the metadata row). */
39
- export const SCHEDULE_MODEL_SCORING_DRIVER_CLASS = 'PredictiveStudioScheduleModelScoringAction';
39
+ export { SCHEDULE_MODEL_SCORING_DRIVER_CLASS } from './driver-classes.js';
40
+ import { SCHEDULE_MODEL_SCORING_DRIVER_CLASS } from './driver-classes.js';
40
41
  /**
41
42
  * Binds a trained `MJ: ML Models` to a recurring scoring run: scores the target
42
43
  * entity's rows on a cadence (default monthly). The `OutputField` param is optional —
@@ -1 +1 @@
1
- {"version":3,"file":"schedule-model-scoring.action.js","sourceRoot":"","sources":["../../src/actions/schedule-model-scoring.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;;;;;;;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,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IAED,8EAA8E;IAE9E,mFAAmF;IACzE,QAAQ;QAChB,OAAO,2BAA2B,CAAC;IACrC,CAAC;CACF,CAAA;AAnGY,0CAA0C;IADtD,aAAa,CAAC,UAAU,EAAE,mCAAmC,CAAC;GAClD,0CAA0C,CAmGtD"}
1
+ {"version":3,"file":"schedule-model-scoring.action.js","sourceRoot":"","sources":["../../src/actions/schedule-model-scoring.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;;;;;;;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EACL,2BAA2B,GAK5B,MAAM,uCAAuC,CAAC;AAE/C,mFAAmF;AACnF,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,mCAAmC,EAAE,MAAM,kBAAkB,CAAC;AAUvE;;;;;;;GAOG;AAEI,IAAM,0CAA0C,GAAhD,MAAM,0CAA2C,SAAQ,0BAA0B;IACxF,kBAAkB;IACR,KAAK,CAAC,iBAAiB,CAAC,MAAuB;QACvD,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;YACvD,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,+BAA+B,CAAC,CAAC;YACxE,CAAC;YACD,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;YACzE,IAAI,CAAC,gBAAgB,EAAE,CAAC;gBACtB,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,wCAAwC,CAAC,CA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AO,SAAS,CAAC;QAC1C,IAAI,KAAK,KAAK,QAAQ;YAAE,OAAO,QAAQ,CAAC;QACxC,IAAI,KAAK,KAAK,OAAO;YAAE,OAAO,OAAO,CAAC;QACtC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;IACvB,CAAC;IAED,+FAA+F;IACrF,cAAc,CAAC,MAAuB;QAC9C,MAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QACrD,OAAO,GAAG,EAAE,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IACrE,CAAC;IAED,8EAA8E;IAE9E,mFAAmF;IACzE,QAAQ;QAChB,OAAO,2BAA2B,CAAC;IACrC,CAAC;CACF,CAAA;AAnGY,0CAA0C;IADtD,aAAa,CAAC,UAAU,EAAE,mCAAmC,CAAC;GAClD,0CAA0C,CAmGtD"}
@@ -20,7 +20,7 @@ import type { ActionResultSimple, RunActionParams } from '@memberjunction/action
20
20
  import { type UserInfo, type IMetadataProvider } from '@memberjunction/core';
21
21
  import { BasePredictiveStudioAction, type JsonObject } from './base-predictive-studio.action.js';
22
22
  /** The driver-class key this action registers under (matches the metadata row). */
23
- export declare const SCORE_RECORD_SET_DRIVER_CLASS = "PredictiveStudioScoreRecordSetAction";
23
+ export { SCORE_RECORD_SET_DRIVER_CLASS } from './driver-classes.js';
24
24
  /**
25
25
  * The scope of records to score. Mirrors the Record Set Processing scope shapes
26
26
  * (records / view / list / filter / single). Exactly one shape should be
@@ -68,7 +68,8 @@ export interface ScoreRecordSetRequest {
68
68
  */
69
69
  dryRun?: boolean;
70
70
  contextUser?: UserInfo;
71
- provider?: IMetadataProvider;
71
+ /** The provider every scope read and write-back goes through (required: no fallback to the global provider). */
72
+ provider: IMetadataProvider;
72
73
  }
73
74
  /** A single ephemeral prediction surfaced when write-back is NOT requested. */
74
75
  export interface EphemeralPrediction {
@@ -127,7 +128,11 @@ export declare class PredictiveStudioScoreRecordSetAction extends BasePredictive
127
128
  * an `OutputMapping`. Returns `undefined` when not requested.
128
129
  */
129
130
  protected parseWriteBack(params: RunActionParams): WriteBackDirective | undefined;
130
- /** Construct the production scoring runner. Overridable so tests inject a mock. */
131
+ /**
132
+ * Construct the production scoring runner — the same one the Score Record Set
133
+ * operation uses, wired with the production model loader, sidecar and artifact
134
+ * loader. Overridable so tests inject a mock.
135
+ */
131
136
  protected createRunner(): IScoreRecordSetRunner;
132
137
  }
133
138
  //# sourceMappingURL=score-record-set.action.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"score-record-set.action.d.ts","sourceRoot":"","sources":["../../src/actions/score-record-set.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAY,KAAK,QAAQ,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGvF,OAAO,EAAE,0BAA0B,EAAE,KAAK,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG9F,mFAAmF;AACnF,eAAO,MAAM,6BAA6B,yCAAyC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,oDAAoD;IACpD,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;IACrC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+DAA+D;IAC/D,MAAM,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACxE,uDAAuD;IACvD,MAAM,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;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AAG,OAAO,CAAC,kBAAkB,CAAC;IAiDvF,2EAA2E;IAC3E,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,oBAAoB,GAAG,kBAAkB;IAc9F,gEAAgE;IAChE,SAAS,CAAC,UAAU,CAAC,MAAM,EAAE,eAAe,GAAG,YAAY,GAAG,SAAS;IAKvE;;;;OAIG;IACH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO;IAItD,8EAA8E;IAC9E,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM;IAU1D;;;OAGG;IACH,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,eAAe,GAAG,kBAAkB,GAAG,SAAS;IAWjF;;;;OAIG;IACH,SAAS,CAAC,YAAY,IAAI,qBAAqB;CAGhD"}
@@ -23,12 +23,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
23
23
  return c > 3 && r && Object.defineProperty(target, key, r), r;
24
24
  };
25
25
  import { RegisterClass } from '@memberjunction/global';
26
- import { LogError } from '@memberjunction/core';
26
+ import { LogError, Metadata } from '@memberjunction/core';
27
27
  import { BaseAction } from '@memberjunction/actions';
28
28
  import { BasePredictiveStudioAction } from './base-predictive-studio.action.js';
29
- import { ProductionScoreRecordSetRunner } from './score-record-set.runner.js';
29
+ import { BuildScoreRecordSetRunner } from '../operations/delegation.js';
30
+ import { PredictiveStudioRefusals } from '../operations/refusals.js';
30
31
  /** The driver-class key this action registers under (matches the metadata row). */
31
- export const SCORE_RECORD_SET_DRIVER_CLASS = 'PredictiveStudioScoreRecordSetAction';
32
+ export { SCORE_RECORD_SET_DRIVER_CLASS } from './driver-classes.js';
33
+ import { SCORE_RECORD_SET_DRIVER_CLASS } from './driver-classes.js';
32
34
  /**
33
35
  * Scores a set of records with a trained `MJ: ML Models`. Outputs: `ScoredCount`
34
36
  * (number), `Predictions` (JSON array, ephemeral only), `WroteBack` (boolean).
@@ -55,19 +57,22 @@ let PredictiveStudioScoreRecordSetAction = class PredictiveStudioScoreRecordSetA
55
57
  return this.fail('VALIDATION_ERROR', 'Scope must populate exactly one of: records, viewId, listId, filter, single');
56
58
  }
57
59
  const writeBack = this.parseWriteBack(params);
60
+ const provider = params.Provider || Metadata.Provider; // global-provider-ok: RunActionParams.Provider is optional; ActionEngine contract falls back to the global provider (ActionEngine-Base.ts:413-419)
58
61
  const runner = this.createRunner();
59
62
  const result = await runner.run({
60
63
  modelId,
61
64
  scope,
62
65
  writeBack,
63
66
  contextUser: params.ContextUser,
64
- provider: params.Provider,
67
+ provider,
65
68
  });
66
69
  return this.mapResult(params, result);
67
70
  }
68
71
  catch (e) {
69
72
  LogError(e);
70
- return this.fail('SCORING_FAILED', `Scoring failed: ${e instanceof Error ? e.message : String(e)}`);
73
+ const error = e instanceof Error ? e : new Error(String(e));
74
+ // A refusal keeps its typed code (the same one the operation returns), so agents never parse the message.
75
+ return this.fail(PredictiveStudioRefusals.CodeOf(error) || 'SCORING_FAILED', `Scoring failed: ${error.message}`);
71
76
  }
72
77
  }
73
78
  /** Map the runner result onto output params + a human-readable message. */
@@ -124,9 +129,13 @@ let PredictiveStudioScoreRecordSetAction = class PredictiveStudioScoreRecordSetA
124
129
  return flag ? true : undefined;
125
130
  }
126
131
  // ----- injectable runner seam (overridden in tests) ------------------------
127
- /** Construct the production scoring runner. Overridable so tests inject a mock. */
132
+ /**
133
+ * Construct the production scoring runner — the same one the Score Record Set
134
+ * operation uses, wired with the production model loader, sidecar and artifact
135
+ * loader. Overridable so tests inject a mock.
136
+ */
128
137
  createRunner() {
129
- return new ProductionScoreRecordSetRunner();
138
+ return BuildScoreRecordSetRunner();
130
139
  }
131
140
  };
132
141
  PredictiveStudioScoreRecordSetAction = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"score-record-set.action.js","sourceRoot":"","sources":["../../src/actions/score-record-set.action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;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  * production seams, and drives its batch path.
10
10
  *
11
11
  * Keeping this OUT of the action keeps the action thin (validate → delegate → map)
12
- * and keeps this resolver independently testable. The artifact-loader seam is
13
- * deliberately injected from a higher layer (the Engine package does not import
14
- * MJStorage drivers — see `scoring/seams.ts`); when it is not supplied the runner
15
- * fails with a clear, actionable message rather than silently mis-scoring.
12
+ * and keeps this resolver independently testable. The production wiring (model
13
+ * loader, sidecar and the `LocalArtifactLoader`) comes from
14
+ * `BuildScoreRecordSetRunner()` in `operations/delegation`, which both the Score
15
+ * action and the Score Record Set operation use. A runner constructed without `deps`
16
+ * has no artifact loader and fails with a clear, actionable message rather than
17
+ * silently mis-scoring.
16
18
  */
17
19
  import { type UserInfo, type IMetadataProvider, type EntityInfo } from '@memberjunction/core';
18
20
  import { BaseEntity } from '@memberjunction/core';
@@ -44,8 +46,8 @@ interface ScoringOutputMapping {
44
46
  export interface ProductionScoreRecordSetRunnerOptions {
45
47
  /**
46
48
  * The scoring dependency bundle (model loader / artifact loader / sidecar). When
47
- * omitted, production model-loader + sidecar are built, but the artifact loader
48
- * MUST be supplied by the higher layer that owns the MJStorage binding.
49
+ * omitted, production model-loader + sidecar are built with an artifact loader
50
+ * that refuses; `BuildScoreRecordSetRunner()` supplies the production bundle.
49
51
  */
50
52
  deps?: MLInferenceDeps;
51
53
  /** Primary-key field on scored entities (defaults to `ID`). */
@@ -56,22 +58,39 @@ export interface ProductionScoreRecordSetRunnerOptions {
56
58
  * {@link MLModelInferenceProcessor} batch path.
57
59
  */
58
60
  export declare class ProductionScoreRecordSetRunner implements IScoreRecordSetRunner {
61
+ /** How many list members one `IN (...)` / `OR` filter selects. */
62
+ private static readonly ID_CHUNK_SIZE;
59
63
  private readonly options;
60
64
  constructor(options?: ProductionScoreRecordSetRunnerOptions);
61
65
  /** @inheritdoc */
62
66
  run(request: ScoreRecordSetRequest): Promise<ScoreRecordSetResult>;
63
67
  /** Resolve the scope into a set of record refs. Exactly one selector is honored. */
64
- protected resolveScope(scope: ScoringScope, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<RecordRef[]>;
68
+ protected resolveScope(scope: ScoringScope, contextUser: UserInfo | undefined, provider: IMetadataProvider): Promise<RecordRef[]>;
65
69
  /**
66
- * Resolve a `MJ: Lists` id into its member records as entity objects. Mirrors
67
- * the substrate's `ListSource` membership contract — a List's members live in
68
- * `MJ: List Details` (which store a composite-key-safe `RecordID`), NOT in a
69
- * backing User View. We (1) read the list's target `EntityID`/name, (2) read its
70
- * member `RecordID`s from `MJ: List Details`, then (3) load those target rows as
71
- * `entity_object`s so the inference processor gets the same preloaded-row shape
72
- * as the other scopes.
70
+ * Resolve a `MJ: Lists` id into its member records as entity objects. Mirrors the substrate's
71
+ * `ListSource` membership contract — a List's members live in `MJ: List Details` (which store a
72
+ * composite-key-safe `RecordID`), NOT in a backing User View. We (1) read the list's target
73
+ * `EntityID`/name, (2) read its member `RecordID`s from `MJ: List Details`, then (3) load those
74
+ * target rows as `entity_object`s so the inference processor gets the same full preloaded rows as
75
+ * the view and filter scopes (feature columns present whatever the key is called, `record.<field>`
76
+ * write-back refs resolvable, and write-back reuses the loaded entity instead of reloading it).
73
77
  */
74
- protected resolveList(listId: string, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<RecordRef[]>;
78
+ protected resolveList(listId: string, contextUser: UserInfo | undefined, provider: IMetadataProvider): Promise<RecordRef[]>;
79
+ /**
80
+ * Load the given records of `entityInfo` as entity objects, in chunks of
81
+ * {@link ProductionScoreRecordSetRunner.ID_CHUNK_SIZE} batched into one `RunViews` call. List
82
+ * Details store each member's key as a compact CompositeKey URL segment (the bare value for a
83
+ * single-column key, whatever that column is called; `F1|v1||F2|v2` for a composite key), so the
84
+ * filter is built from the entity's real primary key(s) — never an assumed column named ID.
85
+ */
86
+ private resolveIDChunks;
87
+ /**
88
+ * The record refs a successful scope read produced; throws with the read's error when it failed, so a failed read
89
+ * (or one failed chunk of a list) never silently drops records.
90
+ *
91
+ * @param scopeLabel what was read, for the error message (e.g. `entity 'Members'`, `view '<id>'`)
92
+ */
93
+ private toRecordRefs;
75
94
  /**
76
95
  * Build the filter that selects exactly the given records of `entityInfo`, where each id is a
77
96
  * compact CompositeKey URL segment (the form `MJ: List Details.RecordID` and
@@ -80,27 +99,37 @@ export declare class ProductionScoreRecordSetRunner implements IScoreRecordSetRu
80
99
  * no single column can be compared against a multi-column value.
81
100
  */
82
101
  protected primaryKeyInFilter(entityInfo: EntityInfo, recordIds: string[]): string;
83
- /** Resolve an entity + filter into entity-object record refs. */
84
- protected resolveFilter(entityName: string, extraFilter: string | undefined, maxRows: number | undefined, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<RecordRef[]>;
102
+ /**
103
+ * Resolve an entity + filter into entity-object record refs.
104
+ *
105
+ * `maxRows` that is absent, `null` (possible on the operation's JSON input) or `<= 0` means no cap: every matching
106
+ * row is read. A positive cap reads one row past it, and a scope that returns more than `maxRows` rows is refused
107
+ * with {@link ReadCapExceededError} (decision D2-C1: scoring a fraction and reporting success is F-L3-2). Reading
108
+ * `maxRows + 1` rows detects the cut from the rows themselves, so it holds for `maxRows: 1`, where the provider
109
+ * issues no count query and `TotalRowCount` cannot show the truncation.
110
+ */
111
+ protected resolveFilter(entityName: string, extraFilter: string | undefined, maxRows: number | null | undefined, contextUser: UserInfo | undefined, provider: IMetadataProvider): Promise<RecordRef[]>;
112
+ /** The explicit row cap a `maxRows` value asks for, or `undefined` when it asks for every row (absent, null, <= 0). */
113
+ private static explicitCap;
85
114
  /** Resolve a saved-view id into entity-object record refs. */
86
115
  protected resolveView(params: {
87
116
  ViewID: string;
88
- }, contextUser?: UserInfo, provider?: IMetadataProvider): Promise<RecordRef[]>;
117
+ }, contextUser: UserInfo | undefined, provider: IMetadataProvider): Promise<RecordRef[]>;
89
118
  /**
90
119
  * Build the per-record execution context for the processor. A `contextUser` is
91
- * required (server-side scoring is user-scoped); the Action validates it before
92
- * delegating, but we also assert here so this runner can't be driven without one
93
- * (no silent force-cast of an absent user).
120
+ * required (server-side scoring is user-scoped), and so is the `provider` every read
121
+ * and write-back goes through (there is no fallback to the global provider); the
122
+ * Action validates the user before delegating, but we also assert both here so this
123
+ * runner can't be driven without them.
94
124
  */
95
125
  protected buildContext(request: ScoreRecordSetRequest): RecordProcessorContext;
96
126
  /** Resolve the deps bundle, building production model-loader + sidecar when absent. */
97
127
  protected resolveDeps(): MLInferenceDeps;
98
128
  /**
99
- * A placeholder {@link IArtifactLoader} that fails loudly. The Engine package
100
- * does not import MJStorage drivers, so the real artifact loader is supplied by
101
- * the layer that owns the storage binding (see `scoring/seams.ts`). Callers that
102
- * run this action in production wire `deps` (with a real artifact loader) into
103
- * the runner; tests inject the whole runner.
129
+ * A placeholder {@link IArtifactLoader} that fails loudly, used only when the
130
+ * runner is constructed without `deps`. Production callers (the Score action and
131
+ * the Score Record Set operation) build the runner with
132
+ * `BuildScoreRecordSetRunner()`, which wires the real `LocalArtifactLoader`.
104
133
  */
105
134
  protected missingArtifactLoader(): IArtifactLoader;
106
135
  /** Convert a scope `records` entry (id string or pk object) into a record ref. */
@@ -109,14 +138,15 @@ export declare class ProductionScoreRecordSetRunner implements IScoreRecordSetRu
109
138
  protected entityToRecordRef(row: BaseEntity, entityId?: string): RecordRef;
110
139
  /**
111
140
  * Build a `Field='value'`-style filter from a primary-key object. Each KEY is
112
- * validated against the entity's real fields BEFORE interpolation — an unknown
113
- * field name is rejected (SQL-injection defense for the untrusted key names,
114
- * mirroring how the write-entity-fields action validates field names). Values
115
- * are still single-quote-escaped.
141
+ * validated against the entity's PRIMARY-KEY fields BEFORE interpolation — any
142
+ * other name is rejected (SQL-injection defense for the untrusted key names, and
143
+ * a non-key field such as `Status` would select an arbitrary matching row). Every
144
+ * primary-key field must be supplied, so the filter identifies exactly one record.
145
+ * Values are single-quote-escaped.
116
146
  */
117
- protected primaryKeyFilter(entityName: string, primaryKey: JsonObject, provider?: IMetadataProvider): string;
147
+ protected primaryKeyFilter(entityName: string, primaryKey: JsonObject, provider: IMetadataProvider): string;
118
148
  /** Resolve an entity id from its name (best-effort; empty when unavailable). */
119
- protected resolveEntityId(entityName: string, provider?: IMetadataProvider): string;
149
+ protected resolveEntityId(entityName: string, provider: IMetadataProvider): string;
120
150
  /** First string-able value of an object (used to key a record ref from a pk map). */
121
151
  protected firstStringValue(obj: JsonObject): string;
122
152
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"score-record-set.runner.d.ts","sourceRoot":"","sources":["../../src/actions/score-record-set.runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAIjH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EAEZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE;;;;;;;;;;;;;;GAcG;AACH,UAAU,oBAAoB;IAC5B,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED,0DAA0D;AAC1D,MAAM,WAAW,qCAAqC;IACpD;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,qBAAa,8BAA+B,YAAW,qBAAqB;IAC1E,OAAO,CAAC,QAAQ,C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EAAE,SAAS,EAAE,EACpB,OAAO,EAAE,YAAY,EAAE,EACvB,OAAO,EAAE,qBAAqB,EAC9B,SAAS,EAAE,gBAAgB,GAC1B,oBAAoB;CAqCxB;AAED;;;;;GAKG;AACH,UAAU,gBAAgB;IACxB,4DAA4D;IAC5D,SAAS,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAC5B"}
1
+ {"version":3,"file":"score-record-set.runner.d.ts","sourceRoot":"","sources":["../../src/actions/score-record-set.runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,UAAU,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,KAAK,EAAE,SAAS,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAKjH,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EAEZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE;;;;;;;;;;;;;;GAcG;AACH,UAAU,oBAAoB;IAC5B,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED,0DAA0D;AAC1D,MAAM,WAAW,qCAAqC;IACpD;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AAC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