@thehammer/template-verification 0.2.21 → 0.2.23

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/dist/types.d.ts CHANGED
@@ -8,12 +8,16 @@
8
8
  * entry is a {@link DataPointMeta} describing that one field's verification state.
9
9
  */
10
10
  /**
11
- * Status bucket derived from the integer 1-5 confidence (orthogonal to discrepancy),
12
- * plus 'failed' (SG-189)a distinct extraction/citation-correction OUTCOME, not a
13
- * confidence bucket. 'failed' is resolved from the extracted candidate's `state`
14
- * field, never from bucketing a confidence integer.
11
+ * What a machine value's confidence mark shows: one of the five levels of the
12
+ * operator's scale (SG-843the SAME five the Demand Desk draws, from the same
13
+ * `@danxbot/ui` source), `"unrated"` when no rating was recorded, or `"failed"`
14
+ * (SG-189) a distinct extraction/citation-correction OUTCOME, not a level,
15
+ * resolved from the extracted candidate's `state` and never from its confidence.
16
+ *
17
+ * Replaced the three buckets high/medium/low (SG-901): a 4 and a 5 were
18
+ * identical in the letter while the screen beside it drew them differently.
15
19
  */
16
- export type VerificationStatus = "high" | "medium" | "low" | "unverifiable" | "failed";
20
+ export type ConfidenceState = 1 | 2 | 3 | 4 | 5 | "unrated" | "failed";
17
21
  /** The winning candidate key for a resolved data point, or `none` when no candidate exists. */
18
22
  export type ResolvedSource = "override" | "extracted" | "claim" | "none";
19
23
  /** The basis a user picked when saving an override. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/template-verification",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "Read-write verification overlay for rendered template apps — per-data-point confidence, discrepancy, 3-source resolution (override > extracted > claim), inline edit, and a recursive comparison page. Consumes the host's __meta sidecar; fetches nothing.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,6 +39,7 @@
39
39
  "vue": "^3.4.0"
40
40
  },
41
41
  "devDependencies": {
42
+ "@danxbot/ui": "^7.2.0",
42
43
  "@tailwindcss/vite": "^4.0.0",
43
44
  "@thehammer/danx-ui": "0.8.20",
44
45
  "@vitejs/plugin-vue": "^5.0.0",