|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable engineering milestones for YuhoLens-Pipeline. Dates are |
| 4 | +hackathon calendar days; commit hashes refer to `main` on |
| 5 | +`github.com/javierdejesusda/YuhoLens`. |
| 6 | + |
| 7 | +The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); |
| 8 | +this project does not yet follow semantic versioning because the public |
| 9 | +artefact is the HuggingFace checkpoint, not a Python package release. |
| 10 | + |
| 11 | +## [Unreleased] |
| 12 | + |
| 13 | +Phase-9 ship-readiness: operator CLI, offline picker, release validator, |
| 14 | +README rewrite, sample fixture, social-media refresh, CI, pre-commit. |
| 15 | + |
| 16 | +### Added |
| 17 | + |
| 18 | +- `python -m yuholens.agents` operator CLI for the 4-agent composer with |
| 19 | + `--best-of-n / --judge-mode / --n-candidates` flags. |
| 20 | +- `scripts/run_bestofn_offline.py` for heuristic-only best-of-N picking |
| 21 | + without OpenAI calls. |
| 22 | +- `scripts/check_release_set.py` pre-HF-upload validator (tokenizer, |
| 23 | + generation_config v5 invariants, weights, architecture). |
| 24 | +- `scripts/hf_upload.py` that patches `generation_config.json` to v5 |
| 25 | + defaults before pushing to the Hub. |
| 26 | +- `scripts/build_gguf.sh` covering Q4_K_M / Q5_K_M / Q6_K / Q8_0. |
| 27 | +- `data/sample/sample_yuho.jsonl` so the README quickstart works on a |
| 28 | + fresh clone. |
| 29 | +- `.github/workflows/test.yml` running `pytest` on push and PR. |
| 30 | +- `.pre-commit-config.yaml` wired to the existing ruff config. |
| 31 | +- `docs/CHANGELOG.md` (this file). |
| 32 | +- `MemoCriticAgent` LangGraph node + `decoder_profiles.py` catalogue. |
| 33 | +- `JudgeUnavailableError` with auto-fallback to the heuristic when the |
| 34 | + judge backend is unreachable, and a finite-score guard against |
| 35 | + silently picking an unscored candidate. |
| 36 | + |
| 37 | +### Changed |
| 38 | + |
| 39 | +- README rewritten with the KG-2 PASS headline, metric arc, mermaid |
| 40 | + 4-agent diagram, cost table, and a sharper quickstart. |
| 41 | +- `docs/social_media.md` refreshed with the real PASS metrics |
| 42 | + (3.88 coherence, 1.000 citation, 0.994 section coverage). |
| 43 | +- `docs/blog_post.md` numbers replaced with the metric arc and the |
| 44 | + cross-decoder vs cross-seed finding. |
| 45 | +- `docs/demo_script.md` adds a 5-minute live walkthrough alongside the |
| 46 | + 90-second submission video script. |
| 47 | +- `docs/model-card.md` quantization table now lists Q8_0 and references |
| 48 | + the new build script. |
| 49 | +- `scripts/mi300x_preflight.py` performs a real OpenAI auth probe |
| 50 | + instead of bare env-var presence. |
| 51 | +- `pyproject.toml` and `requirements.txt` add `huggingface_hub` and |
| 52 | + `safetensors` to runtime deps; new `release` extra collects |
| 53 | + matplotlib for figure rendering. |
| 54 | + |
| 55 | +## [2026-04-25] — Session 1.7 — KG-2 PASS |
| 56 | + |
| 57 | +### Added |
| 58 | + |
| 59 | +- `src/yuholens/eval/run_sft_drafts.py` for ORPO draft generation at v5 |
| 60 | + decoding (`b16e8d7`). |
| 61 | +- `scripts/bestofn_pick.py` to pick the highest-coherence memo per |
| 62 | + `custom_id` from N candidate sets via cached judge scores |
| 63 | + (`b16e8d7`). |
| 64 | +- `scripts/bestofn_judge.py` fresh-pass scorer that judges every memo |
| 65 | + across N candidate sets in a single session (`f6ac0d6`). |
| 66 | +- `scripts/bo3_finalise.sh` orchestrating the post-best-of-3 pipeline |
| 67 | + (`15ac06c`). |
| 68 | +- `--seed` and `--skip-judge` flags on `run_kg2.py` so candidate sets |
| 69 | + are independently reproducible (`f6ac0d6`). |
| 70 | + |
| 71 | +### Changed |
| 72 | + |
| 73 | +- ORPO `CRITIQUE_SYSTEM` rewritten to embed the seven-section coherence |
| 74 | + rubric, replacing citation-grounded language that was orthogonal to |
| 75 | + what the KG-2 judge actually scores (`b16e8d7`). |
| 76 | +- `configs/orpo.yaml` `model_id` corrected to `checkpoint-212`. |
| 77 | + |
| 78 | +### Result |
| 79 | + |
| 80 | +KG-2 PASS at coherence **3.88**, citation rate **1.000**, section |
| 81 | +coverage **0.994** under the best-of-5 mixed-decoder composer. Verdict |
| 82 | +documented in `docs/session_2026-04-25_summary.md` (committed in |
| 83 | +`9b17222`). |
| 84 | + |
| 85 | +## [2026-04-22] — Session 1.6 — SFT polish module |
| 86 | + |
| 87 | +### Added |
| 88 | + |
| 89 | +- LM-head + last-4-layers SFT polish module (`a14834c`). Polish |
| 90 | + experiment regressed KG-2 to 3.26 (-0.30) and was abandoned in favour |
| 91 | + of inference-time best-of-N. |
| 92 | + |
| 93 | +## Pre-history (2026-04-17 onwards) |
| 94 | + |
| 95 | +Initial SFT loop, teacher bootstrap, ROCm bitsandbytes source build, |
| 96 | +ingestor regex tuning, Pass-1 / Pass-2 prompt design, citation-grounder |
| 97 | +with `[evidence insufficient]` abstention, kill-gate metrics, and the |
| 98 | +six-variant decoding sweep that established v5 as the single-shot |
| 99 | +default. |
0 commit comments