Will Miao
170c8068c5
feat(agent): enrich_hf_metadata — filename-aware section matching, preview extraction for markdown/HTML/widget, JSON salvage, instance_prompt fallback, and validation suite
- extract_relevant_section(): trim README to model-filename-matching section
for collection repos (download link, anchor ID, heading strategies)
- _strip_standalone_images(): preserve markdown image URLs so LLM can
extract preview_url; strip only HTML <img> tags
- extract_simple_markdown_images(): extract civitai.images from ![]() body
- extract_html_img_tags(): extract from <img src="..."> (deadman44-style)
- extract_gallery_images(): fix widget parser for YAML - output: dash prefix
- _is_heading: exclude </hN> closing tags from boundary detection
- _extract_section: start at matching heading when match IS a heading line
- _try_salvage_json(): recover truncated JSON (close braces/brackets in
LIFO order, close unterminated strings, strip trailing commas)
- PostProcessor: store _llm_confidence, add instance_prompt YAML fallback
- agent_service: pass model_basename to prompt, trim README via
extract_relevant_section before clean_readme_for_llm
- Add tests/enrich_hf_validation/ suite: 100-model pipeline with progress
checkpoint/resume, per-field scoring, markdown+JSON reporting
- Fix evaluation_engine: read _llm_confidence (not _llm_response)
2026-07-04 12:00:15 +08:00
..
2026-07-04 12:00:15 +08:00
2026-06-27 17:05:38 +08:00
2026-06-16 22:38:50 +08:00
2025-02-24 20:41:16 +08:00
2026-06-26 14:32:43 +08:00
2026-04-20 09:52:48 +08:00
2026-05-20 22:48:44 +08:00
2026-06-11 18:03:29 +08:00
2026-06-30 09:02:42 +08:00
2026-06-27 17:05:38 +08:00
2026-03-18 21:10:56 +08:00
2026-02-02 08:30:59 +08:00
2026-04-23 11:36:32 +08:00
2026-07-01 08:38:16 +08:00
2026-06-30 19:42:30 +08:00
2026-06-30 22:41:17 +08:00
2026-06-27 22:22:48 +08:00
2026-04-20 15:20:57 +08:00
2026-04-15 20:42:55 +08:00
2026-06-02 20:38:47 +08:00
2026-06-27 08:56:11 +08:00
2026-06-14 22:52:44 +08:00
2026-05-31 15:06:15 +08:00
2026-06-13 14:05:15 +10:00
2026-02-25 18:16:17 +08:00
2026-07-01 08:38:16 +08:00
2026-07-02 21:27:01 +08:00
2025-10-08 08:56:57 +08:00
2026-07-04 12:00:15 +08:00
2026-02-25 18:16:17 +08:00
2026-07-01 08:38:16 +08:00
2025-10-13 14:39:31 +08:00
2026-03-25 08:43:33 +08:00
2026-06-19 16:42:09 +08:00
2026-06-22 16:02:12 +08:00
2026-01-02 18:48:28 +08:00
2026-05-27 19:38:08 +08:00
2026-05-12 22:50:10 +08:00
2026-06-16 13:08:34 +08:00
2026-06-19 16:42:09 +08:00
2026-07-01 08:38:16 +08:00
2025-12-09 19:51:01 +08:00
2026-06-26 17:40:41 +08:00
2026-07-01 08:38:16 +08:00
2026-06-13 08:32:03 +08:00
2026-03-26 18:24:47 +08:00
2026-06-13 08:32:03 +08:00
2026-01-26 16:12:08 +08:00
2026-06-13 08:32:03 +08:00
2025-08-30 21:41:48 +08:00
2026-06-12 15:00:21 +08:00
2026-07-02 21:27:01 +08:00
2026-04-15 20:42:55 +08:00
2026-06-19 16:42:09 +08:00
2026-02-02 08:30:59 +08:00
2025-09-22 05:25:27 +08:00
2026-04-15 22:25:25 +08:00