@praxisui/ai 10.0.0-rc.65 → 10.0.0-rc.67
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/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-ai.mjs +46 -48
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +14 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-27T10:56:19.853Z",
|
|
4
4
|
"packageName": "@praxisui/ai",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.67",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 0,
|
package/fesm2022/praxisui-ai.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { SchemaType, GoogleGenerativeAI } from '@google/generative-ai';
|
|
|
4
4
|
import { throwError, from, Observable, of, skip, Subscription, take as take$1, defer, switchMap, Subject, tap, map as map$1, finalize, share, filter as filter$1, concat, merge, catchError as catchError$1, EMPTY, timer, takeUntil, timeout, BehaviorSubject, isObservable, firstValueFrom } from 'rxjs';
|
|
5
5
|
import { map, catchError, filter, take } from 'rxjs/operators';
|
|
6
6
|
import { HttpClient, HttpParams, HttpHeaders, HttpErrorResponse } from '@angular/common/http';
|
|
7
|
-
import { EnterpriseRuntimeContextService, API_URL, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, LoggerService, PraxisRuntimeComponentObservationRegistryService, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, validateResourceQuickViewBinding, PraxisIconButtonComponent, PraxisI18nService, ComponentMetadataRegistry, DynamicWidgetLoaderDirective, PraxisQuickViewTriggerDirective, PraxisWorkspaceQueryContextService, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER } from '@praxisui/core';
|
|
7
|
+
import { EnterpriseRuntimeContextService, API_URL, PRAXIS_ENTERPRISE_RUNTIME_CONTEXT_OPTIONS, LoggerService, PraxisRuntimeComponentObservationRegistryService, PRAXIS_RUNTIME_FORM_VALUE_PROPOSAL_SCHEMA_VERSION, validateResourceQuickViewBinding, PraxisIconButtonComponent, PraxisI18nService, ComponentMetadataRegistry, sanitizeIntelligenceDetailText, normalizePraxisEpistemicKind, normalizePraxisEpistemicAvailabilityState, getPraxisEpistemicKindIcon, formatPraxisQValueFdr, formatPraxisEpistemicNumber, normalizePraxisNigriniConformity, DynamicWidgetLoaderDirective, PraxisQuickViewTriggerDirective, PraxisWorkspaceQueryContextService, PRAXIS_BULK_PROPOSAL_BRIDGE, PRAXIS_CONTEXT_DIMENSIONS, PRAXIS_OPERATIONAL_ASSISTANT_LAUNCHER } from '@praxisui/core';
|
|
8
8
|
import * as i1$3 from '@angular/common';
|
|
9
9
|
import { NgTemplateOutlet, DatePipe, JsonPipe, CommonModule, Location } from '@angular/common';
|
|
10
10
|
import * as i3 from '@angular/forms';
|
|
@@ -9528,6 +9528,16 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
9528
9528
|
return null;
|
|
9529
9529
|
}
|
|
9530
9530
|
const b = this.block();
|
|
9531
|
+
const rawKind = b['epistemicKind'] ?? b['kind'];
|
|
9532
|
+
const rawQValue = typeof b['qValueFdr'] === 'number' && Number.isFinite(b['qValueFdr']) ? b['qValueFdr'] : undefined;
|
|
9533
|
+
const rawSampleSize = typeof b['sampleSize'] === 'number' && Number.isFinite(b['sampleSize']) && b['sampleSize'] >= 0
|
|
9534
|
+
? Math.trunc(b['sampleSize'])
|
|
9535
|
+
: undefined;
|
|
9536
|
+
const rawSuppressedCells = typeof b['suppressedCellCount'] === 'number' &&
|
|
9537
|
+
Number.isFinite(b['suppressedCellCount']) &&
|
|
9538
|
+
b['suppressedCellCount'] >= 0
|
|
9539
|
+
? Math.trunc(b['suppressedCellCount'])
|
|
9540
|
+
: undefined;
|
|
9531
9541
|
return {
|
|
9532
9542
|
type: 'epistemic-badge',
|
|
9533
9543
|
title: typeof b['title'] === 'string' ? b['title'] : undefined,
|
|
@@ -9536,17 +9546,15 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
9536
9546
|
resourceKey: typeof b['resourceKey'] === 'string' ? b['resourceKey'] : undefined,
|
|
9537
9547
|
resourcePath: typeof b['resourcePath'] === 'string' ? b['resourcePath'] : undefined,
|
|
9538
9548
|
datasetKey: typeof b['datasetKey'] === 'string' ? b['datasetKey'] : undefined,
|
|
9539
|
-
epistemicKind: typeof
|
|
9549
|
+
epistemicKind: typeof rawKind === 'string' ? rawKind : undefined,
|
|
9540
9550
|
availabilityState: typeof b['availabilityState'] === 'string' ? b['availabilityState'] : undefined,
|
|
9541
9551
|
statisticallySignificant: typeof b['statisticallySignificant'] === 'boolean' ? b['statisticallySignificant'] : undefined,
|
|
9542
|
-
qValueFdr:
|
|
9543
|
-
sampleSize:
|
|
9544
|
-
suppressedCellCount:
|
|
9545
|
-
? b['suppressedCellCount']
|
|
9546
|
-
: undefined,
|
|
9552
|
+
qValueFdr: rawQValue !== undefined && rawQValue >= 0 && rawQValue <= 1 ? rawQValue : undefined,
|
|
9553
|
+
sampleSize: rawSampleSize,
|
|
9554
|
+
suppressedCellCount: rawSuppressedCells,
|
|
9547
9555
|
provenanceHash: typeof b['provenanceHash'] === 'string' ? b['provenanceHash'] : undefined,
|
|
9548
9556
|
modelCardId: typeof b['modelCardId'] === 'string' ? b['modelCardId'] : undefined,
|
|
9549
|
-
methodologyNote:
|
|
9557
|
+
methodologyNote: sanitizeIntelligenceDetailText(b['methodologyNote']) ?? undefined,
|
|
9550
9558
|
rowsScanned: typeof b['rowsScanned'] === 'number' && Number.isFinite(b['rowsScanned']) ? b['rowsScanned'] : undefined,
|
|
9551
9559
|
groupsEvaluated: typeof b['groupsEvaluated'] === 'number' && Number.isFinite(b['groupsEvaluated'])
|
|
9552
9560
|
? b['groupsEvaluated']
|
|
@@ -9558,7 +9566,7 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
9558
9566
|
? b['totalFinancialExposure']
|
|
9559
9567
|
: undefined,
|
|
9560
9568
|
truncated: typeof b['truncated'] === 'boolean' ? b['truncated'] : undefined,
|
|
9561
|
-
failClosedNote:
|
|
9569
|
+
failClosedNote: sanitizeIntelligenceDetailText(b['failClosedNote']) ?? undefined,
|
|
9562
9570
|
errorCode: typeof b['errorCode'] === 'string' ? b['errorCode'] : undefined,
|
|
9563
9571
|
nigriniMad: typeof b['nigriniMad'] === 'number' && Number.isFinite(b['nigriniMad']) ? b['nigriniMad'] : undefined,
|
|
9564
9572
|
nigriniConformity: typeof b['nigriniConformity'] === 'string' ? b['nigriniConformity'] : undefined,
|
|
@@ -10450,26 +10458,13 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10450
10458
|
}));
|
|
10451
10459
|
}
|
|
10452
10460
|
normalizeEpistemicKind(kind) {
|
|
10453
|
-
|
|
10454
|
-
return raw || 'CALIBRATED_PROBABILITY';
|
|
10461
|
+
return normalizePraxisEpistemicKind(kind);
|
|
10455
10462
|
}
|
|
10456
10463
|
normalizeAvailabilityState(state) {
|
|
10457
|
-
|
|
10458
|
-
return raw || 'AVAILABLE';
|
|
10464
|
+
return normalizePraxisEpistemicAvailabilityState(state);
|
|
10459
10465
|
}
|
|
10460
10466
|
epistemicKindIcon(kind) {
|
|
10461
|
-
|
|
10462
|
-
case 'DETERMINISTIC_LAW':
|
|
10463
|
-
return 'verified_user';
|
|
10464
|
-
case 'STOCHASTIC_SIMULATION':
|
|
10465
|
-
return 'casino';
|
|
10466
|
-
case 'CAUSAL_HYPOTHESIS':
|
|
10467
|
-
return 'hub';
|
|
10468
|
-
case 'OPTIMIZATION_RESULT':
|
|
10469
|
-
return 'tune';
|
|
10470
|
-
default:
|
|
10471
|
-
return 'analytics';
|
|
10472
|
-
}
|
|
10467
|
+
return getPraxisEpistemicKindIcon(normalizePraxisEpistemicKind(kind));
|
|
10473
10468
|
}
|
|
10474
10469
|
epistemicKindLabel(kind) {
|
|
10475
10470
|
switch (kind) {
|
|
@@ -10516,10 +10511,19 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10516
10511
|
}
|
|
10517
10512
|
}
|
|
10518
10513
|
formatQValue(qValue) {
|
|
10519
|
-
|
|
10514
|
+
const locale = this.i18n?.getLocale?.() || 'pt-BR';
|
|
10515
|
+
return formatPraxisQValueFdr(qValue, locale);
|
|
10516
|
+
}
|
|
10517
|
+
formatCount(value) {
|
|
10518
|
+
const locale = this.i18n?.getLocale?.() || 'pt-BR';
|
|
10519
|
+
return formatPraxisEpistemicNumber(value, locale);
|
|
10520
10520
|
}
|
|
10521
10521
|
formatMad(mad) {
|
|
10522
|
-
|
|
10522
|
+
const locale = this.i18n?.getLocale?.() || 'pt-BR';
|
|
10523
|
+
return formatPraxisEpistemicNumber(mad, locale, {
|
|
10524
|
+
minimumFractionDigits: 4,
|
|
10525
|
+
maximumFractionDigits: 4,
|
|
10526
|
+
});
|
|
10523
10527
|
}
|
|
10524
10528
|
formatExposureAmount(value) {
|
|
10525
10529
|
if (typeof value === 'string') {
|
|
@@ -10535,19 +10539,13 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10535
10539
|
}).format(value);
|
|
10536
10540
|
}
|
|
10537
10541
|
formatNigriniConformity(value) {
|
|
10538
|
-
|
|
10539
|
-
switch (normalized) {
|
|
10540
|
-
case 'CONFORMIDADE_ESTREITA':
|
|
10542
|
+
switch (normalizePraxisNigriniConformity(value)) {
|
|
10541
10543
|
case 'CLOSE_CONFORMITY':
|
|
10542
10544
|
return this.t('epistemicNigriniCloseConformity');
|
|
10543
|
-
case 'CONFORMIDADE_ACEITAVEL':
|
|
10544
10545
|
case 'ACCEPTABLE_CONFORMITY':
|
|
10545
10546
|
return this.t('epistemicNigriniAcceptableConformity');
|
|
10546
|
-
case 'MARGINALMENTE_ACEITAVEL':
|
|
10547
|
-
case 'CONFORMIDADE_MARGINAL':
|
|
10548
10547
|
case 'MARGINAL_CONFORMITY':
|
|
10549
10548
|
return this.t('epistemicNigriniMarginalConformity');
|
|
10550
|
-
case 'NAO_CONFORMIDADE':
|
|
10551
10549
|
case 'NON_CONFORMITY':
|
|
10552
10550
|
return this.t('epistemicNigriniNonConformity');
|
|
10553
10551
|
default:
|
|
@@ -10680,7 +10678,7 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10680
10678
|
>
|
|
10681
10679
|
<mat-icon aria-hidden="true">visibility_off</mat-icon>
|
|
10682
10680
|
<span>
|
|
10683
|
-
{{ t('epistemicSuppressedCellsAlert', { count: badge.suppressedCellCount ?? 0 }) }}
|
|
10681
|
+
{{ t('epistemicSuppressedCellsAlert', { count: formatCount(badge.suppressedCellCount ?? 0) }) }}
|
|
10684
10682
|
</span>
|
|
10685
10683
|
</div>
|
|
10686
10684
|
}
|
|
@@ -10688,7 +10686,7 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10688
10686
|
<div class="praxis-ai-op-epistemic__metrics">
|
|
10689
10687
|
@if (badge.sampleSize !== undefined) {
|
|
10690
10688
|
<span class="praxis-ai-op-tag">
|
|
10691
|
-
{{ t('epistemicSampleSize', { count: badge.sampleSize }) }}
|
|
10689
|
+
{{ t('epistemicSampleSize', { count: formatCount(badge.sampleSize) }) }}
|
|
10692
10690
|
</span>
|
|
10693
10691
|
}
|
|
10694
10692
|
@if (availState === 'AVAILABLE' && badge.qValueFdr !== undefined) {
|
|
@@ -10706,17 +10704,17 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
10706
10704
|
}
|
|
10707
10705
|
@if (badge.rowsScanned !== undefined) {
|
|
10708
10706
|
<span class="praxis-ai-op-tag">
|
|
10709
|
-
{{ t('epistemicRowsScanned', { count: badge.rowsScanned }) }}
|
|
10707
|
+
{{ t('epistemicRowsScanned', { count: formatCount(badge.rowsScanned) }) }}
|
|
10710
10708
|
</span>
|
|
10711
10709
|
}
|
|
10712
10710
|
@if (badge.groupsEvaluated !== undefined) {
|
|
10713
10711
|
<span class="praxis-ai-op-tag">
|
|
10714
|
-
{{ t('epistemicGroupsEvaluated', { count: badge.groupsEvaluated }) }}
|
|
10712
|
+
{{ t('epistemicGroupsEvaluated', { count: formatCount(badge.groupsEvaluated) }) }}
|
|
10715
10713
|
</span>
|
|
10716
10714
|
}
|
|
10717
10715
|
@if (badge.findingsCount !== undefined) {
|
|
10718
10716
|
<span class="praxis-ai-op-tag">
|
|
10719
|
-
{{ t('epistemicFindings', { count: badge.findingsCount }) }}
|
|
10717
|
+
{{ t('epistemicFindings', { count: formatCount(badge.findingsCount) }) }}
|
|
10720
10718
|
</span>
|
|
10721
10719
|
}
|
|
10722
10720
|
@if ((badge.criticalCount ?? 0) > 0) {
|
|
@@ -11058,12 +11056,12 @@ class PraxisAssistantOperationalBlockComponent {
|
|
|
11058
11056
|
{{ epistemicKindLabel(normalizeEpistemicKind(em.kind)) }}
|
|
11059
11057
|
</span>
|
|
11060
11058
|
}
|
|
11061
|
-
@if (em.sampleSize !== undefined) {
|
|
11059
|
+
@if (em.sampleSize !== undefined && em.sampleSize !== null) {
|
|
11062
11060
|
<span class="praxis-ai-op-tag">
|
|
11063
11061
|
{{ t('epistemicSampleSize', { count: em.sampleSize }) }}
|
|
11064
11062
|
</span>
|
|
11065
11063
|
}
|
|
11066
|
-
@if (em.qValueFdr !== undefined) {
|
|
11064
|
+
@if (em.qValueFdr !== undefined && em.qValueFdr !== null) {
|
|
11067
11065
|
<span class="praxis-ai-op-tag praxis-ai-op-tag--mono">
|
|
11068
11066
|
{{ t('epistemicFdrQValue', { value: formatQValue(em.qValueFdr) }) }}
|
|
11069
11067
|
</span>
|
|
@@ -11796,7 +11794,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
11796
11794
|
>
|
|
11797
11795
|
<mat-icon aria-hidden="true">visibility_off</mat-icon>
|
|
11798
11796
|
<span>
|
|
11799
|
-
{{ t('epistemicSuppressedCellsAlert', { count: badge.suppressedCellCount ?? 0 }) }}
|
|
11797
|
+
{{ t('epistemicSuppressedCellsAlert', { count: formatCount(badge.suppressedCellCount ?? 0) }) }}
|
|
11800
11798
|
</span>
|
|
11801
11799
|
</div>
|
|
11802
11800
|
}
|
|
@@ -11804,7 +11802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
11804
11802
|
<div class="praxis-ai-op-epistemic__metrics">
|
|
11805
11803
|
@if (badge.sampleSize !== undefined) {
|
|
11806
11804
|
<span class="praxis-ai-op-tag">
|
|
11807
|
-
{{ t('epistemicSampleSize', { count: badge.sampleSize }) }}
|
|
11805
|
+
{{ t('epistemicSampleSize', { count: formatCount(badge.sampleSize) }) }}
|
|
11808
11806
|
</span>
|
|
11809
11807
|
}
|
|
11810
11808
|
@if (availState === 'AVAILABLE' && badge.qValueFdr !== undefined) {
|
|
@@ -11822,17 +11820,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
11822
11820
|
}
|
|
11823
11821
|
@if (badge.rowsScanned !== undefined) {
|
|
11824
11822
|
<span class="praxis-ai-op-tag">
|
|
11825
|
-
{{ t('epistemicRowsScanned', { count: badge.rowsScanned }) }}
|
|
11823
|
+
{{ t('epistemicRowsScanned', { count: formatCount(badge.rowsScanned) }) }}
|
|
11826
11824
|
</span>
|
|
11827
11825
|
}
|
|
11828
11826
|
@if (badge.groupsEvaluated !== undefined) {
|
|
11829
11827
|
<span class="praxis-ai-op-tag">
|
|
11830
|
-
{{ t('epistemicGroupsEvaluated', { count: badge.groupsEvaluated }) }}
|
|
11828
|
+
{{ t('epistemicGroupsEvaluated', { count: formatCount(badge.groupsEvaluated) }) }}
|
|
11831
11829
|
</span>
|
|
11832
11830
|
}
|
|
11833
11831
|
@if (badge.findingsCount !== undefined) {
|
|
11834
11832
|
<span class="praxis-ai-op-tag">
|
|
11835
|
-
{{ t('epistemicFindings', { count: badge.findingsCount }) }}
|
|
11833
|
+
{{ t('epistemicFindings', { count: formatCount(badge.findingsCount) }) }}
|
|
11836
11834
|
</span>
|
|
11837
11835
|
}
|
|
11838
11836
|
@if ((badge.criticalCount ?? 0) > 0) {
|
|
@@ -12174,12 +12172,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
12174
12172
|
{{ epistemicKindLabel(normalizeEpistemicKind(em.kind)) }}
|
|
12175
12173
|
</span>
|
|
12176
12174
|
}
|
|
12177
|
-
@if (em.sampleSize !== undefined) {
|
|
12175
|
+
@if (em.sampleSize !== undefined && em.sampleSize !== null) {
|
|
12178
12176
|
<span class="praxis-ai-op-tag">
|
|
12179
12177
|
{{ t('epistemicSampleSize', { count: em.sampleSize }) }}
|
|
12180
12178
|
</span>
|
|
12181
12179
|
}
|
|
12182
|
-
@if (em.qValueFdr !== undefined) {
|
|
12180
|
+
@if (em.qValueFdr !== undefined && em.qValueFdr !== null) {
|
|
12183
12181
|
<span class="praxis-ai-op-tag praxis-ai-op-tag--mono">
|
|
12184
12182
|
{{ t('epistemicFdrQValue', { value: formatQValue(em.qValueFdr) }) }}
|
|
12185
12183
|
</span>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/ai",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.67",
|
|
4
4
|
"description": "AI building blocks and assistant integration for Praxis UI applications.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
8
|
+
"@praxisui/core": "^10.0.0-rc.67",
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
10
|
"@angular/forms": "^21.0.0",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
package/types/praxisui-ai.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, OnDestroy, ElementRef, AfterViewInit, OnChanges, EventEmitter, SimpleChanges, Provider, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ResourceQuickViewBinding, PraxisRuntimeFormValueProposal, PraxisRuntimeFormValueApplyReceipt, PraxisRuntimeComponentObservationEnvelope, PraxisRuntimeComponentObservationRegistryService, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest, PraxisI18nService } from '@praxisui/core';
|
|
5
|
+
import { ResourceQuickViewBinding, PraxisRuntimeFormValueProposal, PraxisRuntimeFormValueApplyReceipt, PraxisRuntimeComponentObservationEnvelope, PraxisEpistemicAvailabilityState, PraxisEpistemicKind, PraxisEpistemicMeta, PraxisRuntimeComponentObservationRegistryService, WidgetDefinition, PraxisContextDimension, PraxisBulkProposalHandoffResult, PraxisOperationalAssistantLauncher, PraxisAssistantContextualLaunchRequest, PraxisI18nService } from '@praxisui/core';
|
|
6
6
|
import { Schema } from '@google/generative-ai';
|
|
7
7
|
import { ConnectedPosition, CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
8
8
|
import * as _praxisui_ai from '@praxisui/ai';
|
|
@@ -1353,17 +1353,21 @@ interface PraxisAssistantTurnFlow {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
|
|
1355
1355
|
type PraxisAssistantOperationalBlockType = 'epistemic-badge' | 'alert-list' | 'widget-block' | 'simulation-preview' | 'action-proposals' | 'calculation-memory' | 'knowledge-citations' | 'compact-collection' | 'action-bar';
|
|
1356
|
-
type PraxisAssistantEpistemicKind =
|
|
1357
|
-
type PraxisAssistantEpistemicAvailabilityState =
|
|
1358
|
-
interface PraxisAssistantEpistemicMeta {
|
|
1356
|
+
type PraxisAssistantEpistemicKind = PraxisEpistemicKind | (string & {});
|
|
1357
|
+
type PraxisAssistantEpistemicAvailabilityState = PraxisEpistemicAvailabilityState | (string & {});
|
|
1358
|
+
interface PraxisAssistantEpistemicMeta extends Omit<PraxisEpistemicMeta, 'kind' | 'availabilityState'> {
|
|
1359
1359
|
readonly kind?: PraxisAssistantEpistemicKind;
|
|
1360
1360
|
readonly availabilityState?: PraxisAssistantEpistemicAvailabilityState;
|
|
1361
1361
|
readonly statisticallySignificant?: boolean;
|
|
1362
|
-
readonly qValueFdr?: number;
|
|
1363
|
-
readonly sampleSize?: number;
|
|
1364
|
-
readonly suppressedCellCount?: number;
|
|
1365
|
-
readonly modelCardId?: string;
|
|
1366
|
-
readonly provenanceHash?: string;
|
|
1362
|
+
readonly qValueFdr?: number | null;
|
|
1363
|
+
readonly sampleSize?: number | null;
|
|
1364
|
+
readonly suppressedCellCount?: number | null;
|
|
1365
|
+
readonly modelCardId?: string | null;
|
|
1366
|
+
readonly provenanceHash?: string | null;
|
|
1367
|
+
readonly datasetKey?: string | null;
|
|
1368
|
+
readonly methodologyNote?: string | null;
|
|
1369
|
+
readonly nigriniMad?: number | null;
|
|
1370
|
+
readonly nigriniConformity?: PraxisEpistemicMeta['nigriniConformity'];
|
|
1367
1371
|
}
|
|
1368
1372
|
interface PraxisAssistantAnalyticalProvenance {
|
|
1369
1373
|
readonly mode?: 'VERIFIED_RECIPE' | 'EXPLORATORY_UNVERIFIED' | string;
|
|
@@ -3661,6 +3665,7 @@ declare class PraxisAssistantOperationalBlockComponent {
|
|
|
3661
3665
|
protected availabilityStateLabel(state: string): string;
|
|
3662
3666
|
protected epistemicNextStepText(badge: PraxisAssistantEpistemicBadgeBlock): string;
|
|
3663
3667
|
protected formatQValue(qValue: number): string;
|
|
3668
|
+
protected formatCount(value: number): string;
|
|
3664
3669
|
protected formatMad(mad: number): string;
|
|
3665
3670
|
protected formatExposureAmount(value: number | string): string;
|
|
3666
3671
|
protected formatNigriniConformity(value: string): string;
|