The post has been translated automatically. Original language: Russian
In Eddie Osmani's example, the developer opens the change on six hundred lines. The names of the variables are clear, the code is neat, and all the tests have passed. The hand pulls to click "Approve". Meanwhile, somewhere in the middle, the agent reversed the order of the two operations. To notice this, you need to remember in what order they should occur and who will suffer if they are rearranged. The green check mark doesn't say anything about it. Eddie Osmani's column
Osmani is working on tools for programmers. He writes about a change he noticed in himself. Previously, while he was looking for an answer, he had time to have his own guess. Now, an agent's ready-made explanation often appears before the guess. And the more convincing it sounds, the harder it is to remember which other explanations were worth checking. Osmani's essay on the habit of trusting the answer
What the green checkmark has checked
Let's take a familiar example. The customer paid for the order with a weak Internet connection. The money was debited, but the payment screen did not receive a response. The customer pressed the button again. How many write-offs should be included in the statement? The response can be written in one phrase even before the agent opens the code. This gives the team an independent way to find out if the task has been solved.
Let's say an agent has added a test. In it, the buyer clicks the button once, and the bank confirms one debit. The test runs every time it is run. A developer who keeps the buyer's statement in mind will immediately notice the pass. He will ask you to replay the loss of response and the repeated tap, and then open the result and recalculate the charges. For someone who starts with the "all checks passed" report, it's easy not to reach the second click at all.
For Osmani, this habit extends beyond the code. If the agent has compiled fifty interviews into one page, it's worth opening a couple of original conversations. Especially the one that holds the decision on the next function. There are two completely different product ideas between "we had to do this once" and "we do this every Friday."
What the developer has learned
In an experiment by Judy Shen and Alex Tamkin, 52 developers mastered a Python library they were unfamiliar with. Randomly, some were given access to an AI assistant, while others were offered to work independently. Then both groups answered questions without AI. The first one had an average score of about half of the possible points, while the second one had about two thirds. The researchers did not find a convincing gain in time when completing the task. The test was performed shortly after the exercise. It cannot be used to judge what the participants remembered after a month. A study by Shen and Tamkin
Fragment of Figure 1. On the left is the working time in minutes, on the right is the result of a knowledge test. The blue color indicates the group with AI. Original, p. 2

An interesting detail was found in the recordings of the screens. Some participants asked to write the code, and then asked the assistant why he was like that. Others instructed him to write a program and sort out all the errors that occurred. The first ones in this small sample answered the questions better. The participants chose their own work style, so the authors are careful with their conclusions. But the records show how different the work of two people can be, each of whom was "helped by AI." How the researchers analyzed the records
Osmani suggests doing one operation yourself once a week, which I would like to still be able to do. For the engineer on duty, this may be analyzing the failure according to the event log. This is how he notices which details he is already used to entrusting to the assistant and what knowledge he will need when the service stops. When the cost of a mistake is low, Osmani calmly gives the choice to the agent. If the consequences go to the buyer or the engineer on duty, the time for verification should be included in the task itself. Then, before the release, you can open its first line, repeat two clicks and show a colleague one debit. The green checkmark will finally have a meaning that you can explain yourself.
В примере Эдди Османи разработчик открывает изменение на шестьсот строк. Имена переменных понятные, код аккуратный, все тесты прошли. Руку тянет нажать «Одобрить». Между тем где-то посередине агент поменял порядок двух операций. Чтобы заметить это, нужно помнить, в каком порядке они должны происходить и кто пострадает, если их переставить. Зелёная галочка об этом ничего не говорит. Колонка Эдди Османи
Османи работает над инструментами для программистов. Он пишет о перемене, которую заметил у себя. Раньше, пока он искал ответ, у него успевала появиться собственная догадка. Теперь раньше догадки нередко появляется готовое объяснение агента. И чем убедительнее оно звучит, тем труднее вспомнить, какие ещё объяснения стоило проверить. Эссе Османи о привычке доверять ответу
Что проверила зелёная галочка
Возьмём знакомый пример. Покупатель оплатил заказ со слабым интернетом. Деньги списались, но экран оплаты так и не дождался ответа. Покупатель нажал кнопку ещё раз. Сколько списаний должно оказаться в выписке? Ответ можно записать одной фразой ещё до того, как агент откроет код. Так у команды появляется независимый способ узнать, решена ли задача.
Допустим, агент добавил тест. В нём покупатель нажимает кнопку один раз, и банк подтверждает одно списание. Тест проходит при каждом запуске. Разработчик, который держит в голове выписку покупателя, сразу заметит пропуск. Он попросит воспроизвести потерю ответа и повторное нажатие, а потом откроет результат и пересчитает списания. Тому, кто начинает с отчёта «все проверки прошли», до второго нажатия легко вообще не дойти.
У Османи эта привычка распространяется дальше кода. Если агент свёл пятьдесят интервью в одну страницу, стоит открыть пару исходных разговоров. Особенно тот, на котором держится решение о следующей функции. Между «нам пришлось это сделать один раз» и «мы делаем это каждую пятницу» умещаются две совершенно разные продуктовые идеи.
Чему успел научиться разработчик
В эксперименте Джуди Шэнь и Алекса Тамкина 52 разработчика осваивали незнакомую им библиотеку Python. Случайным образом одним дали доступ к ИИ-помощнику, другим предложили работать самостоятельно. Затем обе группы отвечали на вопросы без ИИ. У первой средний результат составил около половины возможных баллов, у второй — примерно две трети. Убедительного выигрыша во времени при выполнении задания исследователи не обнаружили. Проверку проводили вскоре после упражнения. По ней нельзя судить, что участники запомнили через месяц. Исследование Шэнь и Тамкина
Фрагмент рисунка 1. Слева — время работы в минутах, справа — результат проверки знаний. Синим обозначена группа с ИИ. Оригинал, с. 2

Интересная деталь обнаружилась в записях экранов. Некоторые участники просили написать код, а затем расспрашивали помощника, почему тот так устроен. Другие поручали ему и написать программу, и разобраться во всех возникавших ошибках. Первые в этой небольшой выборке лучше отвечали на вопросы. Стиль работы участники выбирали сами, поэтому авторы осторожны с выводами. Зато по записям видно, насколько разной может быть работа двух людей, каждому из которых «помогал ИИ». Как исследователи разбирали записи
Османи предлагает раз в неделю самому проделывать одну операцию, которую хотелось бы по-прежнему уметь делать. Для дежурного инженера это может быть разбор сбоя по журналу событий. Так он замечает, какие детали уже привык поручать помощнику и какие знания ему понадобятся, когда сервис остановится. Когда цена ошибки мала, Османи спокойно отдаёт выбор агенту. Если последствия достанутся покупателю или дежурному инженеру, время на проверку стоит заложить в саму задачу. Тогда перед выпуском можно открыть её первую строчку, повторить два нажатия и показать коллеге одно списание. У зелёной галочки наконец появится смысл, который вы сможете объяснить сами.
Comments 0
Newest Popular