@resolveio/server-lib 22.3.216 → 22.3.217
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/package.json
CHANGED
|
@@ -1072,8 +1072,8 @@ function normalizeSupportDiagnosisEvidence(values, ownerFiles) {
|
|
|
1072
1072
|
.filter(function (entry) { return entry && typeof entry === 'object' && !Array.isArray(entry); })
|
|
1073
1073
|
.map(function (entry) {
|
|
1074
1074
|
var type = cleanText(entry.type, 80).toLowerCase();
|
|
1075
|
-
var artifactPath = cleanText(entry.artifactPath || entry.artifact_path || entry.path || entry.file, 500);
|
|
1076
|
-
var summary = cleanText(entry.summary || entry.detail || entry.message || entry.evidence || entry.reason || entry.rejection_reason || entry.rejectionReason || entry.fact || entry.description || entry.proof_required || entry.proofRequired, 1200)
|
|
1075
|
+
var artifactPath = cleanText(entry.artifactPath || entry.artifact_path || entry.artifact || entry.path || entry.file, 500);
|
|
1076
|
+
var summary = cleanText(entry.summary || entry.detail || entry.message || entry.evidence || entry.reason || entry.rejection_reason || entry.rejectionReason || entry.fact || entry.finding || entry.description || entry.proof || entry.proof_required || entry.proofRequired, 1200)
|
|
1077
1077
|
|| (artifactPath ? "Evidence from ".concat(artifactPath) : '');
|
|
1078
1078
|
var evidenceText = [summary, artifactPath].filter(Boolean).join(' ');
|
|
1079
1079
|
var inferredType = (function () {
|
|
@@ -1787,6 +1787,7 @@ function supportDiagnosisNarrativeText(value, max) {
|
|
|
1787
1787
|
'detail',
|
|
1788
1788
|
'description',
|
|
1789
1789
|
'rationale',
|
|
1790
|
+
'why',
|
|
1790
1791
|
'statement',
|
|
1791
1792
|
'issue_case',
|
|
1792
1793
|
'issueCase',
|
|
@@ -1799,6 +1800,9 @@ function supportDiagnosisNarrativeText(value, max) {
|
|
|
1799
1800
|
'route',
|
|
1800
1801
|
'path_chain',
|
|
1801
1802
|
'pathChain',
|
|
1803
|
+
'chain',
|
|
1804
|
+
'visibility_gate_trace',
|
|
1805
|
+
'visibilityGateTrace',
|
|
1802
1806
|
'reported',
|
|
1803
1807
|
'verified',
|
|
1804
1808
|
'reported_path',
|
|
@@ -1890,7 +1894,7 @@ function normalizeSupportDiagnosisProofPlanRows(values) {
|
|
|
1890
1894
|
var row = values_4_1.value;
|
|
1891
1895
|
var source = cleanObject(row);
|
|
1892
1896
|
var action = pickText(source, ['action', 'step', 'browser_action', 'browserAction', 'task'], 500) || supportDiagnosisNarrativeText(row, 500);
|
|
1893
|
-
var proof = pickText(source, ['proof_required', 'proofRequired', 'expected', 'expected_result', 'expectedResult', 'assertion', 'business_assertion', 'businessAssertion'], 700);
|
|
1897
|
+
var proof = pickText(source, ['proof', 'proof_required', 'proofRequired', 'expected', 'expected_result', 'expectedResult', 'assertion', 'business_assertion', 'businessAssertion'], 700);
|
|
1894
1898
|
if (action) {
|
|
1895
1899
|
actions.push(action);
|
|
1896
1900
|
}
|
|
@@ -2557,7 +2561,7 @@ function normalizeResolveIOSupportDiagnosisGate(value, now) {
|
|
|
2557
2561
|
backend: pickText(failingPathSource, ['backend', 'backend_path', 'backendPath', 'methodPublicationPath'], 700),
|
|
2558
2562
|
shared_library: pickText(failingPathSource, ['shared_library', 'sharedLibrary', 'library', 'lib'], 700),
|
|
2559
2563
|
data_query: pickText(failingPathSource, ['data_query', 'dataQuery', 'query'], 700),
|
|
2560
|
-
description: pickText(failingPathSource, ['description', 'path_chain', 'pathChain', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath', 'path', 'assessment', 'summary', 'route'], 1200) || failingPathText
|
|
2564
|
+
description: pickText(failingPathSource, ['description', 'path_chain', 'pathChain', 'chain', 'visibility_gate_trace', 'visibilityGateTrace', 'reported', 'verified', 'reported_path', 'reportedPath', 'verified_path', 'verifiedPath', 'path', 'assessment', 'summary', 'route'], 1200) || failingPathText
|
|
2561
2565
|
},
|
|
2562
2566
|
owner_files: ownerFiles,
|
|
2563
2567
|
proof_plan: {
|