From ace6cbb31071857386a2c6e4a4178e8a05cedde3 Mon Sep 17 00:00:00 2001 From: pisakov Date: Sat, 18 Jul 2026 14:18:06 +0200 Subject: [PATCH] =?UTF-8?q?test:=20=D1=81=D0=BC=D0=BE=D1=83=D0=BA-=D1=84?= =?UTF-8?q?=D0=B0=D0=B9=D0=BB=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=BA=D0=B8=20=D0=BF=D0=B0=D0=B9=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D0=B9=D0=BD=D0=B0=20AI-=D1=80=D0=B5=D0=B2=D1=8C=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Временный examples/smoke_review.py, чтобы убедиться, что self-hosted runner подхватывает ai-review.yml и постит ревью. Удалить после проверки. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01WPCiJi7DVBdV2fjN2x3HMd --- examples/smoke_review.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/smoke_review.py diff --git a/examples/smoke_review.py b/examples/smoke_review.py new file mode 100644 index 0000000..f75f9d9 --- /dev/null +++ b/examples/smoke_review.py @@ -0,0 +1,15 @@ +"""Смоук-тест AI-ревью пайплайна. + +Этот файл существует только для проверки, что GitHub Action `ai-review` +подхватывает PR, гоняет RAG+LLM и постит ревью комментарием. Можно удалить +после проверки. +""" + + +def add(a, b): + return a + b + + +def divide(a, b): + # намеренно без проверки b == 0 — чтобы у AI-ревью было что заметить + return a / b