Стоит прочитать как Anthropic проверяет код, написанный искусственным интеллектом. Claude пишет около 90% кода Claude Code. С июня по сентябрь количество смёрженных PR увеличилось более чем вдвое, а доля PR, изменения из которых впоследствии пришлось откатить, сократилась более чем на 40%. Вот как в Anthropic организован процесс код-ревью: 1. Перед созданием PR: запускаются тесты и сборка проекта, после чего независимый агент проверяет внесённые изменения. 2. При проверке каждого PR: несколько агентов ищут ошибки, а другие проверяют обоснованность их выводов. Дополнительно проводятся проверка безопасности и автоматические проверки в CI. 3. Количество обязательных одобрений зависит от уровня риска: изменения с низким уровнем риска при соблюдении определённых условий могут быть приняты без участия человека. Для изменений со средним уровнем риска требуется одобрение одного проверяющего, а с высоким — двух. 4. Новые функции внедряются постепенно с помощью feature flags. Если возникают проблемы, изменения можно быстро откатить. 5. Предыдущие инциденты становятся основой для ежедневных тестов (evals), результаты которых используются для совершенствования ИИ-агента, проводящего код-ревью. Особенно интересен подход Anthropic к оценке времени, затрачиваемого разработчиками. Компания учитывает не только время, необходимое для проверки кода, но и время, которое приходится тратить на устранение последствий ошибок. Сокращение времени на код-ревью не имеет смысла, если впоследствии разработчикам приходится тратить ещё больше времени на устранение инцидентов в продакшене. https://claude.dev/blog/solving-code-review-at-anthropic/
From the original source:
Telegram — Вайб-кодинг
Read full article at Telegram — Вайб-кодингThis material was compiled from public sources. If its publication affects your rights → Request removal
It's worth reading how Anthropic tests code written by artificial intelligence.
It's worth reading how Anthropic tests code written by artificial intelligence. Claude writes about 90% of Claude Code. From June to September, the number of suppressed PRs more than doubled, and the share of PRs whose changes subsequently had to be rolled back decreased by more than...
AI Summary & Key Takeaways
- It's worth reading how Anthropic tests code written by artificial intelligence
- Claude writes about 90% of Claude Code
- From June to September, the number of suppressed PRs more than doubled, and the share of PRs whose changes subsequently had to be rolled back decreased by more than...
It's worth reading how Anthropic tests code written by artificial intelligence.
Related stories
Anthropic trains agent negotiators
✔️ Anthropic trains agent negotiators Agents are taught to negotiate on behalf of the user, and the company transfers the practices of professional negotiators into models in consultation with law firms. Researchers are interested in the protocols of interaction between agents and...
IS GitHub NO LONGER NEEDED? Claude built the replacement in 5 months
IS GitHub NO LONGER NEEDED? Claude built a replacement in 5 months What to do when AI writes code faster than conventional tools can process it? Anthropic set out to create its own Git replacement, Scion. In the video we analyze: 🟠Why AI agents forced us to reconsider...
Claude discovered a hidden cryptominer while vibe-coding.
Claude discovered a hidden cryptominer while vibe-coding. A Mac user said that while developing a temperature monitoring application, Claude Code discovered a cryptominer that used 12 processor cores. The temperature readings turned out to be suspiciously high...
Astana Hub and Ghent University open a joint laboratory of artificial intelligence and mathematics
Astana Hub and Ghent University open a joint laboratory of artificial intelligence and mathematics Enbekshi QazaQ