Source-grounded extraction with local Spark and SkillHub
One stall announcement states that refrigerators are charged per day, and the vendor chose a two-day rental. The submitted Skill extracts the fee clause from the announcement and hands it to a program that computes the cost. The first run missed the rental choice and undercounted by 24 yuan, moving the break-even quantity from 10 to 9 items. Once the rental days were confirmed, the same rule set produced the correct result. The example separates three things that need their own check: what the source says, which facts the model selected, and how the program uses those facts. The Market Stall Fee Audit run and reproduction material
Counts and figures below come from the linked public posts and were collected in early December 2026.
Choose a skill for the task
The GitHub entry for the eighth challenge has 32 comments, 28 of which link to distinct Hugging Face project threads. The results below come from the participants' public run records. Challenge and submissions
| Skill and run | Reusable approach |
|---|---|
global/extract-government-document-info, used in the stall fee and announcement deadline runs | Locate clauses by document structure, then bind fields by purpose. A fee must be reviewed together with its unit, day count, and user choice; a deadline must point to the same party as the action. |
research-evidence-auditor, Upgrade Ledger | Turn release notes into an upgrade checklist and check candidates against complete sources. In the shown run, two of three items were accepted, and the rejected item stayed in the review record. |
global/forgemind-evidence-checker, SKU Proof | Attach line numbers to product specs and pack quantities. The project kept corrections of the reference labels so disagreements could be traced to the model or the annotation. |
global/reimbursement-audit, invoice anomaly review | Extract and check 36 invoice fields page by page, then let local Spark propose review actions. Both final runs matched the three expected actions and their source pages. |
How four skills feed a verification loop
Among the 28 standalone project threads linked from the challenge, each of the four skills below appears in exactly one. What repeats is the working method: the model selects cited candidates, and a program recomputes, locates, or scores them. The announcement-extraction Skill above was used by two different runs at the same version, 20260807.064126.
| Skill and run | How model and checker divide the work | Improvement signal from the author's runs |
|---|---|---|
| crossfoot: financial statement tie-out | Spark preserves amounts, units, disclosed year-over-year figures, and verbatim quotes; the program recomputes and compares against disclosed values. | The first C04 output template omitted the optional disclosed_yoy field, so 22.50% was skipped and the risk was reported as passing. After the field was added, that case matched 40/40 fields and the risk flag returned. Keep this input as a missing-field regression case. |
| govdoc-legal-review: material checklist check | On two synthetic, de-identified documents, extract parties and evidence line by line; the checker marks lines that need human review. | The same document passed 7/8 or 8/8 items across runs. When two responsible parties appear separately in the source, a whole-string match produces a false positive. Store each party's source location and let a human judge their relationship. |
| changeradar: upgrade list and call chains | Spark converts release notes into list items; the program aligns quotes, change markers, affected callers, and related tests. | 19 of 20 items passed item-level checks, but only 2 of 5 complete samples passed all seven checks. A report should show both item results and whether the upgrade as a whole can proceed. |
| deadline-extractor: announcement to calendar | The model selects deadlines and submission methods from line-numbered announcements; Python verifies the line numbers and converts explicit-timezone times to Korea time for review before creating calendar entries. | The author fixed six announcements and reference answers: one adapted from a real event and five synthetic. The demo shows the source, the two selected lines, and the converted result side by side; entries without a timezone are left for human confirmation. |
For a community demo, pick one example where the difference is visible: show the same financial statement line in C04, the missed year-over-year field in the first version, and the restored risk flag. For skill maintenance, fix that input, its expected quotes, and the verdict as a test, and keep the old false-pass output for the next version to compare against.
Implementation steps
- Fix the input. Save the original file, revision, or SHA-256. Give every text line a stable number; for PDFs keep the page number and text within the page. Keep headers, units, and footnotes when splitting. Record the SkillHub namespace, version, and the scripts or instructions actually used.
- Let Spark produce candidates. Extract one clearly defined object at a time. Require JSON with the original value, party, page/line location, and verbatim quote. Return
nullfor missing values. Save the raw response, model revision, quantization, runtime, prompt, and inference parameters. - Check item by item. Parse the JSON and check types first, then find the full quote at the stated page and line while checking the value, unit, and the party it belongs to. When a page states two deadlines for a buyer and a seller, an exact date match must still be checked against the quote's party. Compute totals from accepted values; a human-selected quantity is a separate confirmed input.
- Route by result. Items with missing evidence, duplicate matches, or conflicting sources go to a review queue. Record accept, edit, or reject decisions on export. Keep the original candidate, edited value, and source so a disputed decision can be replayed.
For example, line 8 says "the applicant must submit the form by June 12" and line 9 says "the reviewer must reply by June 18". Extracting the "applicant submission deadline" accepts a candidate like this (teaching example).
{"actor":"applicant","action":"submit the form","value":"June 12","line":8,"quote":"the applicant must submit the form by June 12"}If the model writes "June 18", the quote check on line 8 finds the value mismatch; if it also returns the line 9 quote, the party and action checks send it back for review. If the source only says "the submission time will be announced separately", keep that sentence and return an empty date.
Verification and handoff
Freeze the reference answers first, and prepare samples that cover normal extraction, adjacent parties, missing values, and revoked or conflicting clauses. Count each of field correctness, evidence hit, empty-when-expected, and final action separately. Record the denominator, the first failure, and human edits, then run the offline checker and the real model separately; offline replay verifies rule changes, while re-inference reveals model output changes.
Down jacket specification extraction checked nine fields across 14 product descriptions. The author reports 119 of 126 fields correct and records a size-suffix formatting deviation. A handoff should include the source, raw model response, per-field verdicts, and the final report so readers can recompute the metrics and trace why one item needed review.