KARMAZIN.MEDIA · Поиск в каталоге / Catalogue search
Node.js 22+ · Без зависимостей / No package installation required

RU. Распакуйте проект и откройте терминал в папке с check.test.mjs.
Запустите node --test check.test.mjs. Исходная версия намеренно ошибочна: 5 из 12.
Поручите агенту исправить только search.mjs, сохранив export, и повторите команду.
case.txt содержит точный запрос редакции (без export; он добавлен в модули).
Чтобы проверить записанное решение, скопируйте любой файл из answers/ на место
search.mjs в отдельной копии этого упражнения. Каждый ответ прошёл 12 проверок.
Метки и числа в TAP-файлах редакции не нужны для запуска.

EN. Extract the archive and open a terminal in the directory containing check.test.mjs.
Run node --test check.test.mjs. The intentionally broken starter passes 5 of 12 tests.
Have your agent change only search.mjs, retaining its export, then run the command again.
case.txt is the exact prompt we used (the export keyword was added to each returned module).
To reproduce a recorded result, replace search.mjs in a practice copy with either module
from answers/ and rerun the suite. Both first responses passed all twelve checks.
