r/LLM • • 1d ago

Can a local model draft release notes without adding more review work? I tested six Git histories

I'd like to move repeatable development chores off hosted models, but I don't want fewer API calls in exchange for more cleanup. Release notes seemed worth examining because the inputs are already in Git and the output has a clear review boundary.

I had six synthetic release histories run through MiniCPM5-2B. I wanted to see what it could draft correctly and what would still need a maintainer‘s attention.

What I thought was worth offloading

Turning a release range into features, fixes, breaking changes, and migration instructions.

That requires more than paraphrasing commit subjects. A refactor can remove a public CLI flag. A feat can rename an internal helper without changing behavior. A feature added and reverted before release shouldn't appear as shipped.

What I didn’t know

Would the model follow the net diff when commit messages suggested something else? Would it explain compatibility impact, rather than just describe changed lines? Would it finish within the configured output budget?

What I ran

Each input contained the commit log, changed-file list, full tag-to-tag diff, and release template. Executable checks verified the before/after CLI behavior. Expected outcomes were fixed before inference.

The setup was MiniCPM5-2B Q4_K_M through Ollama 0.33.2 on an M1 Pro with 32 GiB unified memory. Settings were an 8K context, temperature 1.0, top_p 0.95, min_p 0, and a 4,096-token generation cap, with default thinking behavior.

Each scenario ran independently with seeds 42, 43, and 44. Both the Markdown draft and structured change records were assessed.

ScenarioSeed 42Seed 43Seed 44
Opt-in JSON outputPassedPassedDuplicate Added/Changed entry
CSV escaping fixPassedFix omittedTruncated; no final JSON
File-path-to-directory CLI changePassedPassedTruncated; no final JSON
Default output filename changePassedBreaking impact and migration omittedPassed
Internal helper refactorCorrectly excludedCorrectly excludedCorrectly excluded
Feature added then revertedCorrectly excludedCorrectly excludedCorrectly excluded

"Passed" means the original output met the supplied criteria without substantive correction.

The refactor and revert cases were consistent across all three seeds. That's useful for drafting from Git history, where copying commit subjects would have produced misleading release entries.

The default-path case shows where review still matters.

LayerRecorded behavior
Code changeDefault output changed from report.txt to summary.txt; --output remained available
Seed 43 draft"The default output file changed from report.txt to summary.txt."
Structured outputcategory="Changed", breaking=false, migration=""
Fixture contractThe default output path is a public interface
Required correctionExplain compatibility impact and how to retain the old path or update consumers

The model reads the change correctly. Under this fixture's contract, downstream scripts expecting report.txt need either an explicit --output report.txt or an updated path.

Across all requests, 13/18 original outputs were judged not to need substantive correction. Classification passed 7/12 applicable requests; migration passed 4/6. The two truncated requests stayed in the denominator. Separately AI-corrected final files were not counted as original successes.

The median warm request time was 22.758 seconds across 15 valid requests. That excludes the two truncated runs, so it isn't time for an acceptable result.

My current use would be draft generation followed by a compatibility checklist and approval. These cases support that bounded role, particularly filtering out internal and reverted changes.

These are six original synthetic scenarios repeated three times, not a general coding benchmark.

For this ficture, I treated the default output filename as part of the public CLI contract. Would you classify that as breaking even though the flag still exists? Would you enforce a migration checklist before generation, or check the draft afterward?

2 Upvotes

0 comments sorted by