Skip to content

Releases

v0.10.5

Choose a tag to compare

@github-actions github-actions released this 05 Jul 03:27
v0.10.5
d0a8886

Added

  • Precompiled installers: unsigned .pkg (macOS, Apple Silicon) and .msi (Windows, x64) builds of the CLI, produced via PyInstaller + pkgbuild/WiX Toolset v4 and attached automatically to GitHub Releases on every v*.*.* tag push (.github/workflows/installers.yml). README documents the Gatekeeper/SmartScreen workarounds needed since the binaries are unsigned.
  • Conventional Commits enforcement: local commit-msg/pre-push git hooks reject non-Conventional-Commit subjects and block direct pushes to main (scripts/hooks/, activated via core.hooksPath). AGENTS.md/CLAUDE.md document the rules for humans and agents alike.
  • GitHub Release automation: .github/workflows/release.yml publishes a GitHub Release from the matching CHANGELOG.md section on every version tag push, or via manual workflow_dispatch for backfilling releases on existing tags.
  • MIT LICENSE file.

Fixed

  • Three issues in the Windows installer job surfaced only by a real CI run (impossible to catch via static YAML/XML review): WiX Toolset v7's Open Source Maintenance Fee EULA now requires explicit acceptance (wix.exe eula accept wix7); the WiX <Package> element's attributes must be PascalCase (Name/Manufacturer/Version/UpgradeCode); <Environment> is a core WiX schema element, not part of the Util extension.
  • Guarded the installer upload steps against a race with release.yml — both fire independently on the same tag push, so uploads now poll until the GitHub Release exists before attaching assets.

v0.7.3

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.7.3

Fixed

  • Leaderboard model ID resolution: HuggingFace leaderboards index base model IDs (e.g. Qwen/Qwen2.5-14B) while the catalog uses instruct/coder variant IDs (e.g. Qwen/Qwen2.5-Coder-14B-Instruct). This mismatch caused zero MMLU-Pro and HLE scores to be fetched in v0.7.2. Added _LEADERBOARD_ID_MAP in benchmarks.py that translates catalog IDs to their leaderboard equivalents before each lookup. MMLU-Pro scores now land for four models: Coder-14B (63.7%), Coder-32B (69.2%), Coder-72B (71.6%), Llama-3.1-8B (36.6%). Newer models not yet in the leaderboard (Qwen3.5-9B, Qwen3-14B, Gemma4-12B) continue to return no scores gracefully.

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.7.2

Added

  • Live benchmark fetching (hannah/catalog/benchmarks.py): new module fetches real benchmark scores from verified public sources using pure stdlib (urllib.request). Sources: HuggingFace Dataset Leaderboard API for MMLU-Pro (TIGER-Lab/MMLU-Pro) and HLE (cais/hle); HuggingFace Model API card eval_results for HumanEval and MBPP; BFCL (gorilla.cs.berkeley.edu) best-effort. All sources fail silently — partial or empty results are normal on first run.
  • 7-day local cache: scores are written to ~/.cache/hannah/benchmarks.json and reused for 7 days. Zero network calls on a warm cache; stale entries are merged with fresh results on refresh.
  • Expanded ModelCandidate fields: hf_model_id (HuggingFace repo slug for leaderboard lookup), mmlu_pro, hle, bfcl added alongside the existing humaneval/mbpp. All 9 catalog entries now carry an hf_model_id; MLX variants share their base model's slug. Benchmark score fields remain None in the catalog — populated at runtime from the fetch.
  • Per-eval per-track scoring weights (_BENCH_WEIGHTS): development track leans on humaneval (×1.5) and bfcl (×0.8); general track leans on mmlu_pro (×1.0) and hle (×0.8); inference track leans on mmlu_pro (×0.8) and hle (×0.6). Replaces the single best_bench scalar from v0.7.0.
  • Benchmark labels in why string: when scores are available, the recommendation summary appends up to 3 benchmark labels (e.g. humaneval=88%, bfcl=72%).
  • _enrich_with_benchmarks() method: uses dataclasses.replace() to inject fetched scores into frozen ModelCandidate objects before scoring (same pattern as pull-status enrichment).
  • recommend(benchmark_scores=) parameter: caller passes the scores dict; registry stays testable with injected fixtures.
  • 15 new tests (44 total): BenchmarkCacheTests (8 tests: cache TTL, normalization, leaderboard ID matching, graceful network failure) + 7 extended BenchmarkScoringTests (weight inspection, field enrichment, end-to-end inject).

Fixed

  • datetime.utcnow() deprecation: replaced with datetime.now(datetime.UTC) throughout benchmarks.py and tests.

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.7.1

Fixed

  • Removed hallucinated benchmark scores: humaneval and mbpp values in the v0.7.0 catalog were approximate figures recalled from training data, not verified against primary sources. All catalog entries now carry None for both fields. The benchmark bonus in _score() is dormant until v0.7.2 adds live fetching from a verified source. The humaneval/mbpp fields remain on ModelCandidate and the scoring logic is intact.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.7.0

