Skip to content

Bot: tolerate decorated LABELS lines from smaller models - #20

Merged
BaaRai merged 1 commit into
mainfrom
bot/robust-labels
Oct 10, 2026
Merged

BaaRai merged 1 commit into
mainfrom
bot/robust-labels

Conversation

@BaaRai

@BaaRai BaaRai commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Follow-up to #18. deepseek-flash answered the triage but formatted its LABELS line with markdown (bold marker, backticked names), so the strict parser matched nothing and no labels were applied (observed live on the flash-model test issue: silent run, zero labels). The marker regex now ignores decoration and case, and each name is stripped of markdown characters before the whitelist check. Parsed labels are logged. Pipeline verified against LABELS: bug, P2, question.

deepseek-flash sometimes bolds or backticks the LABELS marker and the
individual names. Accept any decoration around the marker line and
strip markdown characters from each name before the whitelist check.
Also log the parsed label line for easier triage of future misses.
@BaaRai
BaaRai merged commit c567e31 into main Oct 10, 2026
@BaaRai
BaaRai deleted the bot/robust-labels branch October 10, 2026 17:00
murilosoave pushed a commit to murilosoave/ARTEX that referenced this pull request Oct 25, 2026
Bot: tolerate decorated LABELS lines from smaller models
murilosoave pushed a commit to murilosoave/ARTEX that referenced this pull request Oct 25, 2026
deepseek-flash dropped the LABELS instruction twice in live tests
(decorated once, absent once); deepseek-chat followed it exactly on
the first try. The price difference is fractions of a cent per call,
reliability wins. The tolerant parser from BaaRai#20 stays: it is harmless
and protects against any model formatting quirks.
murilosoave pushed a commit to murilosoave/ARTEX that referenced this pull request Oct 25, 2026
The reworded instruction from BaaRai#20 ("plain text with no markdown
formatting, characters, or emphasis") made models stop emitting the
LABELS line entirely; the original quoted phrasing had 100 percent
compliance. Tolerant parser and debug logging stay.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant