AIコーディングの「存在しないnpm/PyPIを提案する問題」、まだ残ってます。
海外論文では約199,845件のプロンプトで再検証。
Claude系を含む最新モデルでも、架空パッケージ率は4.62〜6.10%。さらに全モデルが同じ127個の存在しない名前を出す例も。
Claude Codeで新規依存を入れる時は、
① `npm info パッケージ名`
② `pip index versions パッケージ名`
③ READMEと更新日を見る
この3点だけは自動化前に挟みたい。出典: arXiv論文。
えっ、Codexの暴走は「触っていいファイル3行」でかなり減らせる。
長文で注意するより、最初に作業境界を渡す。AIは自由度が広いほど、近い改善まで拾いに行く。
今日のコピペ:
① `git status --short`
② `rg -n "対象関数|画面名" src`
③ `git diff --stat`
その後に「変更可/禁止/確認コマンド」を1行ずつ足す。
自分のリポジトリなら、最初に何を“触らせない”設定にしますか?
速報:Codexは「質問AI」より、30分仕事を渡す道具に寄ってきた。
Axios報道によると、OpenAI等の新レポートで、個人Codex利用者サンプルの80.6%が「経験者30分超」相当の依頼を少なくとも1回投げていた。
日本の開発者なら使い方はこれ。
① `rg "TODO|FIXME|deprecated" -n .`
② 失敗テスト1本を指定
③ Codexに「最小差分で直し、実行ログを出して」
次に投げるタスク、30分単位で切れていますか?
Carnival Cruise, with yet another fight breaking out in your boarding line today, it’s time to ask the hard questions. @CarnivalCruise
Is this level of chaos truly worth the brand damage and passenger safety risks?
Do you offer hazard pay to employees who must manage these volatile situations?
Do you recognize that you’re becoming the laughingstock of the cruise industry?
What is your concrete plan to resolve this ongoing crisis?
Passengers and crew deserve far better.