Added

  • Dynamic catalog discovery — community models: detect_uncatalogued() cross-references locally pulled Ollama models against the static catalog; calls /api/show (GGUF metadata) per uncatalogued model to extract the architectural context window. Passing candidates appear as [community · unscored] in a new 🔍 GARAGE DISCOVERIES section.
  • Dynamic catalog discovery — Ollama library scan: scan_library() performs a best-effort HTML scrape of https://ollama.com/library, extracts model family names + parameter size hints, estimates q4 disk size, and filters by VRAM budget. Library candidates appear as [library · unscored] below community entries. Fails completely silently on network error.
  • Benchmark-aware scoring: ModelCandidate gains humaneval: Optional[float] and mbpp: Optional[float]. All 9 catalog entries now carry published HumanEval + MBPP pass@1 scores. _score() adds a +0.5/+1.0/+1.5 tier bonus on the development track (halved on other tracks), making benchmark performance a meaningful tiebreaker without overriding VRAM fit.
  • Multi-GPU VRAM summation: _probe_gpu() now sums VRAM across all detected GPUs for NVIDIA (nvidia-smi multi-line output) and AMD (rocm-smi multi-row CSV). HardwareSpec gains gpu_count: int = 1; summary() prefixes "N×" for multi-GPU. A note is added when gpu_count > 1.
  • RecommendResult dataclass: wraps podium (curated top-5) and discoveries (unscored dynamic candidates). Implements __iter__/__len__/__bool__/__getitem__ delegating to podium for backward compatibility.
  • Discovery dataclass: name, family, size_gb, context_k, quant, source, pulled. .tag property returns "community · unscored" or "library · unscored".
  • discoveries[] in JSON schema: hannah/analysis@1 now includes a discoveries array alongside recommendations.
  • Discoveries in /hannah:strategy: commands/strategy.md updated to render the discoveries block when discoveries[] is non-empty.
  • 14 new tests (29 total): MultiGpuTests, BenchmarkScoringTests, UncataloguedDetectionTests, LibraryScanTests, plus 2 new HardwareTests.

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.6.2

Fixed

  • Catalog context windows corrected from GGUF metadata: previous values came from model announcements, not the actual architectural limits embedded in the GGUF files. Verified via ollama show --modelfile / Ollama API model_info.*context_length:
    • qwen3:14b-q4_k_m: 128K → 40,960 (qwen3.context_length) — falls below 64K agentic minimum, now correctly excluded from development/general tracks
    • gemma4:12b / gemma4:12b-mlx: 256K → 131,072 (gemma4.context_length)
    • qwen3.5:9b / qwen3.5:9b-mlx: 256K → 262,144 (qwen35.context_length)
    • qwen2.5-coder:32b-instruct / 72b-instruct: 128K → 32,768 (same qwen2 architecture as 14b, which was already confirmed at 32K) — both now filtered from agentic tracks

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.6.0

Added

  • Platform-aware Ollama config hints: race notes now detect the host environment and emit the correct configuration workflow for each platform:
    • macOS (launchd): launchctl setenv calls for OLLAMA_FLASH_ATTENTION, OLLAMA_CONTEXT_LENGTH, OLLAMA_KEEP_ALIVE; killall Ollama && open -a Ollama to apply.
    • Linux native / WSL2 + systemd: systemctl edit ollama drop-in with Environment= lines; daemon-reload && restart. AMD path notes RDNA3+ requirement for flash attention.
    • WSL2 without systemd: export lines for ~/.bashrc; notes OLLAMA_HOST=host.docker.internal:11434 for the common case where Ollama runs on the Windows host.
    • Windows native: [Environment]::SetEnvironmentVariable PowerShell calls at User scope; restart from system tray.
  • WSL2 detection via /proc/version ("microsoft" substring); systemd presence via /run/systemd/private.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.5.1

Fixed

  • Linux Ollama config via systemd: race notes now emit the correct systemctl edit ollama workflow instead of a bare env-var hint. Adds Environment= lines for OLLAMA_FLASH_ATTENTION, OLLAMA_CONTEXT_LENGTH, and OLLAMA_KEEP_ALIVE under [Service], followed by the reload+restart command. Separates service-level env vars from per-request model params (num_gpu=999). macOS keeps the model-param format (no systemd). CPU-only Linux gets OLLAMA_CONTEXT_LENGTH + OLLAMA_NUM_PARALLEL hints.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.5.0

Added

  • Per-backend Ollama config hints in race notes: race notes now emit actionable Ollama parameters tailored to detected hardware, replacing the Apple-Silicon-only generic hint:
    • darwin/mlx — num_gpu=999 flash_attention=1 num_ctx=N keep_alive=-1 (pins model in Metal unified memory)
    • cuda/nvidia — num_gpu=999 flash_attention=1 num_ctx=N
    • rocm/amd — num_gpu=999 num_ctx=N + OLLAMA_FLASH_ATTENTION=1 env var note (RDNA3+ / 7000–9000 series)
    • cpu-only — num_gpu=0 num_thread=<cores-2> num_ctx=N (ctx halved to limit RAM pressure)
    • num_ctx is derived from repo complexity score (128K or 256K) so it can be pasted directly into a modelfile or API call.

Changed

  • Extracted _race_notes() from both console.py and json.py into a shared hannah/reporters/notes.py module — single implementation, no divergence risk.

v0.4.2

Choose a tag to compare

@github-actions github-actions released this 05 Jul 00:25
v0.4.2

Fixed

  • qwen2.5-coder:14b-instruct actual context window: catalog listed 128K (architecture maximum) but Ollama provisions this model with a 32,768-token default context. Updated context_k to 32768 so the 64K agentic filter correctly excludes it from development/general track recommendations, preventing it from appearing on a podium where it will fail agentic tools like Hermes.