real
Conformance
Purpose
Statement to example file to last CI run. Proof narration lives here, not in product prose.
Conformance matrix
| Statement | Reality | Since | Grammar |
|---|---|---|---|
model train | real | 0.6.0 | model train dataset "PATH" base "ID" out "DIR" backend "http" method "METHOD" -> job |
model status | real | 0.6.0 | model status "JOB_ID" -> status |
model inspect | real | 0.8.0 | model inspect PATH -> summary (CLI: spark-modelscope) |
model diff | real | 0.8.0 | model diff A B -> delta (adapter heatmap) |
model probe | real | 0.8.0 | model probe base symbols "DIR" -> p (AUROC < 0.85 = unusable) |
model decompile | experimental | 0.8.0 | model decompile contrast→vector — EXPERIMENTAL until probe AUROC ≥ 0.85 |
model patch | experimental | 0.8.0 | model patch vector|rome|memit + scale 0.4–1.2 — EXPERIMENTAL until probe AUROC ≥ 0.85 |
model eval | real | 0.8.0 | model eval ARTIFACT suite "PATH" -> e |
model stage | real | 0.8.0 | model stage ARTIFACT marker "ID" -> staged (serving_loaded: false always) |
expect contains | real | 0.6.0 | expect contains NAME fixture "PATH" |
expect gte | real | 0.7.0 | expect gte NAME $.path N |
expect lte | real | 0.7.0 | expect lte NAME $.path N |
expect eq | real | 0.7.0 | expect eq NAME $.path V |
expect histogram_min | real | 0.7.0 | expect histogram_min NAME CLASS N |
expect score | real | 0.7.0 | expect score NAME $.path using "URL" >= N |
http get | real | 0.6.0 | http get "URL" fixture "PATH" timeout N -> resp |
http post | real | 0.6.0 | http post "URL" body "{…}" fixture "PATH" timeout N -> resp |
spark_distill_cpu | real | 0.6.0 | Trainer method — reply-class student → weights.pt |
spark_pref_pack | real | 0.6.0 | Trainer method — preference pairs + ranker |
spark_playbook_fit | real | 0.6.0 | Trainer method — intent→playbook router |
spark_faq_index | real | 0.6.0 | Trainer method — FAQ dual-encoder |
lora_bf16 | real | 0.7.0 | Trainer method — Unsloth/PEFT LoRA (GPU) or fixture |
hf:// | real | 0.7.0 | hf://org/name on dataset/base/out (hf_resolve.py) |
GitHub Action dry-run | real | 0.7.0 | uses: Michael20251/sparklang/.github/actions/dry-run |
Exit codes
| Exit | Meaning |
|---|---|
| 0 | success / expect pass |
| 1 | expect fail or language fail |
| 2 | usage / unknown method / missing program |
| 4 | credential unavailable or CAP miss |
What it does not do
Does not replace dry-run CI — it reports it.