assignment-user-matcher 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +188 -89
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/learning/auto-weights.d.ts +31 -0
- package/dist/learning/auto-weights.d.ts.map +1 -0
- package/dist/learning/auto-weights.js +65 -0
- package/dist/lua/workflow-transition.lua +29 -0
- package/dist/managers/LearningManager.d.ts +39 -4
- package/dist/managers/LearningManager.d.ts.map +1 -1
- package/dist/managers/LearningManager.js +78 -3
- package/dist/managers/ReliabilityManager.d.ts +60 -2
- package/dist/managers/ReliabilityManager.d.ts.map +1 -1
- package/dist/managers/ReliabilityManager.js +190 -9
- package/dist/managers/TelemetryManager.d.ts.map +1 -1
- package/dist/managers/WorkflowManager.d.ts +78 -1
- package/dist/managers/WorkflowManager.d.ts.map +1 -1
- package/dist/managers/WorkflowManager.js +449 -77
- package/dist/matcher.class.d.ts +105 -8
- package/dist/matcher.class.d.ts.map +1 -1
- package/dist/matcher.class.js +307 -37
- package/dist/queries/pagination.d.ts.map +1 -1
- package/dist/queries/pagination.js +9 -6
- package/dist/scoring/match-score.d.ts.map +1 -1
- package/dist/scoring/match-score.js +1 -1
- package/dist/types/matcher.d.ts +139 -0
- package/dist/types/matcher.d.ts.map +1 -1
- package/dist/utils/geo.d.ts +26 -0
- package/dist/utils/geo.d.ts.map +1 -0
- package/dist/utils/geo.js +62 -0
- package/dist/utils/keys.d.ts +10 -0
- package/dist/utils/keys.d.ts.map +1 -1
- package/dist/utils/keys.js +11 -0
- package/dist/workflow-validation.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/matcher.class.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type PaginationOptions, type PaginationResult, type AssignmentCounts } from './queries/pagination';
|
|
2
|
-
import { type WorkflowHost } from './managers/WorkflowManager';
|
|
3
|
-
import type { RedisClientType, User, Assignment, Stats, PendingAssignmentInfo, MatcherOptions, WorkflowDefinition, WorkflowDefinitionInput, WorkflowDefinitionSummary, WorkflowInstance, WorkflowEvent, AssignmentResult, DeadLetterEntry, AuditEntry, WorkflowInstanceWithSnapshot, LearningSignals, LearningSample, LearningStats } from './types/matcher';
|
|
4
|
-
export type { RedisClientType, User, Assignment, Stats, PendingAssignmentInfo, MatcherOptions, options } from './types/matcher';
|
|
5
|
-
export type { WorkflowDefinition, WorkflowDefinitionInput, WorkflowDefinitionSummary, WorkflowInstance, WorkflowStep, WorkflowTargetUser, WorkflowMachineTask, WorkflowTaskType, WorkflowEvent, WorkflowEventType, AssignmentResult, ParallelBranchState, DeadLetterEntry, AuditEntry, CircuitBreakerState, WorkflowInstanceWithSnapshot, LearningOutcome, LearningRewards, LearningFeatures, LearningAssignmentContext, LearningFeatureExtractor, LearningDecisionRecord, LearningEpisodeRecord, LearningSignals, LearningSample, LearningStats, } from './types/matcher';
|
|
2
|
+
import { type WorkflowHost, type MachineTaskHandler } from './managers/WorkflowManager';
|
|
3
|
+
import type { RedisClientType, User, Assignment, Stats, PendingAssignmentInfo, MatcherOptions, WorkflowDefinition, WorkflowDefinitionInput, WorkflowDefinitionSummary, WorkflowInstance, WorkflowEvent, AssignmentResult, DeadLetterEntry, AuditEntry, WorkflowInstanceWithSnapshot, LearningSignals, LearningSample, LearningStats, LearningTagStat, ReliabilityMetrics, CircuitBreakerState, WorkflowEngineMetrics } from './types/matcher';
|
|
4
|
+
export type { RedisClientType, User, Assignment, Stats, PendingAssignmentInfo, MatcherOptions, options, GeoMatchResult, GeoMatchingFunction, ReliabilityMetrics, WorkflowInstanceStatus, WorkflowRouting, } from './types/matcher';
|
|
5
|
+
export type { WorkflowDefinition, WorkflowDefinitionInput, WorkflowDefinitionSummary, WorkflowInstance, WorkflowStep, WorkflowTargetUser, WorkflowMachineTask, WorkflowTaskType, WorkflowEvent, WorkflowEventType, AssignmentResult, ParallelBranchState, DeadLetterEntry, AuditEntry, CircuitBreakerState, WorkflowInstanceWithSnapshot, LearningOutcome, LearningRewards, LearningFeatures, LearningAssignmentContext, LearningFeatureExtractor, LearningDecisionRecord, LearningEpisodeRecord, LearningSignals, LearningSample, LearningStats, LearningTagStat, AutoRoutingWeightsOptions, WorkflowEngineMetrics, } from './types/matcher';
|
|
6
|
+
export type { MachineTaskHandler, WorkflowHost } from './managers/WorkflowManager';
|
|
7
|
+
export type { AssignmentStatus, PaginationOptions, PaginationResult, AssignmentCounts } from './queries/pagination';
|
|
6
8
|
export default class AssignmentMatcher implements WorkflowHost {
|
|
7
9
|
redisClient: RedisClientType;
|
|
8
10
|
relevantBatchSize: number;
|
|
@@ -31,8 +33,13 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
31
33
|
private usingDefaultMatchScore;
|
|
32
34
|
private readonly readyPromise;
|
|
33
35
|
private enableLearning;
|
|
36
|
+
private enableAutoRoutingWeights;
|
|
34
37
|
private learning;
|
|
35
38
|
private learningFeatureExtractor;
|
|
39
|
+
private enableGeoMatching;
|
|
40
|
+
private geoDefaultMaxDistanceKm?;
|
|
41
|
+
private geoScoreWeight;
|
|
42
|
+
private geoMatchingFunction?;
|
|
36
43
|
constructor(redisClient: RedisClientType, options?: MatcherOptions);
|
|
37
44
|
/** Keys for the three assignment stores (used by pagination queries) */
|
|
38
45
|
private get assignmentStoreKeys();
|
|
@@ -71,6 +78,27 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
71
78
|
* Get audit events from the audit stream.
|
|
72
79
|
*/
|
|
73
80
|
getAuditEvents(count?: number): Promise<AuditEntry[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Get comprehensive reliability metrics including circuit breaker state,
|
|
83
|
+
* Dead Letter Queue size, and Redis health status.
|
|
84
|
+
*/
|
|
85
|
+
getReliabilityMetrics(): Promise<ReliabilityMetrics>;
|
|
86
|
+
/**
|
|
87
|
+
* Get current circuit breaker state
|
|
88
|
+
*/
|
|
89
|
+
getCircuitBreakerState(): Promise<CircuitBreakerState>;
|
|
90
|
+
/**
|
|
91
|
+
* Check if Dead Letter Queue size exceeds alert threshold
|
|
92
|
+
*/
|
|
93
|
+
checkDeadLetterQueueAlert(): Promise<boolean>;
|
|
94
|
+
/**
|
|
95
|
+
* Perform a health check on Redis connection
|
|
96
|
+
* Returns true if Redis is healthy, false otherwise
|
|
97
|
+
*/
|
|
98
|
+
healthCheck(): Promise<{
|
|
99
|
+
healthy: boolean;
|
|
100
|
+
details: Record<string, any>;
|
|
101
|
+
}>;
|
|
74
102
|
/**
|
|
75
103
|
* Get the learned model weights (feature -> weight).
|
|
76
104
|
*/
|
|
@@ -103,6 +131,50 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
103
131
|
* Reset the learned model weights and statistics.
|
|
104
132
|
*/
|
|
105
133
|
resetLearningModel(): Promise<void>;
|
|
134
|
+
/**
|
|
135
|
+
* Toggle learning shadow mode at runtime without losing model/state.
|
|
136
|
+
*
|
|
137
|
+
* `true`: learn-only, ranking unaffected.
|
|
138
|
+
* `false`: learning predictions can influence ranking.
|
|
139
|
+
*/
|
|
140
|
+
setLearningShadowMode(enabled: boolean): Promise<void>;
|
|
141
|
+
/** Current runtime shadow mode state. */
|
|
142
|
+
getLearningShadowMode(): Promise<boolean>;
|
|
143
|
+
/**
|
|
144
|
+
* Per-user, per-tag reward statistics aggregated from learned outcomes.
|
|
145
|
+
* Requires `enableLearning` and `enableAutoRoutingWeights`.
|
|
146
|
+
*/
|
|
147
|
+
getLearnedTagStats(userId: string): Promise<LearningTagStat[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Synthesize a routingWeights map for a user from learned tag statistics
|
|
150
|
+
* using a UCB1 bandit policy: high weights for rewarding tags, weight 0
|
|
151
|
+
* (hard veto) for consistently bad tags, and optimistic priors for
|
|
152
|
+
* under-explored tags. Does not persist anything.
|
|
153
|
+
*
|
|
154
|
+
* @param opts.includeUnexploredTags also assign the exploration prior to
|
|
155
|
+
* every known tag in the system the user has no data for yet
|
|
156
|
+
*/
|
|
157
|
+
getLearnedRoutingWeights(userId: string, opts?: {
|
|
158
|
+
includeUnexploredTags?: boolean;
|
|
159
|
+
}): Promise<Record<string, number>>;
|
|
160
|
+
/**
|
|
161
|
+
* Apply learned routing weights to one user (or every tracked user when
|
|
162
|
+
* no id is given), automating tags/weights generation from RL outcomes.
|
|
163
|
+
*
|
|
164
|
+
* Merge semantics: learned tags always take their learned value; manual
|
|
165
|
+
* routingWeights entries for tags the learner has no data on are
|
|
166
|
+
* preserved (set `opts.overrideManual` to replace the map entirely).
|
|
167
|
+
* The applied learned map is stored on the user as `learnedRoutingWeights`
|
|
168
|
+
* for observability.
|
|
169
|
+
*
|
|
170
|
+
* Returns the applied weights per user id.
|
|
171
|
+
*/
|
|
172
|
+
syncLearnedRoutingWeights(userId?: string, opts?: {
|
|
173
|
+
overrideManual?: boolean;
|
|
174
|
+
includeUnexploredTags?: boolean;
|
|
175
|
+
}): Promise<Record<string, Record<string, number>>>;
|
|
176
|
+
/** All known tags except the internal 'default' tag (for exploration priors) */
|
|
177
|
+
private getKnownTagsForAutoWeights;
|
|
106
178
|
/**
|
|
107
179
|
* Set the OpenTelemetry tracer instance.
|
|
108
180
|
*/
|
|
@@ -125,10 +197,7 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
125
197
|
* Get assignments with pagination support for efficient querying of large datasets.
|
|
126
198
|
* Uses cursor-based pagination across statuses.
|
|
127
199
|
*
|
|
128
|
-
* @param options
|
|
129
|
-
* @param options.limit - Maximum number of assignments to return per page (default: 100)
|
|
130
|
-
* @param options.status - Filter by status: 'queued' | 'pending' | 'accepted' | 'all' (default: 'all')
|
|
131
|
-
* @param options.includeTotal - Whether to include total count (slower for large datasets)
|
|
200
|
+
* @param options - Pagination options.
|
|
132
201
|
*/
|
|
133
202
|
getAssignmentsPaginated(options?: PaginationOptions): Promise<PaginationResult>;
|
|
134
203
|
/**
|
|
@@ -153,6 +222,8 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
153
222
|
/** Default match score implementation using extracted scoring module */
|
|
154
223
|
private defaultMatchScore;
|
|
155
224
|
private matchScore;
|
|
225
|
+
private evaluateGeoMatch;
|
|
226
|
+
private calculateGeoBoost;
|
|
156
227
|
private calculatePriority;
|
|
157
228
|
get stats(): Promise<Stats>;
|
|
158
229
|
get usersWithoutAssignment(): Promise<string[]>;
|
|
@@ -246,6 +317,32 @@ export default class AssignmentMatcher implements WorkflowHost {
|
|
|
246
317
|
* Stop the workflow orchestrator.
|
|
247
318
|
*/
|
|
248
319
|
stopOrchestrator(): Promise<void>;
|
|
320
|
+
/**
|
|
321
|
+
* Register a machine task handler by name. Machine steps with a matching
|
|
322
|
+
* machineTask.handler run through this handler; unmatched handlers fall
|
|
323
|
+
* back to the executeMachineTask host hook.
|
|
324
|
+
*/
|
|
325
|
+
registerMachineHandler(name: string, handler: MachineTaskHandler): void;
|
|
326
|
+
/**
|
|
327
|
+
* Process due delayed event retries. Called automatically by the
|
|
328
|
+
* orchestrator; exposed for deployments that run their own schedulers.
|
|
329
|
+
*/
|
|
330
|
+
drainScheduledRetries(): Promise<number>;
|
|
331
|
+
/**
|
|
332
|
+
* Backfill workflow indexes (active-instance index) from records created
|
|
333
|
+
* before these indexes existed. Safe to run multiple times.
|
|
334
|
+
*/
|
|
335
|
+
backfillWorkflowIndexes(): Promise<number>;
|
|
336
|
+
/**
|
|
337
|
+
* Remove terminal workflow instances last updated more than olderThanMs
|
|
338
|
+
* ago, including registry, per-user, and index entries.
|
|
339
|
+
*/
|
|
340
|
+
pruneWorkflowInstances(olderThanMs: number): Promise<number>;
|
|
341
|
+
/**
|
|
342
|
+
* Operational metrics for the workflow engine: active instances, retry
|
|
343
|
+
* queue depth, DLQ size, and event stream statistics.
|
|
344
|
+
*/
|
|
345
|
+
getWorkflowMetrics(): Promise<WorkflowEngineMetrics>;
|
|
249
346
|
processExpiredMatches(): Promise<number>;
|
|
250
347
|
private autoReleaseInterval;
|
|
251
348
|
startAutoReleaseInterval(intervalMs?: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matcher.class.d.ts","sourceRoot":"","sources":["../src/matcher.class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"matcher.class.d.ts","sourceRoot":"","sources":["../src/matcher.class.ts"],"names":[],"mappings":"AAMA,OAAO,EAMH,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACxB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,EAAmB,KAAK,YAAY,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACzG,OAAO,KAAK,EACR,eAAe,EACf,IAAI,EACJ,UAAU,EACV,KAAK,EACL,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,4BAA4B,EAI5B,eAAe,EACf,cAAc,EACd,aAAa,EACb,eAAe,EAGf,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EACR,eAAe,EACf,IAAI,EACJ,UAAU,EACV,KAAK,EACL,qBAAqB,EACrB,cAAc,EACd,OAAO,EACP,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,GAClB,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EACR,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACr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