Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions examples/smoke_review.py
Original file line number Diff line number Diff line change
@@ -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
Loading