Urgent.News

What's breaking now, across thousands of outlets.

Tech

Set an Eighty-Point Gate Before an OSS Model Review

An OSS contribution should clear a local score before model review. The score freezes reproduction, patch scope, tests, and rollback. A model may comment later, but it must not set the bar. This note gives a proposed gate for ordinary bug-fix pull requests. The checker below is a template, not a recorded benchmark. No runtime metric in this draft comes from a live maintainer host. The failure…

Before an OSS model review, a contribution must meet a gate set at eighty points. The gate freezes reproduction, patch scope, tests, and rollback before any model comment. The scorecard resides in a single directory next to the clone. Five notes carry fixed weights totaling one hundred. A missing note scores zero for that weight.

The repro note holds the failing command and observed result. The patch note contains the candidate change. Tests note lists the failing and passing commands. Scope note holds git diff stat output and an allowlist of paths. Rollback note records the branch name and drop command. Weights are twenty, forty, twenty, ten, and ten. Forty points focus on the diff for scope creep.

Twenty points cover reproduction due to hearsay. The remaining forty points encompass tests, scope, and rollback. To freeze reproduction, create a clean directory, shallow clone, and branch named with the issue ID and "repro." Replace the placeholder clone URL with the target repository. Run the smallest command showing the bug, storing the command, exit code, and key lines.

Commit any needed fixtures on the throwaway branch. The patch should stay within the paths listed in scope.txt. Extra refactors go to a separate pull request. The contributor writes scope.txt from git diff stat, appending an allowlist of paths. The full diff is saved as patch.diff. The test evidence includes failing and passing commands, both using the same script name.

Rollback note explains how to abandon the branch, including the branch name and any added files. The local checker examines presence, weight, and length of the notes, but does not execute project tests. A passing score allows a later request for model feedback.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Postcards from Outside

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass What I Built Postcards from Outside is a fall scavenger hunt for getting outside together, built for a walk with…

Keep Health Probes Off the Model on a Free Host

A free host probes and restarts. The health route has to answer from local memory, with no model call and no disk state. That split is what lets a solo founder ship one route today and keep the bill…

More from Sunday 11 October →