]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport
authorWilly Tarreau <w@1wt.eu>
Mon, 18 Dec 2023 19:41:41 +0000 (20:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 18 Dec 2023 19:50:51 +0000 (20:50 +0100)
commit693da29ab71d28346bb1a16e4dacc2bf3add3081
tree8b03c4137365d8882c4799725f840ba7b4075731
parent57c5ae10f6507a829292a762d4d2053563e768d4
DEV: patchbot: add the AI-based bot to pre-select candidate patches to backport

This is a set of scripts, prompts and howtos to have an LLM read commit
messages and determine with great accuracy whether the patch's author
intended for the patch to be backported ASAP, backported after some time,
not backported, or unknown state. It provides all this in an interactive
interface making it easy to adjust choices and proceed with what was
selected. This has been improving over the last 9 months, as helped to
spot patches for a handful of backport sessions, and was only limited by
usability issues (UI). Now that these issues are solved, let's commit the
tool in its current working state. It currently runs every hour in a
crontab for me and started to prove useful since the last update, so it
should be considered in a usable state now, especially since this latest
update reaches close to 100% accuracy compared to a human choice, so it
saves precious development time and may allow stable releases to be
emitted more regularly.

There's detailed readme, please read it before complaining about the
ugliness of the UI :-)
13 files changed:
dev/patchbot/README [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-airo14-pfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-alpaca-pfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-alpaca-sfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-chatml-pfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-chatml-sfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt14-2.9-mist7b-sfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt15-3.0-mist7bv2-pfx.txt [new file with mode: 0644]
dev/patchbot/prompts/prompt15-3.0-mist7bv2-sfx.txt [new file with mode: 0644]
dev/patchbot/scripts/post-ai.sh [new file with mode: 0755]
dev/patchbot/scripts/process-patch-v15.sh [new file with mode: 0755]
dev/patchbot/scripts/submit-ai.sh [new file with mode: 0755]
dev/patchbot/scripts/update-3.0.sh [new file with mode: 0755]