anthropics / anthropics/claude-code
Model applies its own judgement instead of literally executing a data-transformation prompt
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
## What happened
I asked Claude Code to generate a WooCommerce product CSV and a rules JSON from two source text files (a GloriaFood menu dump and an add-ons dump), following a given JSON template. The model kept swapping in its own judgement instead of doing the transformation literally:
- It changed option prices from the source to other values it thought were right.
- It added features nobody asked for, like wizard steps and delivery-only visibility rules.
- It made up min/required values that aren't in the source.
- It spent many turns probing the live site's REST API instead of producing the files.
- After I corrected it, it misunderstood the correction and rewrote the output files again without being asked.
## Expected
A literal, fast A-to-B transformation of the source into the template. Where something is missing from the source, one line flagging it. No extra "improvements" and no side investigations.
## Repro
Give Claude Code a source data file plus a target template and ask for a literal conversion. It adds its own decisions, reports them as "decisions taken", and burns time on unrequested exploration.
## Environment
Claude Code on Windows 11, model Opus 5 (1M context), background session.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the behavior in Claude Code with a source data file and target JSON template, then compare the generated WooCommerce CSV and rules JSON with the requested transformation. Done means source values and template structure are followed literally, missing inputs are flagged in one line, and no unrequested API exploration or output rewrites occur.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- ai, devtools
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100