@malloy-publisher/skills 0.1.28 → 0.1.29
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 +1 -1
- package/skills/eval-answer/SKILL.md +1 -1
- package/skills/eval-diagnose/SKILL.md +1 -1
- package/skills/eval-import/SKILL.md +1 -1
- package/skills/eval-improve/SKILL.md +1 -1
- package/skills/eval-judge/SKILL.md +1 -1
- package/skills/eval-loop/SKILL.md +1 -1
- package/skills/eval-loop/templates/eval-run-package/README.md +16 -11
- package/skills/eval-loop/templates/eval-run-package/eval_run.malloy +1 -1
- package/skills/eval-loop/templates/eval-run-package/public/app.js +565 -140
- package/skills/eval-loop/templates/eval-run-package/public/index.html +347 -199
- package/skills/eval-report/SKILL.md +1 -1
- package/skills/malloy/SKILL.md +2 -1
- package/skills/malloy-analysis/SKILL.md +1 -1
- package/skills/malloy-analysis-pitfalls/SKILL.md +1 -1
- package/skills/malloy-analysis-report/SKILL.md +1 -1
- package/skills/malloy-analyze/SKILL.md +1 -1
- package/skills/malloy-charts/SKILL.md +1 -1
- package/skills/malloy-dashboards/SKILL.md +1 -1
- package/skills/malloy-data-app-design/SKILL.md +1 -1
- package/skills/malloy-debug/SKILL.md +1 -1
- package/skills/malloy-define/SKILL.md +1 -1
- package/skills/malloy-discover/SKILL.md +12 -3
- package/skills/malloy-document/SKILL.md +1 -1
- package/skills/malloy-getting-started/SKILL.md +1 -1
- package/skills/malloy-gotchas-modeling/SKILL.md +1 -1
- package/skills/malloy-gotchas-queries/SKILL.md +1 -1
- package/skills/malloy-gotchas-rendering/SKILL.md +1 -1
- package/skills/malloy-html-data-app-embedding/SKILL.md +1 -1
- package/skills/malloy-html-data-app-runtime/SKILL.md +1 -1
- package/skills/malloy-html-data-apps/SKILL.md +1 -1
- package/skills/malloy-lookml-review/SKILL.md +1 -1
- package/skills/malloy-materialization/SKILL.md +1 -1
- package/skills/malloy-materialization-tuning/SKILL.md +1 -1
- package/skills/malloy-model/SKILL.md +1 -1
- package/skills/malloy-model-as-you-go/SKILL.md +1 -1
- package/skills/malloy-modeling/SKILL.md +2 -2
- package/skills/malloy-notebook-chat/SKILL.md +1 -1
- package/skills/malloy-notebooks/SKILL.md +1 -1
- package/skills/malloy-patterns/SKILL.md +1 -1
- package/skills/malloy-phrase-detection/SKILL.md +1 -1
- package/skills/malloy-powerbi-review/NOTICE +24 -0
- package/skills/malloy-powerbi-review/SKILL.md +163 -0
- package/skills/malloy-powerbi-review/reference/_concepts.md +168 -0
- package/skills/malloy-powerbi-review/reference/cookbook-filter-context.md +425 -0
- package/skills/malloy-powerbi-review/reference/cookbook-structure.md +357 -0
- package/skills/malloy-powerbi-review/reference/cookbook-time.md +462 -0
- package/skills/malloy-powerbi-review/reference/corpus.md +103 -0
- package/skills/malloy-powerbi-review/reference/discover.md +190 -0
- package/skills/malloy-powerbi-review/reference/document.md +50 -0
- package/skills/malloy-powerbi-review/reference/limitations.md +137 -0
- package/skills/malloy-powerbi-review/reference/propose-fields.md +76 -0
- package/skills/malloy-powerbi-review/reference/review-coverage.md +75 -0
- package/skills/malloy-powerbi-review/reference/rls-roles.md +153 -0
- package/skills/malloy-powerbi-review/reference/translate-measures.md +315 -0
- package/skills/malloy-powerbi-review/scripts/classify_measures.py +1578 -0
- package/skills/malloy-powerbi-review/scripts/classify_measures_test.py +1448 -0
- package/skills/malloy-publish/SKILL.md +1 -1
- package/skills/malloy-queries/SKILL.md +1 -1
- package/skills/malloy-review/SKILL.md +1 -1
- package/skills/malloy-scope/SKILL.md +1 -1
- package/skills/malloy-source-unreachable/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-answer
|
|
3
3
|
description: 'Score one analytical answer against a verified golden, and score which of the entities the golden depends on retrieval delivered to the answerer. Run the contamination checklist, re-execute the submitted query yourself, then spawn a judge subagent per skill:eval-judge. Append attempt, tool_call, score, and retrieval_score events to the file ledger (reference/ledger-schema.md). Never explain the failure (eval-diagnose) or edit the model (eval-improve). Use when asked whether an answer was correct, to score a run, or to baseline a model.'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Evaluate One Answer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-diagnose
|
|
3
3
|
description: 'Diagnose why a scored answer failed and who owns the fix, then cluster the failures by shared root cause. Walk dataset, agent-call, get_context/model, get_context/retrieval, construction, then model-definition. Append issue events to the file ledger, linked by traceId, one per cluster. Use after eval-answer, when triaging a run, or before changing a model. Does not edit the model (eval-improve).'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Diagnose One Answer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-import
|
|
3
3
|
description: 'Turn a list of questions into an eval set, whatever shape it arrived in: a JSONL a customer sent, a CSV, a spreadsheet export, a markdown doc, an email thread, or a pull from production logs. Classify each item by what came WITH the question (a query, a number, prose criteria, or nothing), write cases.jsonl and set.json per reference/case-format.md, keep the file as it arrived, and seal each question so a later edit is detectable. Never marks a value-bearing golden verified and never invents a question. Use when questions arrive from outside and need to become a set, or before the first run against a set nobody here authored.'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Import questions into an eval set
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-improve
|
|
3
3
|
description: 'Make the smallest safe Malloy model edit that closes a diagnosed model-owned gap, with a probe receipt for every factual claim. Use after eval-diagnose, or when asked to fix a model so an agent can discover the right answer. Never accepts its own edit; the acceptance check belongs to eval-loop. Does not decide whether an answer was wrong (eval-answer) or why (eval-diagnose).'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Improve the Model
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-judge
|
|
3
3
|
description: 'Decide whether ONE answer matches its golden, and say whether you believe the golden. Read this before emitting any verdict. Covers containment, column pairing, near_match, refusals, and the gold_status judgement. Use when scoring an attempt in an evaluation run; never to conduct a run (eval-loop), diagnose a failure (eval-diagnose) or edit a model (eval-improve).'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# The judge
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: eval-loop
|
|
3
3
|
description: 'Conduct a local Publisher evaluation loop in five steps: scrape/run, eval, diagnose, improve, checkpoint. You are the conductor: import cases into the file ledger, spawn a blind answerer, then run eval-answer, eval-diagnose, and eval-improve. Persistence is plain files under the model package''s evals/ directory; checkpoints are git commits of the model repo. Use to score a model, diagnose failures, improve behind an acceptance check, or roll back a bad direction.'
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.29
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# The Evaluation Loop
|
|
@@ -37,17 +37,22 @@ where the failures are, retrieval, the backlog. Publisher renders it natively, s
|
|
|
37
37
|
these are Malloy reading the model directly with no JavaScript in between and
|
|
38
38
|
nothing to drift.
|
|
39
39
|
|
|
40
|
-
**`public/index.html`**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
40
|
+
**`public/index.html`** leads with the score and where every question landed,
|
|
41
|
+
then the diagnosis backlog (failures grouped by shared cause), an effort strip
|
|
42
|
+
(one dot per question), and the case list: one row per case, with a verdict pill
|
|
43
|
+
and a row of dots per arm (the entities the golden depends on: a ranked entity, a
|
|
44
|
+
sibling-source alias, in a returned source's docs, or missing). Clicking a row
|
|
45
|
+
opens that case in a side panel. Its **Summary** tab says why the judge decided
|
|
46
|
+
as it did, puts the golden beside the rows the agent's final query returns when
|
|
47
|
+
the harness re-runs it, shows the agent's final message, which required entities
|
|
48
|
+
search delivered, and what the attempt cost. Its **Step by step** tab is the
|
|
49
|
+
attempt as a list -- every `get_context` and `execute_query` and the prose
|
|
50
|
+
between them, one line each, opened in place to show the full query and its
|
|
51
|
+
result. That is the view a verdict cannot give: whether a wrong number came out
|
|
52
|
+
of a wrong query or a right query read wrongly. A notebook cannot do that, and
|
|
53
|
+
drilling into one case is most of what reading an eval consists of. Data comes
|
|
54
|
+
from `steps.csv`, `required.csv` and the `prediction` column on attempts, all
|
|
55
|
+
built from the run's transcripts.
|
|
51
56
|
|
|
52
57
|
Both read the same model, which is what stops the two from disagreeing.
|
|
53
58
|
|
|
@@ -775,7 +775,7 @@ query: case_matrix is scores -> {
|
|
|
775
775
|
arms is count()
|
|
776
776
|
arms_passed is passed
|
|
777
777
|
nest: by_arm is {
|
|
778
|
-
group_by: arm is runs.label, verdict, outcome, confidence,
|
|
778
|
+
group_by: arm is runs.label, verdict, outcome, confidence, counts,
|
|
779
779
|
where_to_fix is retrieval.where_to_fix,
|
|
780
780
|
recall is retrieval.recall
|
|
781
781
|
order_by: arm
|