Стоит прочитать как 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/
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
Paragon: weekly digest
Paragon: weekly digest Our analyzes and materials: 🟠5 reasons that prevent you from making money with AI 🟠ElevenLabs: what is available for free, except for voice acting 🟠$300 for a YouTube cover: start plan in 5 days 🟠Poe: collecting your own AI from Claude, GPT and Gemini 🟠11 AI services where...
neural networks told what they really think about humanity. And the answers turned out to be quite grim.
12 neural networks told what they really think about humanity. And the answers turned out to be quite grim. In an unusual experiment, 12 leading AI models were asked the same question three times: what is the most unpleasant truth about people? In 29 out of 35 answers, the neural networks came to a similar...
The hottest AI wearables and gadgets you should know about
We compiled a list of all the hottest AI wearables, including Muse Charm, Bee, Friend, Plaud, and more.
Walmart will allow AI agents to make purchases on their own while Amazon blocks them
Walmart will allow AI agents to make purchases on their own while Amazon blocks them The American retail chain Walmart has introduced Agent Gateway, a new system that will allow AI agents to select products and make purchases on behalf of users. Unlike the competitor...
