@xapp/arachne-web-service 1.43.0 → 1.45.0

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.
@@ -0,0 +1,188 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.extractTrustSignals = extractTrustSignals;
4
+ exports.mergeTrustSignals = mergeTrustSignals;
5
+ exports.trustSignalsFromFlags = trustSignalsFromFlags;
6
+ const MAX_SNIPPET = 200;
7
+ /** A sentence quoting someone (a testimonial) is the customer's claim, not the business's. */
8
+ const QUOTED = /["“”]/;
9
+ /** "insured", as the business describing itself. "insurance" alone is usually the customer's ("we work with your insurance"). */
10
+ const INSURED = /\binsured\b|\b(?:general\s+)?liability\s+insurance\b|\bworkers['’]?\s+comp(?:ensation)?\b/i;
11
+ const NOT_INSURED = /\buninsured\b|\bif\s+you(?:['’]re|\s+are)\s+insured\b|\byour\s+insured\b|\binsured\s+loss/i;
12
+ /** "bonded" beside the words a contractor uses it with, so "bonded leather" or "bonded pair" are not read. */
13
+ const BONDED = /\b(?:licensed|insured|fully|certified)\b[^.]{0,40}\bbonded\b|\bbonded\b[^.]{0,20}\b(?:and|&)\s*(?:licensed|insured)\b|\b(?:we\s+are|we['’]re|is|are)\s+bonded\b/i;
14
+ /**
15
+ * A warranty, or a guarantee offered as a thing: "satisfaction guaranteed", "a 2-year guarantee", "our guarantee".
16
+ * "Guarantee" as a plain verb is sales talk ("our experience guarantees a durable roof") and is not one.
17
+ */
18
+ const WARRANTY = /\bwarrant(?:y|ies|ied)\b|\bguaranteed\b|\b(?:a|an|our|the|year|lifetime|money[\s-]back|satisfaction|labou?r|workmanship|service|price)\s+guarantee\b/i;
19
+ /** A guarantee with a name: "The Acme Guarantee". Case matters here, so it is its own rule. */
20
+ const NAMED_GUARANTEE = /\b[A-Z][\w'\u2019]*\s+Guarantee\b/;
21
+ /** Legal boilerplate and warnings mention warranties without offering one. */
22
+ const NOT_WARRANTY = /\bvoids?\b|\bden(?:y|ied|ies)\b|\bno\s+warrant|\bwithout\s+warrant|\bmerchantability\b|\bas[\s-]is\b|\bdisclaim|\bnot\s+guarantee|\bno\s+guarantee|\bcannot\s+guarantee|\bcan['’]?t\s+guarantee/i;
23
+ const MANUFACTURER = /\bmanufacturer|\bmakers?\b|\bfactory\b|\bon\s+(?:qualifying\s+|select\s+)?products\b/i;
24
+ const SATISFACTION = /\bsatisfaction\b/i;
25
+ const WORKMANSHIP = /\bworkmanship\b|\bcraftsmanship\b|\blabou?r\b|\bour\s+work\b|\binstallation\b/i;
26
+ const COPYRIGHT = /(?:©|\(c\)|©|\bcopyright\b)\s*(?:©|\(c\))?\s*(?:(\d{4})\s*[-–—]\s*)?(\d{4})\b/gi;
27
+ /** Earliest copyright year taken as one; anything older is a founding date or a misread. */
28
+ const MIN_COPYRIGHT_YEAR = 2000;
29
+ function sentences(text) {
30
+ return text
31
+ .split(/(?<=[.!?])\s+|\n+|\s[|•·]\s/)
32
+ .map((sentence) => sentence
33
+ .replace(/[*_#>`[\]]/g, "")
34
+ .replace(/\s+/g, " ")
35
+ .trim())
36
+ .filter((sentence) => sentence.length > 0);
37
+ }
38
+ function snippet(sentence) {
39
+ return sentence.length <= MAX_SNIPPET ? sentence : `${sentence.slice(0, MAX_SNIPPET - 1).trimEnd()}…`;
40
+ }
41
+ function warrantyKind(sentence) {
42
+ // What the business itself stands behind comes first: "manufacturer's warranty plus our workmanship guarantee"
43
+ // is a workmanship warranty.
44
+ if (SATISFACTION.test(sentence)) {
45
+ return "satisfaction";
46
+ }
47
+ // A manufacturer's warranty the business does not also claim as its own ("our", "we") is the manufacturer's,
48
+ // even when the sentence mentions installation.
49
+ if (MANUFACTURER.test(sentence) && !/\b(?:our|we)\b/i.test(sentence)) {
50
+ return "manufacturer";
51
+ }
52
+ if (WORKMANSHIP.test(sentence)) {
53
+ return "workmanship";
54
+ }
55
+ if (MANUFACTURER.test(sentence)) {
56
+ return "manufacturer";
57
+ }
58
+ return undefined;
59
+ }
60
+ /** The newest plausible year in the page's copyright notices: "© 2019–2026" is 2026. */
61
+ function copyrightYear(text, currentYear) {
62
+ let newest;
63
+ for (const match of text.matchAll(COPYRIGHT)) {
64
+ for (const value of [match[1], match[2]]) {
65
+ const year = value ? Number(value) : NaN;
66
+ if (year >= MIN_COPYRIGHT_YEAR && year <= currentYear && (newest === undefined || year > newest)) {
67
+ newest = year;
68
+ }
69
+ }
70
+ }
71
+ return newest;
72
+ }
73
+ /**
74
+ * Reads the trust signals a page states.
75
+ *
76
+ * @param text The page as text or markdown, footer included: that is where most sites say "licensed and insured"
77
+ * and print their copyright year
78
+ * @param url The page the text came from, recorded on every finding
79
+ * @param currentYear For ignoring copyright years in the future
80
+ */
81
+ function extractTrustSignals(text, url, currentYear = new Date().getUTCFullYear()) {
82
+ const signals = {};
83
+ let manufacturerWarranty;
84
+ for (const sentence of sentences(text)) {
85
+ // A quotation is the customer's claim; a question ("Are you licensed and insured?") states nothing.
86
+ if (QUOTED.test(sentence) || sentence.endsWith("?")) {
87
+ continue;
88
+ }
89
+ if (!signals.insured && INSURED.test(sentence) && !NOT_INSURED.test(sentence)) {
90
+ signals.insured = { url, snippet: snippet(sentence) };
91
+ }
92
+ if (!signals.bonded && BONDED.test(sentence)) {
93
+ signals.bonded = { url, snippet: snippet(sentence) };
94
+ }
95
+ if (!signals.warranty && (WARRANTY.test(sentence) || NAMED_GUARANTEE.test(sentence)) && !NOT_WARRANTY.test(sentence)) {
96
+ const kind = warrantyKind(sentence);
97
+ const found = Object.assign({ url, snippet: snippet(sentence) }, (kind && { kind }));
98
+ if (kind === "manufacturer") {
99
+ // Kept only if the page offers nothing of the business's own.
100
+ manufacturerWarranty = manufacturerWarranty !== null && manufacturerWarranty !== void 0 ? manufacturerWarranty : found;
101
+ }
102
+ else {
103
+ signals.warranty = found;
104
+ }
105
+ }
106
+ }
107
+ if (!signals.warranty && manufacturerWarranty) {
108
+ signals.warranty = manufacturerWarranty;
109
+ }
110
+ const year = copyrightYear(text, currentYear);
111
+ if (year !== undefined) {
112
+ signals.siteFreshness = [{ copyrightYear: year, source: "copyright" }];
113
+ }
114
+ return signals;
115
+ }
116
+ function ownWarranty(warranty) {
117
+ return warranty !== undefined && warranty.kind !== "manufacturer";
118
+ }
119
+ function mergeFreshness(existing, found) {
120
+ var _a, _b;
121
+ const merged = [...(existing !== null && existing !== void 0 ? existing : [])];
122
+ for (const entry of found !== null && found !== void 0 ? found : []) {
123
+ const same = merged.find((other) => other.source === entry.source);
124
+ if (!same) {
125
+ merged.push(entry);
126
+ }
127
+ else if (((_a = entry.copyrightYear) !== null && _a !== void 0 ? _a : 0) > ((_b = same.copyrightYear) !== null && _b !== void 0 ? _b : 0)) {
128
+ same.copyrightYear = entry.copyrightYear;
129
+ }
130
+ }
131
+ return merged.length > 0 ? merged : undefined;
132
+ }
133
+ /**
134
+ * Adds one page's signals to the business. The first page to state something keeps it, except that a warranty of
135
+ * the business's own replaces a manufacturer's, and the newest copyright year wins.
136
+ */
137
+ function mergeTrustSignals(business, found) {
138
+ var _a, _b;
139
+ business.insured = (_a = business.insured) !== null && _a !== void 0 ? _a : found.insured;
140
+ business.bonded = (_b = business.bonded) !== null && _b !== void 0 ? _b : found.bonded;
141
+ if (found.warranty && (!business.warranty || (!ownWarranty(business.warranty) && ownWarranty(found.warranty)))) {
142
+ business.warranty = found.warranty;
143
+ }
144
+ const freshness = mergeFreshness(business.siteFreshness, found.siteFreshness);
145
+ if (freshness) {
146
+ business.siteFreshness = freshness;
147
+ }
148
+ // Nothing found is left absent rather than set to undefined keys.
149
+ for (const key of ["insured", "bonded", "warranty", "siteFreshness"]) {
150
+ if (business[key] === undefined) {
151
+ delete business[key];
152
+ }
153
+ }
154
+ }
155
+ /**
156
+ * The trust signals among the service extraction's capability flags (`insured`, `bonded`, `workmanship_warranty`,
157
+ * `satisfaction_guarantee`, `transferable_warranty`), as the model read them from the pages' body text.
158
+ *
159
+ * Only a flag stated true with evidence counts: its evidence has already been checked to be on the page. Merge the
160
+ * result after the rule-based read, which sees the footer the model is not sent and so keeps what it found.
161
+ */
162
+ function trustSignalsFromFlags(flags) {
163
+ var _a;
164
+ const stated = (slug) => {
165
+ const flag = flags === null || flags === void 0 ? void 0 : flags[slug];
166
+ const evidence = (flag === null || flag === void 0 ? void 0 : flag.value) === true ? flag.evidence[0] : undefined;
167
+ return evidence ? { url: evidence.url, snippet: snippet(evidence.snippet) } : undefined;
168
+ };
169
+ const signals = {};
170
+ const insured = stated("insured");
171
+ const bonded = stated("bonded");
172
+ const workmanship = (_a = stated("workmanship_warranty")) !== null && _a !== void 0 ? _a : stated("transferable_warranty");
173
+ const satisfaction = stated("satisfaction_guarantee");
174
+ if (insured) {
175
+ signals.insured = insured;
176
+ }
177
+ if (bonded) {
178
+ signals.bonded = bonded;
179
+ }
180
+ if (workmanship) {
181
+ signals.warranty = Object.assign(Object.assign({}, workmanship), { kind: "workmanship" });
182
+ }
183
+ else if (satisfaction) {
184
+ signals.warranty = Object.assign(Object.assign({}, satisfaction), { kind: "satisfaction" });
185
+ }
186
+ return signals;
187
+ }
188
+ //# sourceMappingURL=trustSignals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trustSignals.js","sourceRoot":"","sources":["../../src/utils/trustSignals.ts"],"names":[],"mappings":";;AAsGA,kDAuCC;AA0BD,8CAgBC;AAeD,sDAuBC;AAjND,MAAM,WAAW,GAAG,GAAG,CAAC;AAExB,8FAA8F;AAC9F,MAAM,MAAM,GAAG,OAAO,CAAC;AAEvB,kIAAkI;AAClI,MAAM,OAAO,GAAG,4FAA4F,CAAC;AAC7G,MAAM,WAAW,GAAG,4FAA4F,CAAC;AAEjH,8GAA8G;AAC9G,MAAM,MAAM,GACR,kKAAkK,CAAC;AAEvK;;;GAGG;AACH,MAAM,QAAQ,GACV,uJAAuJ,CAAC;AAC5J,gGAAgG;AAChG,MAAM,eAAe,GAAG,mCAAmC,CAAC;AAC5D,8EAA8E;AAC9E,MAAM,YAAY,GACd,kMA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