@lucern/confidence 0.1.0-alpha.2
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 +34 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +1833 -0
- package/dist/index.js.map +1 -0
- package/dist/v1/index.d.ts +17 -0
- package/dist/v1/index.js +1833 -0
- package/dist/v1/index.js.map +1 -0
- package/dist/v1/interfaces.d.ts +28 -0
- package/dist/v1/interfaces.js +3 -0
- package/dist/v1/interfaces.js.map +1 -0
- package/dist/v1/operations/approximation.d.ts +8 -0
- package/dist/v1/operations/approximation.js +219 -0
- package/dist/v1/operations/approximation.js.map +1 -0
- package/dist/v1/operations/bridge/index.d.ts +12 -0
- package/dist/v1/operations/bridge/index.js +89 -0
- package/dist/v1/operations/bridge/index.js.map +1 -0
- package/dist/v1/operations/canonical.d.ts +7 -0
- package/dist/v1/operations/canonical.js +199 -0
- package/dist/v1/operations/canonical.js.map +1 -0
- package/dist/v1/operations/contracts/epistemicContract.d.ts +51 -0
- package/dist/v1/operations/contracts/epistemicContract.js +320 -0
- package/dist/v1/operations/contracts/epistemicContract.js.map +1 -0
- package/dist/v1/operations/contradiction/detectTupleContradiction.d.ts +13 -0
- package/dist/v1/operations/contradiction/detectTupleContradiction.js +40 -0
- package/dist/v1/operations/contradiction/detectTupleContradiction.js.map +1 -0
- package/dist/v1/operations/contradiction/index.d.ts +2 -0
- package/dist/v1/operations/contradiction/index.js +40 -0
- package/dist/v1/operations/contradiction/index.js.map +1 -0
- package/dist/v1/operations/dynamics/cascade.d.ts +6 -0
- package/dist/v1/operations/dynamics/cascade.js +56 -0
- package/dist/v1/operations/dynamics/cascade.js.map +1 -0
- package/dist/v1/operations/dynamics/decay.d.ts +25 -0
- package/dist/v1/operations/dynamics/decay.js +271 -0
- package/dist/v1/operations/dynamics/decay.js.map +1 -0
- package/dist/v1/operations/dynamics/defeat.d.ts +6 -0
- package/dist/v1/operations/dynamics/defeat.js +134 -0
- package/dist/v1/operations/dynamics/defeat.js.map +1 -0
- package/dist/v1/operations/dynamics/propagation.d.ts +58 -0
- package/dist/v1/operations/dynamics/propagation.js +399 -0
- package/dist/v1/operations/dynamics/propagation.js.map +1 -0
- package/dist/v1/operations/dynamics/revision.d.ts +24 -0
- package/dist/v1/operations/dynamics/revision.js +111 -0
- package/dist/v1/operations/dynamics/revision.js.map +1 -0
- package/dist/v1/operations/index.d.ts +2 -0
- package/dist/v1/operations/index.js +66 -0
- package/dist/v1/operations/index.js.map +1 -0
- package/dist/v1/operations/lucern.d.ts +14 -0
- package/dist/v1/operations/lucern.js +1280 -0
- package/dist/v1/operations/lucern.js.map +1 -0
- package/dist/v1/operations/operatorTaxonomy.d.ts +366 -0
- package/dist/v1/operations/operatorTaxonomy.js +508 -0
- package/dist/v1/operations/operatorTaxonomy.js.map +1 -0
- package/dist/v1/operations/scoring.d.ts +28 -0
- package/dist/v1/operations/scoring.js +107 -0
- package/dist/v1/operations/scoring.js.map +1 -0
- package/dist/v1/operations/subjectiveLogic/index.d.ts +26 -0
- package/dist/v1/operations/subjectiveLogic/index.js +285 -0
- package/dist/v1/operations/subjectiveLogic/index.js.map +1 -0
- package/dist/v1/operations/temporalDecay.d.ts +24 -0
- package/dist/v1/operations/temporalDecay.js +66 -0
- package/dist/v1/operations/temporalDecay.js.map +1 -0
- package/dist/v1/types.d.ts +208 -0
- package/dist/v1/types.js +3 -0
- package/dist/v1/types.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
// src/v1/operations/approximation.ts
|
|
2
|
+
var SL_APPROXIMATION_OPERATOR_NAMES = [
|
|
3
|
+
"cumulativeFusion",
|
|
4
|
+
"averagingFusion",
|
|
5
|
+
"conditionalAbduction",
|
|
6
|
+
"opinionFromDirichlet",
|
|
7
|
+
"projectDirichletOpinion",
|
|
8
|
+
"opinionFromBeta",
|
|
9
|
+
"betaFromOpinion",
|
|
10
|
+
"dampedDependencyOpinion",
|
|
11
|
+
"dampedDependencyCascade"
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
// src/v1/operations/canonical.ts
|
|
15
|
+
var SL_CANONICAL_OPERATOR_NAMES = [
|
|
16
|
+
"opinion",
|
|
17
|
+
"vacuous",
|
|
18
|
+
"dogmatic",
|
|
19
|
+
"project",
|
|
20
|
+
"trustDiscount",
|
|
21
|
+
"negate",
|
|
22
|
+
"conditionalDeduction",
|
|
23
|
+
"confidenceFromOpinion",
|
|
24
|
+
"confidenceFromSL",
|
|
25
|
+
"opinionFromBaseRate",
|
|
26
|
+
"opinionFromDogmatic",
|
|
27
|
+
"opinionFromProjected"
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
// src/v1/operations/lucern.ts
|
|
31
|
+
var LUCERN_SPECIFIC_OPERATOR_NAMES = [
|
|
32
|
+
"clamp01",
|
|
33
|
+
"toStoredOpinionFields",
|
|
34
|
+
"readOpinionFromRecord",
|
|
35
|
+
"opinionFromScalar",
|
|
36
|
+
"temporalDecay",
|
|
37
|
+
"toDogmaticOpinion",
|
|
38
|
+
"hasProjectedOpinionChanged",
|
|
39
|
+
"normalizeTupleContradictionPolicy",
|
|
40
|
+
"detectTupleContradiction",
|
|
41
|
+
"evaluateTupleContradictionTransition",
|
|
42
|
+
"confidenceLevel",
|
|
43
|
+
"constraintFusion",
|
|
44
|
+
"evidenceBalance",
|
|
45
|
+
"areTensioned",
|
|
46
|
+
"informationGain",
|
|
47
|
+
"isPropagationEdgeType",
|
|
48
|
+
"getPropagationTraversalSpecs",
|
|
49
|
+
"propagateThroughEdge",
|
|
50
|
+
"propagateAllEdges",
|
|
51
|
+
"bayesianUpdate",
|
|
52
|
+
"reviseConfidence",
|
|
53
|
+
"computeBaseDecay",
|
|
54
|
+
"computeDeadlineUrgency",
|
|
55
|
+
"computeEffectiveDecay",
|
|
56
|
+
"getRescoringSchedule",
|
|
57
|
+
"decay",
|
|
58
|
+
"applyNegativeSupport",
|
|
59
|
+
"applyNegativeEvidence",
|
|
60
|
+
"deriveContractStatus",
|
|
61
|
+
"deriveVerificationTrigger",
|
|
62
|
+
"deriveContractModulationPlan",
|
|
63
|
+
"createInheritedContractRecord",
|
|
64
|
+
"normalizeEvidentialAction",
|
|
65
|
+
"parseComparisonOperator",
|
|
66
|
+
"parseNumericThreshold",
|
|
67
|
+
"pickFiniteNumber",
|
|
68
|
+
"getEvaluatorInputRecord",
|
|
69
|
+
"parseEvidentialEvaluatorConfig",
|
|
70
|
+
"compareMetricValue",
|
|
71
|
+
"resolveComparisonResult",
|
|
72
|
+
"buildComparisonRationale",
|
|
73
|
+
"buildEvidentialRationale",
|
|
74
|
+
"parseMetricCheckerConfig",
|
|
75
|
+
"parseReferenceCheckCounterConfig",
|
|
76
|
+
"parseTemporalDeadlineConfig",
|
|
77
|
+
"parseMarketIndexComparatorConfig"
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
// src/v1/operations/operatorTaxonomy.ts
|
|
81
|
+
var OPERATOR_TAXONOMY_TAGS = [
|
|
82
|
+
"SL_CANONICAL",
|
|
83
|
+
"SL_APPROXIMATION",
|
|
84
|
+
"LUCERN_SPECIFIC"
|
|
85
|
+
];
|
|
86
|
+
var PUBLIC_OPERATOR_EXPORT_NAMES = [
|
|
87
|
+
...SL_CANONICAL_OPERATOR_NAMES,
|
|
88
|
+
...SL_APPROXIMATION_OPERATOR_NAMES,
|
|
89
|
+
...LUCERN_SPECIFIC_OPERATOR_NAMES
|
|
90
|
+
];
|
|
91
|
+
var OPERATOR_TAXONOMY_ENTRIES = [
|
|
92
|
+
{
|
|
93
|
+
operator: "opinion",
|
|
94
|
+
tag: "SL_CANONICAL",
|
|
95
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
96
|
+
rationale: "Constructs the canonical binomial SL opinion tuple and normalizes it into valid mass components."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
operator: "vacuous",
|
|
100
|
+
tag: "SL_CANONICAL",
|
|
101
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
102
|
+
rationale: "Builds the canonical vacuous opinion with full uncertainty and an explicit base rate."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
operator: "dogmatic",
|
|
106
|
+
tag: "SL_CANONICAL",
|
|
107
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
108
|
+
rationale: "Builds the canonical dogmatic opinion with zero uncertainty at a projected probability."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
operator: "project",
|
|
112
|
+
tag: "SL_CANONICAL",
|
|
113
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
114
|
+
rationale: "Implements the canonical SL projected probability formula P = b + a*u."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
operator: "trustDiscount",
|
|
118
|
+
tag: "SL_CANONICAL",
|
|
119
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
120
|
+
rationale: "Implements standard trust discounting by attenuating belief/disbelief mass and returning the remainder to uncertainty."
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
operator: "negate",
|
|
124
|
+
tag: "SL_CANONICAL",
|
|
125
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
126
|
+
rationale: "Implements canonical opinion negation by swapping belief and disbelief and complementing the base rate."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
operator: "confidenceFromOpinion",
|
|
130
|
+
tag: "SL_CANONICAL",
|
|
131
|
+
sourceModule: "operations/scoring.ts",
|
|
132
|
+
rationale: "Projects a stored opinion into its canonical scalar probability without adding Lucern-specific heuristics."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
operator: "confidenceFromSL",
|
|
136
|
+
tag: "SL_CANONICAL",
|
|
137
|
+
sourceModule: "operations/scoring.ts",
|
|
138
|
+
rationale: "Thin wrapper over the canonical SL projection formula for callers that provide tuple components directly."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
operator: "opinionFromBaseRate",
|
|
142
|
+
tag: "SL_CANONICAL",
|
|
143
|
+
sourceModule: "operations/scoring.ts",
|
|
144
|
+
rationale: "Constructs the canonical vacuous opinion from a prior/base-rate probability."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
operator: "opinionFromDogmatic",
|
|
148
|
+
tag: "SL_CANONICAL",
|
|
149
|
+
sourceModule: "operations/scoring.ts",
|
|
150
|
+
rationale: "Constructs the canonical dogmatic opinion from a projected probability and base rate."
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
operator: "opinionFromProjected",
|
|
154
|
+
tag: "SL_CANONICAL",
|
|
155
|
+
sourceModule: "operations/scoring.ts",
|
|
156
|
+
rationale: "Reconstructs a valid opinion from projected probability plus explicit uncertainty without changing the SL tuple semantics."
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
operator: "cumulativeFusion",
|
|
160
|
+
tag: "SL_APPROXIMATION",
|
|
161
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
162
|
+
rationale: "Implements the cumulative fusion family, but Lucern averages base rates and special-cases dogmatic pairs instead of claiming a verbatim textbook transcription."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
operator: "averagingFusion",
|
|
166
|
+
tag: "SL_APPROXIMATION",
|
|
167
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
168
|
+
rationale: "Implements the averaging fusion family with Lucern-specific base-rate averaging and dogmatic shortcuts."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
operator: "conditionalDeduction",
|
|
172
|
+
tag: "SL_CANONICAL",
|
|
173
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
174
|
+
rationale: "Implements textbook J\xF8sang conditional deduction over (b, d, u, a) tuples with explicit child base-rate derivation and uncertainty correction."
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
operator: "conditionalAbduction",
|
|
178
|
+
tag: "SL_APPROXIMATION",
|
|
179
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
180
|
+
rationale: "Implements inverse conditional reasoning through projected probabilities and a Lucern uncertainty floor rather than a full subjective-network derivation."
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
operator: "opinionFromDirichlet",
|
|
184
|
+
tag: "SL_APPROXIMATION",
|
|
185
|
+
sourceModule: "operations/bridge/index.ts",
|
|
186
|
+
rationale: "Bridges multinomial Dirichlet-style evidence counts into opinion mass with a configurable non-informative weight and normalized base-rate vector."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
operator: "projectDirichletOpinion",
|
|
190
|
+
tag: "SL_APPROXIMATION",
|
|
191
|
+
sourceModule: "operations/bridge/index.ts",
|
|
192
|
+
rationale: "Projects a Dirichlet opinion back into a multinomial probability vector rather than into Lucern's scalar node confidence."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
operator: "opinionFromBeta",
|
|
196
|
+
tag: "SL_APPROXIMATION",
|
|
197
|
+
sourceModule: "operations/bridge/index.ts",
|
|
198
|
+
rationale: "Bridges Beta evidence counts into SL opinions, but exposes a configurable non-informative weight instead of locking the canonical bridge to W = 2."
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
operator: "betaFromOpinion",
|
|
202
|
+
tag: "SL_APPROXIMATION",
|
|
203
|
+
sourceModule: "operations/bridge/index.ts",
|
|
204
|
+
rationale: "Bridges opinions back to Beta parameters while allowing a configurable non-informative weight and explicit dogmatic infinities."
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
operator: "dampedDependencyOpinion",
|
|
208
|
+
tag: "SL_APPROXIMATION",
|
|
209
|
+
sourceModule: "operations/dynamics/cascade.ts",
|
|
210
|
+
rationale: "Approximates dependency propagation with a threshold-or-damping scheme instead of a general SL network inference operator. Used as the fallback when edge metadata lacks explicit conditional opinions."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
operator: "dampedDependencyCascade",
|
|
214
|
+
tag: "SL_APPROXIMATION",
|
|
215
|
+
sourceModule: "operations/dynamics/cascade.ts",
|
|
216
|
+
rationale: "Wraps the damped dependency approximation and records it as dependency_cascade provenance for graph propagation. Fallback path for depends_on when edge conditionals are absent."
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
operator: "clamp01",
|
|
220
|
+
tag: "LUCERN_SPECIFIC",
|
|
221
|
+
sourceModule: "operations/scoring.ts",
|
|
222
|
+
rationale: "Implementation helper for Lucern APIs; it has no direct J\xF8sang operator analogue."
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
operator: "toStoredOpinionFields",
|
|
226
|
+
tag: "LUCERN_SPECIFIC",
|
|
227
|
+
sourceModule: "operations/scoring.ts",
|
|
228
|
+
rationale: "Serializes opinions into Lucern storage fields rather than implementing an SL algebra operator."
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
operator: "readOpinionFromRecord",
|
|
232
|
+
tag: "LUCERN_SPECIFIC",
|
|
233
|
+
sourceModule: "operations/scoring.ts",
|
|
234
|
+
rationale: "Deserializes opinion fields from Lucern record shapes and fallback aliases; it is storage glue, not SL."
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
operator: "opinionFromScalar",
|
|
238
|
+
tag: "LUCERN_SPECIFIC",
|
|
239
|
+
sourceModule: "operations/scoring.ts",
|
|
240
|
+
rationale: "Lucern convenience wrapper that multiplexes several scalar-to-opinion construction modes behind one API."
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
operator: "temporalDecay",
|
|
244
|
+
tag: "LUCERN_SPECIFIC",
|
|
245
|
+
sourceModule: "operations/temporalDecay.ts",
|
|
246
|
+
rationale: "Lucern temporal operator that exponentially ages evidential mass back into uncertainty while preserving the prior/base rate."
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
operator: "toDogmaticOpinion",
|
|
250
|
+
tag: "LUCERN_SPECIFIC",
|
|
251
|
+
sourceModule: "operations/scoring.ts",
|
|
252
|
+
rationale: "Deprecated Lucern shim retained for compatibility rather than as a canonical SL operator."
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
operator: "hasProjectedOpinionChanged",
|
|
256
|
+
tag: "LUCERN_SPECIFIC",
|
|
257
|
+
sourceModule: "operations/scoring.ts",
|
|
258
|
+
rationale: "Lucern propagation threshold helper that decides whether a write is materially different enough to fan out."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
operator: "normalizeTupleContradictionPolicy",
|
|
262
|
+
tag: "LUCERN_SPECIFIC",
|
|
263
|
+
sourceModule: "operations/contradiction/detectTupleContradiction.ts",
|
|
264
|
+
rationale: "Normalizes Lucern tuple-contradiction thresholds; tuple contradiction is not a standard SL operator."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
operator: "detectTupleContradiction",
|
|
268
|
+
tag: "LUCERN_SPECIFIC",
|
|
269
|
+
sourceModule: "operations/contradiction/detectTupleContradiction.ts",
|
|
270
|
+
rationale: "Lucern heuristic that flags simultaneous high belief and disbelief mass as a first-class contradiction state."
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
operator: "evaluateTupleContradictionTransition",
|
|
274
|
+
tag: "LUCERN_SPECIFIC",
|
|
275
|
+
sourceModule: "operations/contradiction/detectTupleContradiction.ts",
|
|
276
|
+
rationale: "Lucern transition helper that turns tuple-contradiction threshold crossings into workflow signals."
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
operator: "confidenceLevel",
|
|
280
|
+
tag: "LUCERN_SPECIFIC",
|
|
281
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
282
|
+
rationale: "Buckets opinions into Lucern UI labels; it is not part of J\xF8sang's operator set."
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
operator: "constraintFusion",
|
|
286
|
+
tag: "LUCERN_SPECIFIC",
|
|
287
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
288
|
+
rationale: "Lucern exclusivity/XOR heuristic that pressures paired opinions; there is no direct textbook SL operator with this behavior."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
operator: "evidenceBalance",
|
|
292
|
+
tag: "LUCERN_SPECIFIC",
|
|
293
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
294
|
+
rationale: "Lucern analytic helper that summarizes resolved evidence tilt after uncertainty is excluded."
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
operator: "areTensioned",
|
|
298
|
+
tag: "LUCERN_SPECIFIC",
|
|
299
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
300
|
+
rationale: "Lucern heuristic for surfacing opinion tension based on projected agreement plus residual disbelief mass."
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
operator: "informationGain",
|
|
304
|
+
tag: "LUCERN_SPECIFIC",
|
|
305
|
+
sourceModule: "operations/subjectiveLogic/index.ts",
|
|
306
|
+
rationale: "Lucern heuristic score over uncertainty and balance; it is neither Shannon entropy nor a named SL operator."
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
operator: "isPropagationEdgeType",
|
|
310
|
+
tag: "LUCERN_SPECIFIC",
|
|
311
|
+
sourceModule: "operations/dynamics/propagation.ts",
|
|
312
|
+
rationale: "Lucern dispatch-table guard for graph edge semantics, not an SL algebra operator."
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
operator: "getPropagationTraversalSpecs",
|
|
316
|
+
tag: "LUCERN_SPECIFIC",
|
|
317
|
+
sourceModule: "operations/dynamics/propagation.ts",
|
|
318
|
+
rationale: "Exposes the pure-module edge traversal ordering used by the local propagation helpers; graph-primitives owns the multi-hop runtime."
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
operator: "propagateThroughEdge",
|
|
322
|
+
tag: "LUCERN_SPECIFIC",
|
|
323
|
+
sourceModule: "operations/dynamics/propagation.ts",
|
|
324
|
+
rationale: "Compiles Lucern edge types into operator application; the dispatch architecture itself has no direct J\xF8sang analogue."
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
operator: "propagateAllEdges",
|
|
328
|
+
tag: "LUCERN_SPECIFIC",
|
|
329
|
+
sourceModule: "operations/dynamics/propagation.ts",
|
|
330
|
+
rationale: "Lucern bounded aggregator for ordered 1-hop dispatch results across edge families."
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
operator: "bayesianUpdate",
|
|
334
|
+
tag: "LUCERN_SPECIFIC",
|
|
335
|
+
sourceModule: "operations/dynamics/revision.ts",
|
|
336
|
+
rationale: "Scalar Bayesian helper retained by Lucern as a fallback revision primitive outside the canonical SL operator family."
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
operator: "reviseConfidence",
|
|
340
|
+
tag: "LUCERN_SPECIFIC",
|
|
341
|
+
sourceModule: "operations/dynamics/revision.ts",
|
|
342
|
+
rationale: "Lucern wrapper around the scalar Bayesian revision helper rather than a direct SL operator."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
operator: "computeBaseDecay",
|
|
346
|
+
tag: "LUCERN_SPECIFIC",
|
|
347
|
+
sourceModule: "operations/dynamics/decay.ts",
|
|
348
|
+
rationale: "Lucern recency heuristic over scored beliefs; decay tiers are a product rule, not part of SL."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
operator: "computeDeadlineUrgency",
|
|
352
|
+
tag: "LUCERN_SPECIFIC",
|
|
353
|
+
sourceModule: "operations/dynamics/decay.ts",
|
|
354
|
+
rationale: "Lucern deadline heuristic that modulates rescoring urgency outside the SL literature."
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
operator: "computeEffectiveDecay",
|
|
358
|
+
tag: "LUCERN_SPECIFIC",
|
|
359
|
+
sourceModule: "operations/dynamics/decay.ts",
|
|
360
|
+
rationale: "Combines Lucern age, lifecycle, and deadline heuristics into an effective decay weight."
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
operator: "getRescoringSchedule",
|
|
364
|
+
tag: "LUCERN_SPECIFIC",
|
|
365
|
+
sourceModule: "operations/dynamics/decay.ts",
|
|
366
|
+
rationale: "Produces Lucern operational scheduling guidance for rescoring rather than opinion algebra."
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
operator: "decay",
|
|
370
|
+
tag: "LUCERN_SPECIFIC",
|
|
371
|
+
sourceModule: "operations/dynamics/decay.ts",
|
|
372
|
+
rationale: "Applies Lucern time-decay heuristics to an opinion tuple; it is not a named J\xF8sang operator."
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
operator: "applyNegativeSupport",
|
|
376
|
+
tag: "LUCERN_SPECIFIC",
|
|
377
|
+
sourceModule: "operations/dynamics/defeat.ts",
|
|
378
|
+
rationale: "Lucern graph-specific defeater wrapper that chooses between XOR pressure and negation-plus-discount-plus-fusion."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
operator: "applyNegativeEvidence",
|
|
382
|
+
tag: "LUCERN_SPECIFIC",
|
|
383
|
+
sourceModule: "operations/dynamics/defeat.ts",
|
|
384
|
+
rationale: "Lucern signed-edge wrapper that interprets negative evidence through a composed anti-opinion path."
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
operator: "deriveContractStatus",
|
|
388
|
+
tag: "LUCERN_SPECIFIC",
|
|
389
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
390
|
+
rationale: "Lucern contract-lifecycle helper with no direct relation to the SL operator family."
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
operator: "deriveVerificationTrigger",
|
|
394
|
+
tag: "LUCERN_SPECIFIC",
|
|
395
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
396
|
+
rationale: "Maps Lucern contract evaluation results into confidence triggers for workflow use."
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
operator: "deriveContractModulationPlan",
|
|
400
|
+
tag: "LUCERN_SPECIFIC",
|
|
401
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
402
|
+
rationale: "Computes Lucern confidence deltas from contract outcomes; contracts are a Lucern control surface, not SL."
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
operator: "createInheritedContractRecord",
|
|
406
|
+
tag: "LUCERN_SPECIFIC",
|
|
407
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
408
|
+
rationale: "Builds Lucern contract lineage records rather than confidence algebra."
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
operator: "normalizeEvidentialAction",
|
|
412
|
+
tag: "LUCERN_SPECIFIC",
|
|
413
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
414
|
+
rationale: "Normalizes Lucern evidential contract actions for workflow execution."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
operator: "parseComparisonOperator",
|
|
418
|
+
tag: "LUCERN_SPECIFIC",
|
|
419
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
420
|
+
rationale: "Parses Lucern contract evaluator configuration; it is not an SL operator."
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
operator: "parseNumericThreshold",
|
|
424
|
+
tag: "LUCERN_SPECIFIC",
|
|
425
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
426
|
+
rationale: "Lucern contract-config helper for numeric thresholds."
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
operator: "pickFiniteNumber",
|
|
430
|
+
tag: "LUCERN_SPECIFIC",
|
|
431
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
432
|
+
rationale: "Lucern parser utility for evaluator configuration and snapshots."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
operator: "getEvaluatorInputRecord",
|
|
436
|
+
tag: "LUCERN_SPECIFIC",
|
|
437
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
438
|
+
rationale: "Extracts Lucern evaluator payloads from nested runtime records."
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
operator: "parseEvidentialEvaluatorConfig",
|
|
442
|
+
tag: "LUCERN_SPECIFIC",
|
|
443
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
444
|
+
rationale: "Parses Lucern evidential contract configuration into a typed evaluator plan."
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
operator: "compareMetricValue",
|
|
448
|
+
tag: "LUCERN_SPECIFIC",
|
|
449
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
450
|
+
rationale: "Executes Lucern contract comparison semantics rather than SL tuple algebra."
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
operator: "resolveComparisonResult",
|
|
454
|
+
tag: "LUCERN_SPECIFIC",
|
|
455
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
456
|
+
rationale: "Maps Lucern comparison outcomes into contract confirmation or disconfirmation."
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
operator: "buildComparisonRationale",
|
|
460
|
+
tag: "LUCERN_SPECIFIC",
|
|
461
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
462
|
+
rationale: "Renders Lucern contract-evaluation explanations for auditability."
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
operator: "buildEvidentialRationale",
|
|
466
|
+
tag: "LUCERN_SPECIFIC",
|
|
467
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
468
|
+
rationale: "Renders Lucern evidential evaluator explanations for auditability."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
operator: "parseMetricCheckerConfig",
|
|
472
|
+
tag: "LUCERN_SPECIFIC",
|
|
473
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
474
|
+
rationale: "Parses the Lucern metric-checker contract evaluator."
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
operator: "parseReferenceCheckCounterConfig",
|
|
478
|
+
tag: "LUCERN_SPECIFIC",
|
|
479
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
480
|
+
rationale: "Parses the Lucern reference-check counter evaluator."
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
operator: "parseTemporalDeadlineConfig",
|
|
484
|
+
tag: "LUCERN_SPECIFIC",
|
|
485
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
486
|
+
rationale: "Parses Lucern deadline-evaluator configuration for time-bounded claims."
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
operator: "parseMarketIndexComparatorConfig",
|
|
490
|
+
tag: "LUCERN_SPECIFIC",
|
|
491
|
+
sourceModule: "operations/contracts/epistemicContract.ts",
|
|
492
|
+
rationale: "Parses the Lucern market-index comparator evaluator."
|
|
493
|
+
}
|
|
494
|
+
];
|
|
495
|
+
var OPERATOR_TAXONOMY = Object.freeze(
|
|
496
|
+
Object.fromEntries(
|
|
497
|
+
OPERATOR_TAXONOMY_ENTRIES.map((entry) => [entry.operator, entry])
|
|
498
|
+
)
|
|
499
|
+
);
|
|
500
|
+
var OPERATOR_TAXONOMY_BY_TAG = Object.freeze({
|
|
501
|
+
SL_CANONICAL: SL_CANONICAL_OPERATOR_NAMES,
|
|
502
|
+
SL_APPROXIMATION: SL_APPROXIMATION_OPERATOR_NAMES,
|
|
503
|
+
LUCERN_SPECIFIC: LUCERN_SPECIFIC_OPERATOR_NAMES
|
|
504
|
+
});
|
|
505
|
+
|
|
506
|
+
export { OPERATOR_TAXONOMY, OPERATOR_TAXONOMY_BY_TAG, OPERATOR_TAXONOMY_ENTRIES, OPERATOR_TAXONOMY_TAGS, PUBLIC_OPERATOR_EXPORT_NAMES };
|
|
507
|
+
//# sourceMappingURL=operatorTaxonomy.js.map
|
|
508
|
+
//# sourceMappingURL=operatorTaxonomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/v1/operations/approximation.ts","../../../src/v1/operations/canonical.ts","../../../src/v1/operations/lucern.ts","../../../src/v1/operations/operatorTaxonomy.ts"],"names":[],"mappings":";AAAO,IAAM,+BAAA,GAAkC;AAAA,EAC7C,kBAAA;AAAA,EACA,iBAAA;AAAA,EACA,sBAAA;AAAA,EACA,sBAAA;AAAA,EACA,yBAAA;AAAA,EACA,iBAA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QAAA,EAAU,0BAAA;AAAA,IACV,GAAA,EAAK,iBAAA;AAAA,IACL,YAAA,EAAc,2CAAA;AAAA,IACd,SAAA,EACE;AAAA,GACJ;AAAA,EACA;AAAA,IACE,QAAA,EAAU,kCAAA;AAAA,IACV,GAAA,EAAK,iBAAA;AAAA,IACL,YAAA,EAAc,2CAAA;AAAA,IACd,SAAA,EACE;AAAA,GACJ;AAAA,EACA;AAAA,IACE,QAAA,EAAU,6BAAA;AAAA,IACV,GAAA,EAAK,iBAAA;AAAA,IACL,YAAA,EAAc,2CAAA;AAAA,IACd,SAAA,EACE;AAAA,GACJ;AAAA,EACA;AAAA,IACE,QAAA,EAAU,kCAAA;AAAA,IACV,GAAA,EAAK,iBAAA;AAAA,IACL,YAAA,EAAc,2CAAA;AAAA,IACd,SAAA,EACE;AAAA;AAEN;AAEO,IAAM,oBAAoB,MAAA,CAAO,MAAA;AAAA,EACtC,MAAA,CAAO,WAAA;AAAA,IACL,yBAAA,CAA0B,IAAI,CAAC,KAAA,KAAU,CAAC,KAAA,CAAM,QAAA,EAAU,KAAK,CAAC;AAAA;AAEpE;AAEO,IAAM,wBAAA,GAA2B,OAAO,MAAA,CAAO;AAAA,EACpD,YAAA,EAAc,2BAAA;AAAA,EACd,gBAAA,EAAkB,+BAAA;AAAA,EAClB,eAAA,EAAiB;AACnB,CAAC","file":"operatorTaxonomy.js","sourcesContent":["export const SL_APPROXIMATION_OPERATOR_NAMES = [\n \"cumulativeFusion\",\n \"averagingFusion\",\n \"conditionalAbduction\",\n \"opinionFromDirichlet\",\n \"projectDirichletOpinion\",\n \"opinionFromBeta\",\n \"betaFromOpinion\",\n \"dampedDependencyOpinion\",\n \"dampedDependencyCascade\",\n] as const;\n\nexport {\n cumulativeFusion,\n averagingFusion,\n conditionalAbduction,\n} from \"./subjectiveLogic\";\nexport {\n opinionFromDirichlet,\n projectDirichletOpinion,\n opinionFromBeta,\n betaFromOpinion,\n} from \"./bridge\";\nexport {\n dampedDependencyOpinion,\n dampedDependencyCascade,\n} from \"./dynamics/cascade\";\n","export const SL_CANONICAL_OPERATOR_NAMES = [\n \"opinion\",\n \"vacuous\",\n \"dogmatic\",\n \"project\",\n \"trustDiscount\",\n \"negate\",\n \"conditionalDeduction\",\n \"confidenceFromOpinion\",\n \"confidenceFromSL\",\n \"opinionFromBaseRate\",\n \"opinionFromDogmatic\",\n \"opinionFromProjected\",\n] as const;\n\nexport {\n opinion,\n vacuous,\n dogmatic,\n project,\n trustDiscount,\n negate,\n conditionalDeduction,\n} from \"./subjectiveLogic\";\nexport {\n confidenceFromOpinion,\n confidenceFromSL,\n opinionFromBaseRate,\n opinionFromDogmatic,\n opinionFromProjected,\n} from \"./scoring\";\n","export const LUCERN_SPECIFIC_OPERATOR_NAMES = [\n \"clamp01\",\n \"toStoredOpinionFields\",\n \"readOpinionFromRecord\",\n \"opinionFromScalar\",\n \"temporalDecay\",\n \"toDogmaticOpinion\",\n \"hasProjectedOpinionChanged\",\n \"normalizeTupleContradictionPolicy\",\n \"detectTupleContradiction\",\n \"evaluateTupleContradictionTransition\",\n \"confidenceLevel\",\n \"constraintFusion\",\n \"evidenceBalance\",\n \"areTensioned\",\n \"informationGain\",\n \"isPropagationEdgeType\",\n \"getPropagationTraversalSpecs\",\n \"propagateThroughEdge\",\n \"propagateAllEdges\",\n \"bayesianUpdate\",\n \"reviseConfidence\",\n \"computeBaseDecay\",\n \"computeDeadlineUrgency\",\n \"computeEffectiveDecay\",\n \"getRescoringSchedule\",\n \"decay\",\n \"applyNegativeSupport\",\n \"applyNegativeEvidence\",\n \"deriveContractStatus\",\n \"deriveVerificationTrigger\",\n \"deriveContractModulationPlan\",\n \"createInheritedContractRecord\",\n \"normalizeEvidentialAction\",\n \"parseComparisonOperator\",\n \"parseNumericThreshold\",\n \"pickFiniteNumber\",\n \"getEvaluatorInputRecord\",\n \"parseEvidentialEvaluatorConfig\",\n \"compareMetricValue\",\n \"resolveComparisonResult\",\n \"buildComparisonRationale\",\n \"buildEvidentialRationale\",\n \"parseMetricCheckerConfig\",\n \"parseReferenceCheckCounterConfig\",\n \"parseTemporalDeadlineConfig\",\n \"parseMarketIndexComparatorConfig\",\n] as const;\n\nexport {\n clamp01,\n toStoredOpinionFields,\n readOpinionFromRecord,\n opinionFromScalar,\n toDogmaticOpinion,\n hasProjectedOpinionChanged,\n} from \"./scoring\";\nexport { temporalDecay } from \"./temporalDecay\";\nexport {\n normalizeTupleContradictionPolicy,\n detectTupleContradiction,\n evaluateTupleContradictionTransition,\n} from \"./contradiction\";\nexport {\n confidenceLevel,\n constraintFusion,\n evidenceBalance,\n areTensioned,\n informationGain,\n} from \"./subjectiveLogic\";\nexport {\n isPropagationEdgeType,\n getPropagationTraversalSpecs,\n propagateThroughEdge,\n propagateAllEdges,\n} from \"./dynamics/propagation\";\nexport { bayesianUpdate, reviseConfidence } from \"./dynamics/revision\";\nexport {\n computeBaseDecay,\n computeDeadlineUrgency,\n computeEffectiveDecay,\n getRescoringSchedule,\n decay,\n} from \"./dynamics/decay\";\nexport { applyNegativeSupport, applyNegativeEvidence } from \"./dynamics/defeat\";\nexport {\n deriveContractStatus,\n deriveVerificationTrigger,\n deriveContractModulationPlan,\n createInheritedContractRecord,\n normalizeEvidentialAction,\n parseComparisonOperator,\n parseNumericThreshold,\n pickFiniteNumber,\n getEvaluatorInputRecord,\n parseEvidentialEvaluatorConfig,\n compareMetricValue,\n resolveComparisonResult,\n buildComparisonRationale,\n buildEvidentialRationale,\n parseMetricCheckerConfig,\n parseReferenceCheckCounterConfig,\n parseTemporalDeadlineConfig,\n parseMarketIndexComparatorConfig,\n} from \"./contracts/epistemicContract\";\n","import { SL_APPROXIMATION_OPERATOR_NAMES } from \"./approximation\";\nimport { SL_CANONICAL_OPERATOR_NAMES } from \"./canonical\";\nimport { LUCERN_SPECIFIC_OPERATOR_NAMES } from \"./lucern\";\n\nexport const OPERATOR_TAXONOMY_TAGS = [\n \"SL_CANONICAL\",\n \"SL_APPROXIMATION\",\n \"LUCERN_SPECIFIC\",\n] as const;\n\nexport type OperatorTaxonomyTag = (typeof OPERATOR_TAXONOMY_TAGS)[number];\nexport type ConfidenceOperatorName =\n | (typeof SL_CANONICAL_OPERATOR_NAMES)[number]\n | (typeof SL_APPROXIMATION_OPERATOR_NAMES)[number]\n | (typeof LUCERN_SPECIFIC_OPERATOR_NAMES)[number];\n\nexport type OperatorTaxonomyEntry = {\n readonly operator: ConfidenceOperatorName;\n readonly tag: OperatorTaxonomyTag;\n readonly sourceModule: string;\n readonly rationale: string;\n};\n\nexport const PUBLIC_OPERATOR_EXPORT_NAMES = [\n ...SL_CANONICAL_OPERATOR_NAMES,\n ...SL_APPROXIMATION_OPERATOR_NAMES,\n ...LUCERN_SPECIFIC_OPERATOR_NAMES,\n] as const;\n\nexport const OPERATOR_TAXONOMY_ENTRIES = [\n {\n operator: \"opinion\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Constructs the canonical binomial SL opinion tuple and normalizes it into valid mass components.\",\n },\n {\n operator: \"vacuous\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Builds the canonical vacuous opinion with full uncertainty and an explicit base rate.\",\n },\n {\n operator: \"dogmatic\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Builds the canonical dogmatic opinion with zero uncertainty at a projected probability.\",\n },\n {\n operator: \"project\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements the canonical SL projected probability formula P = b + a*u.\",\n },\n {\n operator: \"trustDiscount\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements standard trust discounting by attenuating belief/disbelief mass and returning the remainder to uncertainty.\",\n },\n {\n operator: \"negate\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements canonical opinion negation by swapping belief and disbelief and complementing the base rate.\",\n },\n {\n operator: \"confidenceFromOpinion\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Projects a stored opinion into its canonical scalar probability without adding Lucern-specific heuristics.\",\n },\n {\n operator: \"confidenceFromSL\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Thin wrapper over the canonical SL projection formula for callers that provide tuple components directly.\",\n },\n {\n operator: \"opinionFromBaseRate\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Constructs the canonical vacuous opinion from a prior/base-rate probability.\",\n },\n {\n operator: \"opinionFromDogmatic\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Constructs the canonical dogmatic opinion from a projected probability and base rate.\",\n },\n {\n operator: \"opinionFromProjected\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Reconstructs a valid opinion from projected probability plus explicit uncertainty without changing the SL tuple semantics.\",\n },\n {\n operator: \"cumulativeFusion\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements the cumulative fusion family, but Lucern averages base rates and special-cases dogmatic pairs instead of claiming a verbatim textbook transcription.\",\n },\n {\n operator: \"averagingFusion\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements the averaging fusion family with Lucern-specific base-rate averaging and dogmatic shortcuts.\",\n },\n {\n operator: \"conditionalDeduction\",\n tag: \"SL_CANONICAL\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements textbook Jøsang conditional deduction over (b, d, u, a) tuples with explicit child base-rate derivation and uncertainty correction.\",\n },\n {\n operator: \"conditionalAbduction\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Implements inverse conditional reasoning through projected probabilities and a Lucern uncertainty floor rather than a full subjective-network derivation.\",\n },\n {\n operator: \"opinionFromDirichlet\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/bridge/index.ts\",\n rationale:\n \"Bridges multinomial Dirichlet-style evidence counts into opinion mass with a configurable non-informative weight and normalized base-rate vector.\",\n },\n {\n operator: \"projectDirichletOpinion\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/bridge/index.ts\",\n rationale:\n \"Projects a Dirichlet opinion back into a multinomial probability vector rather than into Lucern's scalar node confidence.\",\n },\n {\n operator: \"opinionFromBeta\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/bridge/index.ts\",\n rationale:\n \"Bridges Beta evidence counts into SL opinions, but exposes a configurable non-informative weight instead of locking the canonical bridge to W = 2.\",\n },\n {\n operator: \"betaFromOpinion\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/bridge/index.ts\",\n rationale:\n \"Bridges opinions back to Beta parameters while allowing a configurable non-informative weight and explicit dogmatic infinities.\",\n },\n {\n operator: \"dampedDependencyOpinion\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/dynamics/cascade.ts\",\n rationale:\n \"Approximates dependency propagation with a threshold-or-damping scheme instead of a general SL network inference operator. Used as the fallback when edge metadata lacks explicit conditional opinions.\",\n },\n {\n operator: \"dampedDependencyCascade\",\n tag: \"SL_APPROXIMATION\",\n sourceModule: \"operations/dynamics/cascade.ts\",\n rationale:\n \"Wraps the damped dependency approximation and records it as dependency_cascade provenance for graph propagation. Fallback path for depends_on when edge conditionals are absent.\",\n },\n {\n operator: \"clamp01\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Implementation helper for Lucern APIs; it has no direct Jøsang operator analogue.\",\n },\n {\n operator: \"toStoredOpinionFields\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Serializes opinions into Lucern storage fields rather than implementing an SL algebra operator.\",\n },\n {\n operator: \"readOpinionFromRecord\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Deserializes opinion fields from Lucern record shapes and fallback aliases; it is storage glue, not SL.\",\n },\n {\n operator: \"opinionFromScalar\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Lucern convenience wrapper that multiplexes several scalar-to-opinion construction modes behind one API.\",\n },\n {\n operator: \"temporalDecay\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/temporalDecay.ts\",\n rationale:\n \"Lucern temporal operator that exponentially ages evidential mass back into uncertainty while preserving the prior/base rate.\",\n },\n {\n operator: \"toDogmaticOpinion\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Deprecated Lucern shim retained for compatibility rather than as a canonical SL operator.\",\n },\n {\n operator: \"hasProjectedOpinionChanged\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/scoring.ts\",\n rationale:\n \"Lucern propagation threshold helper that decides whether a write is materially different enough to fan out.\",\n },\n {\n operator: \"normalizeTupleContradictionPolicy\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contradiction/detectTupleContradiction.ts\",\n rationale:\n \"Normalizes Lucern tuple-contradiction thresholds; tuple contradiction is not a standard SL operator.\",\n },\n {\n operator: \"detectTupleContradiction\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contradiction/detectTupleContradiction.ts\",\n rationale:\n \"Lucern heuristic that flags simultaneous high belief and disbelief mass as a first-class contradiction state.\",\n },\n {\n operator: \"evaluateTupleContradictionTransition\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contradiction/detectTupleContradiction.ts\",\n rationale:\n \"Lucern transition helper that turns tuple-contradiction threshold crossings into workflow signals.\",\n },\n {\n operator: \"confidenceLevel\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Buckets opinions into Lucern UI labels; it is not part of Jøsang's operator set.\",\n },\n {\n operator: \"constraintFusion\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Lucern exclusivity/XOR heuristic that pressures paired opinions; there is no direct textbook SL operator with this behavior.\",\n },\n {\n operator: \"evidenceBalance\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Lucern analytic helper that summarizes resolved evidence tilt after uncertainty is excluded.\",\n },\n {\n operator: \"areTensioned\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Lucern heuristic for surfacing opinion tension based on projected agreement plus residual disbelief mass.\",\n },\n {\n operator: \"informationGain\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/subjectiveLogic/index.ts\",\n rationale:\n \"Lucern heuristic score over uncertainty and balance; it is neither Shannon entropy nor a named SL operator.\",\n },\n {\n operator: \"isPropagationEdgeType\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/propagation.ts\",\n rationale:\n \"Lucern dispatch-table guard for graph edge semantics, not an SL algebra operator.\",\n },\n {\n operator: \"getPropagationTraversalSpecs\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/propagation.ts\",\n rationale:\n \"Exposes the pure-module edge traversal ordering used by the local propagation helpers; graph-primitives owns the multi-hop runtime.\",\n },\n {\n operator: \"propagateThroughEdge\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/propagation.ts\",\n rationale:\n \"Compiles Lucern edge types into operator application; the dispatch architecture itself has no direct Jøsang analogue.\",\n },\n {\n operator: \"propagateAllEdges\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/propagation.ts\",\n rationale:\n \"Lucern bounded aggregator for ordered 1-hop dispatch results across edge families.\",\n },\n {\n operator: \"bayesianUpdate\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/revision.ts\",\n rationale:\n \"Scalar Bayesian helper retained by Lucern as a fallback revision primitive outside the canonical SL operator family.\",\n },\n {\n operator: \"reviseConfidence\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/revision.ts\",\n rationale:\n \"Lucern wrapper around the scalar Bayesian revision helper rather than a direct SL operator.\",\n },\n {\n operator: \"computeBaseDecay\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/decay.ts\",\n rationale:\n \"Lucern recency heuristic over scored beliefs; decay tiers are a product rule, not part of SL.\",\n },\n {\n operator: \"computeDeadlineUrgency\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/decay.ts\",\n rationale:\n \"Lucern deadline heuristic that modulates rescoring urgency outside the SL literature.\",\n },\n {\n operator: \"computeEffectiveDecay\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/decay.ts\",\n rationale:\n \"Combines Lucern age, lifecycle, and deadline heuristics into an effective decay weight.\",\n },\n {\n operator: \"getRescoringSchedule\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/decay.ts\",\n rationale:\n \"Produces Lucern operational scheduling guidance for rescoring rather than opinion algebra.\",\n },\n {\n operator: \"decay\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/decay.ts\",\n rationale:\n \"Applies Lucern time-decay heuristics to an opinion tuple; it is not a named Jøsang operator.\",\n },\n {\n operator: \"applyNegativeSupport\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/defeat.ts\",\n rationale:\n \"Lucern graph-specific defeater wrapper that chooses between XOR pressure and negation-plus-discount-plus-fusion.\",\n },\n {\n operator: \"applyNegativeEvidence\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/dynamics/defeat.ts\",\n rationale:\n \"Lucern signed-edge wrapper that interprets negative evidence through a composed anti-opinion path.\",\n },\n {\n operator: \"deriveContractStatus\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Lucern contract-lifecycle helper with no direct relation to the SL operator family.\",\n },\n {\n operator: \"deriveVerificationTrigger\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Maps Lucern contract evaluation results into confidence triggers for workflow use.\",\n },\n {\n operator: \"deriveContractModulationPlan\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Computes Lucern confidence deltas from contract outcomes; contracts are a Lucern control surface, not SL.\",\n },\n {\n operator: \"createInheritedContractRecord\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Builds Lucern contract lineage records rather than confidence algebra.\",\n },\n {\n operator: \"normalizeEvidentialAction\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Normalizes Lucern evidential contract actions for workflow execution.\",\n },\n {\n operator: \"parseComparisonOperator\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses Lucern contract evaluator configuration; it is not an SL operator.\",\n },\n {\n operator: \"parseNumericThreshold\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Lucern contract-config helper for numeric thresholds.\",\n },\n {\n operator: \"pickFiniteNumber\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Lucern parser utility for evaluator configuration and snapshots.\",\n },\n {\n operator: \"getEvaluatorInputRecord\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Extracts Lucern evaluator payloads from nested runtime records.\",\n },\n {\n operator: \"parseEvidentialEvaluatorConfig\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses Lucern evidential contract configuration into a typed evaluator plan.\",\n },\n {\n operator: \"compareMetricValue\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Executes Lucern contract comparison semantics rather than SL tuple algebra.\",\n },\n {\n operator: \"resolveComparisonResult\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Maps Lucern comparison outcomes into contract confirmation or disconfirmation.\",\n },\n {\n operator: \"buildComparisonRationale\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Renders Lucern contract-evaluation explanations for auditability.\",\n },\n {\n operator: \"buildEvidentialRationale\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Renders Lucern evidential evaluator explanations for auditability.\",\n },\n {\n operator: \"parseMetricCheckerConfig\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses the Lucern metric-checker contract evaluator.\",\n },\n {\n operator: \"parseReferenceCheckCounterConfig\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses the Lucern reference-check counter evaluator.\",\n },\n {\n operator: \"parseTemporalDeadlineConfig\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses Lucern deadline-evaluator configuration for time-bounded claims.\",\n },\n {\n operator: \"parseMarketIndexComparatorConfig\",\n tag: \"LUCERN_SPECIFIC\",\n sourceModule: \"operations/contracts/epistemicContract.ts\",\n rationale:\n \"Parses the Lucern market-index comparator evaluator.\",\n },\n] as const satisfies readonly OperatorTaxonomyEntry[];\n\nexport const OPERATOR_TAXONOMY = Object.freeze(\n Object.fromEntries(\n OPERATOR_TAXONOMY_ENTRIES.map((entry) => [entry.operator, entry])\n )\n) as Readonly<Record<ConfidenceOperatorName, OperatorTaxonomyEntry>>;\n\nexport const OPERATOR_TAXONOMY_BY_TAG = Object.freeze({\n SL_CANONICAL: SL_CANONICAL_OPERATOR_NAMES,\n SL_APPROXIMATION: SL_APPROXIMATION_OPERATOR_NAMES,\n LUCERN_SPECIFIC: LUCERN_SPECIFIC_OPERATOR_NAMES,\n}) as Readonly<Record<OperatorTaxonomyTag, readonly ConfidenceOperatorName[]>>;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Opinion, StoredOpinionFields } from '../types.js';
|
|
2
|
+
|
|
3
|
+
declare function clamp01(value: number): number;
|
|
4
|
+
declare function confidenceFromOpinion(opinion: Opinion): number;
|
|
5
|
+
declare function confidenceFromSL(belief: number, _disbelief: number, uncertainty: number, baseRate?: number): number;
|
|
6
|
+
declare function toStoredOpinionFields(opinion: Opinion): StoredOpinionFields;
|
|
7
|
+
declare function readOpinionFromRecord(source: unknown, fallback?: Partial<Opinion>): Opinion;
|
|
8
|
+
type OpinionFromScalarMode = "base_rate" | "dogmatic" | "projected_with_u";
|
|
9
|
+
declare function opinionFromScalar(value: number, mode: OpinionFromScalarMode, options?: {
|
|
10
|
+
baseRate?: number;
|
|
11
|
+
uncertainty?: number;
|
|
12
|
+
}): Opinion;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use opinionFromScalar(value, "dogmatic", { baseRate }) instead.
|
|
15
|
+
*/
|
|
16
|
+
declare function toDogmaticOpinion(confidence: number, baseRate?: number): Opinion;
|
|
17
|
+
/** Interpret p as a prior with no observed evidence. */
|
|
18
|
+
declare function opinionFromBaseRate(probability: number): Opinion;
|
|
19
|
+
/** Interpret p as a certainty-equivalent projected probability. */
|
|
20
|
+
declare function opinionFromDogmatic(probability: number, baseRate?: number): Opinion;
|
|
21
|
+
/**
|
|
22
|
+
* Interpret p as a projected probability with an explicit uncertainty bucket.
|
|
23
|
+
* The resulting opinion always projects back to p.
|
|
24
|
+
*/
|
|
25
|
+
declare function opinionFromProjected(probability: number, uncertainty: number, baseRate?: number): Opinion;
|
|
26
|
+
declare function hasProjectedOpinionChanged(current: Opinion, next: Opinion, tolerance?: number): boolean;
|
|
27
|
+
|
|
28
|
+
export { type OpinionFromScalarMode, clamp01, confidenceFromOpinion, confidenceFromSL, hasProjectedOpinionChanged, opinionFromBaseRate, opinionFromDogmatic, opinionFromProjected, opinionFromScalar, readOpinionFromRecord, toDogmaticOpinion, toStoredOpinionFields };
|