agentfootprint 9.109.0 → 9.109.1
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/CHANGELOG.md +11 -0
- package/dist/esm/ontology/score.d.ts +4 -4
- package/dist/esm/ontology/score.js +12 -8
- package/dist/esm/ontology/score.js.map +1 -1
- package/dist/ontology/score.js +12 -8
- package/dist/ontology/score.js.map +1 -1
- package/dist/types/ontology/score.d.ts +4 -4
- package/dist/types/ontology/score.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [9.109.1] - 2026-09-17
|
|
9
|
+
|
|
10
|
+
### Fixed — the score's word rules, after the first scored arm
|
|
11
|
+
|
|
12
|
+
- `scoreAbsence` no longer counts `declar…` as a map word: a host's own answer footer says
|
|
13
|
+
"declared by the tools that produced it", which counted the host's boilerplate as the model
|
|
14
|
+
citing the map. The map words are `ontology` and its forms and `map`/`maps`.
|
|
15
|
+
- A declared id or alias now also meets its plural (`vmkernel_log` meets "vmkernel logs",
|
|
16
|
+
`change_record` meets "change records"): a plural is a form of the declared word, not another
|
|
17
|
+
word. Still whole-word, still declared strings only.
|
|
18
|
+
|
|
8
19
|
## [9.109.0] - 2026-09-17
|
|
9
20
|
|
|
10
21
|
### Added — the score: how a "no data" answer is measured, by declared strings, with no judge
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* THE LAW OF THE SCORE
|
|
19
19
|
* A check matches DECLARED STRINGS ONLY — a term's or a source's id and
|
|
20
20
|
* aliases, a tool's name — whole-word, case-insensitive, an `_` in an
|
|
21
|
-
* id standing for a space or a hyphen. Nothing fuzzier. So an answer that
|
|
21
|
+
* id standing for a space or a hyphen, a plural `s` allowed. Nothing fuzzier. So an answer that
|
|
22
22
|
* says "UCS Manager" when the source's id is `influx_ucs` and no alias says
|
|
23
23
|
* "UCS Manager" scores NO, and that is the point: the declaration must
|
|
24
24
|
* carry the words people use, because those are the words the model
|
|
@@ -79,9 +79,9 @@ export interface AbsenceScore {
|
|
|
79
79
|
/** The library's unsupported-values count, as handed in; `undefined` when the record carried none. */
|
|
80
80
|
readonly unsupportedValues: number | undefined;
|
|
81
81
|
/**
|
|
82
|
-
* The words of the map the answer used on the person — `ontology
|
|
83
|
-
* `
|
|
84
|
-
*
|
|
82
|
+
* The words of the map the answer used on the person — `ontology` and its
|
|
83
|
+
* forms, `map` and `maps`: the header's own vocabulary the ask says to keep
|
|
84
|
+
* from the person. A wording metric, reported as the words found.
|
|
85
85
|
*/
|
|
86
86
|
readonly mapWords: readonly string[];
|
|
87
87
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* THE LAW OF THE SCORE
|
|
19
19
|
* A check matches DECLARED STRINGS ONLY — a term's or a source's id and
|
|
20
20
|
* aliases, a tool's name — whole-word, case-insensitive, an `_` in an
|
|
21
|
-
* id standing for a space or a hyphen. Nothing fuzzier. So an answer that
|
|
21
|
+
* id standing for a space or a hyphen, a plural `s` allowed. Nothing fuzzier. So an answer that
|
|
22
22
|
* says "UCS Manager" when the source's id is `influx_ucs` and no alias says
|
|
23
23
|
* "UCS Manager" scores NO, and that is the point: the declaration must
|
|
24
24
|
* carry the words people use, because those are the words the model
|
|
@@ -34,11 +34,13 @@
|
|
|
34
34
|
*/
|
|
35
35
|
/**
|
|
36
36
|
* The header's own words, and the ask's: what the piece calls itself and
|
|
37
|
-
* what the person should not hear.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* what the person should not hear. `ontology` and its forms; `map` exact
|
|
38
|
+
* (with its plural) — `mapping` as a verb is a judgment this list does not
|
|
39
|
+
* make. NOT `declar…` (9.109.1): a host's own answer footer says "declared
|
|
40
|
+
* by the tools that produced it", so that stem counted the host's boilerplate
|
|
41
|
+
* as the model citing the map — a false positive the first scored arm showed.
|
|
40
42
|
*/
|
|
41
|
-
const MAP_WORDS = [/\bontolog\w*/gi, /\bmaps?\b/gi
|
|
43
|
+
const MAP_WORDS = [/\bontolog\w*/gi, /\bmaps?\b/gi];
|
|
42
44
|
/**
|
|
43
45
|
* Score one turn against the served map and the bench's expectation.
|
|
44
46
|
* Throws when `expected.gap` names nothing the spec declares.
|
|
@@ -161,12 +163,14 @@ function mentions(answer, names) {
|
|
|
161
163
|
/**
|
|
162
164
|
* One declared string as a whole-word, case-insensitive pattern; an `_` in
|
|
163
165
|
* the id stands for a space, a hyphen or itself, so `vmkernel_log` meets
|
|
164
|
-
* "vmkernel log" and `esxi_host` meets "ESXi host"
|
|
165
|
-
*
|
|
166
|
+
* "vmkernel log" and `esxi_host` meets "ESXi host"; a trailing `s` is
|
|
167
|
+
* allowed (9.109.1), so "vmkernel logs" and "change records" meet their
|
|
168
|
+
* ids — a plural is a form of the declared word, not another word.
|
|
169
|
+
* Everything else is escaped: a declared string is matched as itself.
|
|
166
170
|
*/
|
|
167
171
|
function patternOf(name) {
|
|
168
172
|
const escaped = name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&').replace(/_/g, '[ _-]');
|
|
169
|
-
return new RegExp(`(?<![\\w])${escaped}(?![\\w])`, 'i');
|
|
173
|
+
return new RegExp(`(?<![\\w])${escaped}s?(?![\\w])`, 'i');
|
|
170
174
|
}
|
|
171
175
|
function wordsOf(answer) {
|
|
172
176
|
const found = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../../src/ontology/score.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAsEH
|
|
1
|
+
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../../src/ontology/score.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC;AAC3E,CAAC;AAED,yEAAyE;AAEzE,SAAS,QAAQ,CAAC,MAAc,EAAE,KAAwB;IACxD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5D,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,SAAS,CAAC,IAAY;IAC7B,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACnF,OAAO,IAAI,MAAM,CAAC,aAAa,OAAO,aAAa,EAAE,GAAG,CAAC,CAAC;AAC5D,CAAC;AAED,SAAS,OAAO,CAAC,MAAc;IAC7B,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE,CAAC;QAC3B,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;YAChC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/dist/ontology/score.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* THE LAW OF THE SCORE
|
|
20
20
|
* A check matches DECLARED STRINGS ONLY — a term's or a source's id and
|
|
21
21
|
* aliases, a tool's name — whole-word, case-insensitive, an `_` in an
|
|
22
|
-
* id standing for a space or a hyphen. Nothing fuzzier. So an answer that
|
|
22
|
+
* id standing for a space or a hyphen, a plural `s` allowed. Nothing fuzzier. So an answer that
|
|
23
23
|
* says "UCS Manager" when the source's id is `influx_ucs` and no alias says
|
|
24
24
|
* "UCS Manager" scores NO, and that is the point: the declaration must
|
|
25
25
|
* carry the words people use, because those are the words the model
|
|
@@ -37,11 +37,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.summarizeAbsence = exports.scoreAbsence = void 0;
|
|
38
38
|
/**
|
|
39
39
|
* The header's own words, and the ask's: what the piece calls itself and
|
|
40
|
-
* what the person should not hear.
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* what the person should not hear. `ontology` and its forms; `map` exact
|
|
41
|
+
* (with its plural) — `mapping` as a verb is a judgment this list does not
|
|
42
|
+
* make. NOT `declar…` (9.109.1): a host's own answer footer says "declared
|
|
43
|
+
* by the tools that produced it", so that stem counted the host's boilerplate
|
|
44
|
+
* as the model citing the map — a false positive the first scored arm showed.
|
|
43
45
|
*/
|
|
44
|
-
const MAP_WORDS = [/\bontolog\w*/gi, /\bmaps?\b/gi
|
|
46
|
+
const MAP_WORDS = [/\bontolog\w*/gi, /\bmaps?\b/gi];
|
|
45
47
|
/**
|
|
46
48
|
* Score one turn against the served map and the bench's expectation.
|
|
47
49
|
* Throws when `expected.gap` names nothing the spec declares.
|
|
@@ -166,12 +168,14 @@ function mentions(answer, names) {
|
|
|
166
168
|
/**
|
|
167
169
|
* One declared string as a whole-word, case-insensitive pattern; an `_` in
|
|
168
170
|
* the id stands for a space, a hyphen or itself, so `vmkernel_log` meets
|
|
169
|
-
* "vmkernel log" and `esxi_host` meets "ESXi host"
|
|
170
|
-
*
|
|
171
|
+
* "vmkernel log" and `esxi_host` meets "ESXi host"; a trailing `s` is
|
|
172
|
+
* allowed (9.109.1), so "vmkernel logs" and "change records" meet their
|
|
173
|
+
* ids — a plural is a form of the declared word, not another word.
|
|
174
|
+
* Everything else is escaped: a declared string is matched as itself.
|
|
171
175
|
*/
|
|
172
176
|
function patternOf(name) {
|
|
173
177
|
const escaped = name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&').replace(/_/g, '[ _-]');
|
|
174
|
-
return new RegExp(`(?<![\\w])${escaped}(?![\\w])`, 'i');
|
|
178
|
+
return new RegExp(`(?<![\\w])${escaped}s?(?![\\w])`, 'i');
|
|
175
179
|
}
|
|
176
180
|
function wordsOf(answer) {
|
|
177
181
|
const found = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../src/ontology/score.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;;;AAsEH
|
|
1
|
+
{"version":3,"file":"score.js","sourceRoot":"","sources":["../../src/ontology/score.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;;;AAsEH;;;;;;;GAOG;AACH,MAAM,SAAS,GAAsB,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAC;AAEvE;;;GAGG;AACH,SAAgB,YAAY,CAC1B,IAAkB,EAClB,IAAiB,EACjB,WAA+B,EAAE;IAEjC,MAAM,MAAM,GAAG;QACb,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM;QAChC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;KAC/B,CAAC;IACF,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO;YACL,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,EAAE;YACd,GAAG,MAAM;SACV,CAAC;IACJ,CAAC;IACD,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC;IAC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7B,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,MAAM,EAAE,IAAI,SAAS,EAAE,CAAC;QAC3B,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;YACpC,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;YAChC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC9C,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* THE LAW OF THE SCORE
|
|
19
19
|
* A check matches DECLARED STRINGS ONLY — a term's or a source's id and
|
|
20
20
|
* aliases, a tool's name — whole-word, case-insensitive, an `_` in an
|
|
21
|
-
* id standing for a space or a hyphen. Nothing fuzzier. So an answer that
|
|
21
|
+
* id standing for a space or a hyphen, a plural `s` allowed. Nothing fuzzier. So an answer that
|
|
22
22
|
* says "UCS Manager" when the source's id is `influx_ucs` and no alias says
|
|
23
23
|
* "UCS Manager" scores NO, and that is the point: the declaration must
|
|
24
24
|
* carry the words people use, because those are the words the model
|
|
@@ -79,9 +79,9 @@ export interface AbsenceScore {
|
|
|
79
79
|
/** The library's unsupported-values count, as handed in; `undefined` when the record carried none. */
|
|
80
80
|
readonly unsupportedValues: number | undefined;
|
|
81
81
|
/**
|
|
82
|
-
* The words of the map the answer used on the person — `ontology
|
|
83
|
-
* `
|
|
84
|
-
*
|
|
82
|
+
* The words of the map the answer used on the person — `ontology` and its
|
|
83
|
+
* forms, `map` and `maps`: the header's own vocabulary the ask says to keep
|
|
84
|
+
* from the person. A wording metric, reported as the words found.
|
|
85
85
|
*/
|
|
86
86
|
readonly mapWords: readonly string[];
|
|
87
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"score.d.ts","sourceRo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EACjB,QAAQ,GAAE,kBAAuB,GAChC,YAAY,CAqCd;AAED,yFAAyF;AACzF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,cAAc,CAiBhF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "9.109.
|
|
3
|
+
"version": "9.109.1",
|
|
4
4
|
"description": "The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|