# pratikgx/local-ai-field-notes — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `media`
- Overall score: `3.3/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `2616662b5344` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-12-02T11:15:53Z
- Repository: https://github.com/pratikgx/local-ai-field-notes
- Radar entry: https://radar.alplab.co/#repo/pratikgx/local-ai-field-notes
- License: `NOASSERTION`
- CI workflows: `.github/workflows`
- Tags: `local-ai`, `apple-silicon`, `mlx`, `benchmarks`, `hugging-face`

## Summary

A personal local-AI reference of Apple-silicon benchmark notes, model measurements, builder lists, a Mac benchmark utility, and Hugging Face inventory sync.

## Implementation Check

README.md's notes, model log, people data, benchmark command, and nightly Hugging Face sync are implemented in the tracked Markdown/CSV files and scripts/bench.py and scripts/hf_sync.py.

## When to Use

Use as a practical, source-linked reference for running open-weight models on Apple silicon and for a simple comparative Mac benchmark. Do not treat its single-machine results as general benchmarks.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 3.5/5 |
| usability | 4.0/5 |
| reliability | 2.5/5 |
| security | 3.5/5 |
| integration | 3.0/5 |

## Code Evidence

- README.md documents the repository's notes, model log, people list, glossary, benchmark workflow, and Hugging Face inventory.
- scripts/bench.py `main` selects MLX models by RAM, runs a fixed 256-token prompt, and writes JSON, models.md, and a dated note.
- notes/2026-11-30-mistral-clipstral-multimodal-embed.md records setup, method, raw caveats, retrieval limits, and linked dataset.
- scripts/hf_sync.py `main` fetches public Hugging Face inventories, preserves notes, pins revisions, and regenerates huggingface.md.
- data/people.csv contains structured builder records matching the people-list purpose described in README.md.

## Issues Found

- scripts/bench.sh installs and upgrades pip and mlx-lm without version pins, making benchmark environments non-reproducible.

## Key Risks

- scripts/bench.sh supports only Darwin arm64 and downloads current mlx-lm rather than a pinned version.
- Benchmark figures in models.md and notes are author-run observations, largely from one 64 GB M5 Pro Mac mini.
- No automated tests are supplied in the maturity signals, and CI actions are not fully pinned.
- LICENSE applies CC BY 4.0 to notes and lists; the repository's software licensing is not separately stated.

## Reviewed Files

- `README.md`
- `.github/workflows/hf-sync.yml`
- `notes/2026-11-30-mistral-clipstral-multimodal-embed.md`
- `models.md`
- `huggingface.md`
- `CONTRIBUTING.md`
- `LICENSE`
- `glossary.md`
- `scripts/bench.sh`
- `scripts/bench.py`
- `scripts/hf_sync.py`
- `data/people.csv`
