anthropics / anthropics/claude-code

Model applies its own judgement instead of literally executing a data-transformation prompt

Offen
#93,407 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:model bug platform:windows
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

## 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
ai, devtools
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.