ルールリファレンス · 網羅性

不明確な参照

  • unclear_reference
  • この例では情報
  • 網羅性
  • 段階 · 不足コンテキストの検出

検出される条件: 参照先が含まれていない「これ」や「上記」。

チャットではモデルが以前のメッセージを見られることもありますが、API 呼び出し、テンプレート、エージェントのステップでは、このプロンプトしか見えません。「これが何をするか説明して」では指し示すものがありません。

素材を区切りのあるブロック(コードフェンスやタグ)に貼り付けるか、ツールが取得する場合は正確に名前(ファイルパス、関数名)で指定しましょう。

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

検出される例

Fix this and explain what was wrong.

情報 The prompt refers to something ("this", "the above", "the file") that is not included.

なぜ重要か。 The model cannot see what the reference points to, so it will answer generically or invent it.

修正方法。 Paste the material in a delimited block, or name the file, function, or snippet.

品質 97/100 · 8 トークン · 検出結果 1 件

修正版

Fix the function below so it handles an empty list, and explain what was wrong. Answer in 3 bullet points.

```python
def mean(xs):
    return sum(xs) / len(xs)
```

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

修正で解消されたもの

  • unclear_reference: The prompt refers to something ("this", "the above", "the file") that is not included.

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

スコアへの影響

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

  • 目的の欠落: タスクを示すキーワード、命令文、質問がない。

同じパイプライン段階で確認されるもの

全 20 ルール →