[HER Hack-Astron #8] [Spark × SkillHub] Down-jacket spec matrix from Chinese listings: evidence-backed rows, 0 invented values

#40
by XamitK - opened

Repository (all code, inputs, labels, raw Spark outputs): https://github.com/kadyrbekovhamit-cyber/spark-x26-downjacket-specs (commit 3b35d3f)

Project and track

Project name: Down-jacket spec matrix for a buyer in Central Asia: Chinese marketplace listings → evidence-backed parameter rows
Track: Documents and extraction (extract specifications from product descriptions; check values and units against the source)

User and task

Who uses the result, and what problem do they face?
A buyer in Kazakhstan or Uzbekistan ordering a winter down jacket from Chinese marketplaces. Pinduoduo now ships directly to Kazakhstan, and JD is the usual price reference. Jackets that look the same differ in the numbers that decide warmth: down type, down %, fill weight, fill power. Those numbers sit in Chinese titles, image overlays and spec sheets, sometimes contradict each other, and are often simply absent. The buyer does not read Chinese.

This came from a real purchase on 21 November 2026. Two ANTA jackets on Pinduoduo looked identical. One said "Down Content 65%–70%" and gave no fill weight. The other had 灰鸭绒 / 75% / 230 g / 600+ fp on an image. Before, the buyer compared the screenshots by hand, with an AI chat translating the Chinese.

Sample input and acceptance criteria chosen before the run:

  • 14 real listings: the buyer's two Pinduoduo pages (transcribed from screenshots, reviewer and buyer names removed) and 12 public JD.com listing titles fetched on 2026-11-22. The 12 were chosen to include traps: a 棉服 (padded, possibly not down) variant inside a "down jacket" title; two different lengths in one title; fill weight for a different size than the selected one; a bare "580+" in a style name; a colour code "7905" that is not an article number; a seller temperature claim.
  • Gold labels and the scoring rules were written and committed to git before the model was downloaded: gold/ACCEPTANCE.md, gold/gold.json (commit 523fac6, 2026-11-22 19:49 +05:00). Rules: every value needs a verbatim evidence quote; anything not stated must be 待复核 ("needs re-check"); a value where the gold label is 待复核 counts as invented.

SkillHub skill and Spark-X2.6-4B

Skill name, detail page, source and version: 商品横向对比选购决策助手 (side-by-side product comparison and buying-decision assistant), namespace global, version 20260804.074833, from the SkillHub market https://skill.xfyun.cn. Package downloaded through the registry API used by SkillHub CLI v0.2.28; SHA-256 327f1e251d31f25a896788e328a7f7be5af76082755797b9bb73a144b62abcc6. Details: skill/SKILL_SOURCE.md. The package is not redistributed here.

Agent host and steps guided by the skill: Claude Code (model Claude Opus 5.5) read the skill's SKILL.md and followed it:

  1. Derive the comparison dimensions from the category (skill: 维度家族骨架) → for down jackets: down type, down %, fill weight with size, fill power, length, hood, water repellency, article number, seller channel.
  2. Never invent; show missing values as 待复核 (skill red line "禁止编造", unified marker "待复核").
  3. Mandatory channel/authenticity dimension (skill: 官方旗舰 / 百亿补贴 / 自营) and a claims gate (skill: 参数辨别门禁) → risk notes.
  4. Confidence per value (skill: 高/中/低) and a report with a data snapshot date, a re-check date, sources and an information boundary.

Model source, revision and step performed by Spark: XHToken/Spark-X2.6-4B-GGUF, revision 9d716770ac7477776de5f891f70cdf98b003a5cd, file Spark-X2.6-4B-Q8_0.gguf (4,375,021,824 bytes, SHA-256 145c2aa606820663f26ad530b8fc141ed885e2e9ca29f9be7c3bfe8931d58b81, matches the Hub LFS hash). Spark's step: read one listing and return one JSON row in which every value carries a verbatim evidence quote, plus buyer warnings. Spark runs once per listing, locally, offline.

Other models, tools or services and their roles:

  • Claude Code (Claude Opus 5.5): agent host; designed the task, wrote the gold labels and scripts, checked Spark's output, built the report and this write-up.
  • llama.cpp llama-server 1.0.0 (build 12359, commit b1b770d90), Homebrew bottle: local inference server.
  • Python standard library scripts in scripts/: run_spark.py (calls Spark, logs raw request/response), reparse.py, score.py (evidence-substring check and comparison with gold), build_report.py (HTML matrix), make_demo.py (renders the frames below from the run files with headless Chrome).

Demo (illustrated walkthrough)

Every frame is rendered from the actual files in this repository; nothing was typed into the frames by hand.

1 · Real input. The buyer's Pinduoduo page (transcribed) and a JD title containing a trap: the selected variant 标准黑(中长款棉服) is a padded 棉服, although the title says 羽绒服 (down jacket).
input

2 · The SkillHub skill that guides the run.
skill

3 · Spark's step, raw. Exact request (thinking disabled, temperature 0, fixed seed) and Spark's unedited response for the trap listing. Spark flags the 棉服 variant and leaves every unstated number as 待复核.
spark

4 · Agent check. Evidence must be a verbatim substring of the listing; values are compared with the labels committed before the run. Every non-correct cell is listed.
check

5 · Final artifact: the buyer's matrix. Green = stated, with the quote (confidence 高). Grey = not stated, shown as 待复核. Orange = Spark disagreed with the listing; the cell shows the corrected value and what Spark said. Full page: report/matrix.html.
matrix

6 · What failed first and what changed.
adjustment

Actual input → raw Spark output → final artifact → human review: listing text (inputs/listings.jsonl) → raw responses (runs/none/, one JSON per listing with request, raw content, timing and token counts) → report/matrix.html → the buyer reads the matrix; orange cells and risk notes are the points that need a person.

Reproduction

Installation and run steps:

brew install llama.cpp            # 1.0.0, build 12359
curl -L -o models/Spark-X2.6-4B-Q8_0.gguf \
  https://huggingface.co/XHToken/Spark-X2.6-4B-GGUF/resolve/9d716770ac7477776de5f891f70cdf98b003a5cd/Spark-X2.6-4B-Q8_0.gguf
llama-server -m models/Spark-X2.6-4B-Q8_0.gguf --jinja -c 16384 -ngl 99 --port 8088 --alias spark-x2.6-4b
python3 scripts/run_spark.py --effort none --max-tokens 1500 --out runs/none
python3 scripts/reparse.py runs/none
python3 scripts/score.py runs/none
python3 scripts/build_report.py runs/none report/matrix.html
python3 scripts/make_demo.py runs/none

Hardware, runtime version, precision, prompts and settings: MacBook Air, Apple M4, 16 GB RAM, macOS 15.5, fanless. llama.cpp build 12359 (Metal, all layers on GPU). Q8_0 weights. Chat template from the GGUF (--jinja) with chat_template_kwargs={"enable_thinking": false}; temperature 0, top_p 0.95, seed 20261122, max_tokens 1500. The full system prompt is in scripts/run_spark.py and inside every logged request.

Code or runnable example: this repository. Python 3 standard library only; Chrome is needed only to re-render the frames.

Results and limitations

Observed results, evaluation method and sample size (14 listings × 9 fields = 126 fields, one run, scored by the rules committed before the run):

Metric Result
Rows returned 14/14 (strict JSON parse 12/14; the other 2 had a literal newline inside a copied evidence string and parse with strict=False; raw output kept unchanged)
Correct fields 119/126 (94.4%)
Invented values (value where the listing states nothing) 0
Missed (said 待复核 where the listing states a value) 1: J06 【蓬松度580+】 is labelled fill power, Spark left it 待复核
Wrong value 5: 3 are a format difference, Spark wrote 230g @XL码 where the rule expected 230g @XL (码 = "size"; same value, counted wrong because the scorer was fixed in advance; counting them as correct gives 122/126); 2 are real misses: J08 and J10 each state two different lengths and Spark reported only one
Evidence not verbatim 1: J03 evidence contains "..." joining two places; value correct
Speed median 20.0 s per listing (16.1–27.5 s), 278 s for all 14; median 236 output tokens
Repeat run, same settings 14/14 raw outputs byte-identical to the first run (runs/none_repeat/)

Traps: Spark flagged the 棉服 variant in J08 (the most expensive mistake for a buyer), did not read the bare "580+" in J09 as fill power, did not take the colour code "7905" in J05 as an article number, did not turn "Down Feather" into duck or goose, left the missing fill weight of the buyer's first jacket as 待复核, and recognised the Pinduoduo 百亿补贴 listing as having no named seller.

Failures, improvements and points requiring human review:

  • First attempt with reasoning_effort=low and max_tokens 4096: both listings tried (P01, P02) used the whole budget on reasoning and returned no JSON (267 s and 318 s). Disabling thinking for this short extraction step gave 14/14 rows at about 20 s each. Logs: runs/low_attempt1_token_capped/.
  • Warnings (flags) are the weak part: Spark produced 2 of the 8 expected warnings (J03 length conflict, J08 棉服 variant). It missed the size mismatch for the fill weight in J02 and J03 (in J03 it read L as the selected size), the length conflicts in J08 and J10, the bare "580+" note in J09 and the temperature claim in J10. It added a size note that P02 does not support, and warned "棉服" for J05 and J10, where 棉服 appears only as a search keyword at the end of a down-jacket title. Warnings therefore go to the buyer as "check this", not as findings.
  • Schema: in P01 Spark returned down_type as a bare string "待复核" instead of {"value", "evidence"}; the scorer accepts it as 待复核.
  • Length conflicts within one title were missed 2 times out of 3.
  • The gold labels were written by the AI agent from the listing text and were not independently checked by a second person.
  • Scope: one brand, 14 listings, titles and screenshots only; no detail pages, no images read by Spark (the Pinduoduo image text was transcribed). Results describe this set only. Prices change; the report carries a re-check date.

Contributors and disclosure

Individual or team, profiles and actual contributions: Individual entry: Khamit Kadirbekov (GitHub kadyrbekovhamit-cyber, Hugging Face XamitK). He chose the task from his own purchase, supplied the Pinduoduo screenshots and approved publication.

How AI assisted development: AI-operated work. Claude Code (Claude Opus 5.5) selected the skill, collected the JD titles, wrote the gold labels and acceptance rules, wrote and ran all scripts, checked the outputs and drafted this write-up. The agent is not an additional human participant. No independent human review of the labels is claimed.

Data and dependency sources and permissions: JD.com listing titles are short quotations of public pages (URLs and fetch date in inputs/listings.jsonl). The Pinduoduo text was transcribed from the buyer's own screenshots, with reviewer and buyer names removed. Spark-X2.6-4B under its model license; llama.cpp (MIT); the SkillHub skill is referenced by name, version and checksum and not redistributed. Code and report in this repository: Apache-2.0.

Sign up or log in to comment