ルールリファレンス · 一貫性

矛盾する指示

  • contradictory_instructions
  • この例では警告
  • 一貫性
  • 段階 · 制約の分析

検出される条件: 形式、長さ、語数制限、ツール、言語の衝突。

衝突は、時間をかけて編集されたプロンプトで起こりがちです。「JSON で返す」を追加したのに「回答を Markdown で整形する」を消し忘れる、といった具合です。モデルは実行のたびに違う解決をします。

指示を 1 つに絞るか、どちらが優先されるかをいつ・どこで、と書きましょう(「JSON で返す。Markdown は summary フィールドの中でのみ使う」)。

例のプロンプトと、エンジンによるメッセージ・解説・修正案は、エンジンが返すとおり英語で表示されます。

検出される例

Extract the action items from the meeting notes below. Return JSON with the keys owner and task. Present the final answer in Markdown.

<notes>
{{notes}}
</notes>

警告 Conflicting instructions: output as JSON and Markdown.

なぜ重要か。 When two instructions conflict, the model picks one unpredictably, so outputs vary between runs.

修正方法。 Keep one of the two instructions, or say which one wins and when.

品質 90/100 · 35 トークン · 検出結果 1 件

修正版

Extract the action items from the meeting notes below. Return JSON with the keys owner and task.

<notes>
{{notes}}
</notes>

品質 100/100(+10)· 28 トークン · 検出結果 0 件

修正で解消されたもの

  • contradictory_instructions: Conflicting instructions: output as JSON and Markdown.

このページのスコア、トークン数(GPT-4.1 トークナイザー)、検出結果は、サイトのビルド時にエンジンが計算したものです。

スコアへの影響

検出結果ごとに 100 から固定のペナルティを引きます。重大 30、警告 10、情報 3。このルールは一貫性の評価軸に計上されます。計算式の全体はスコアリングモデルを参照してください。

全 20 ルール →