AI & XML / LLM test suite / Results / Test cases / CompareSpecialCharsDita
Test case description
This test checks whether a model correctly compares the content of two texts in DITA despite various special characters in the first document. The key is identifying the sentence’s core and expressing the match solely as 1 or 0.
Source file | CompareSpecialCharsDita.txt |
|---|---|
Series | 1 |
Categories | dita, xml, hyphens |
Evaluation | Deterministic |
Prompt SHA-256 | 87f884ec51b20aaaa48b1ddccec22fe76169af8bb2b42156a11fb01ba9be54f5 |
Deterministic: The answer is checked against an expected result using rules. Evaluation therefore determines whether the required values, patterns or structures appear in the model’s answer.
Expected result
1
Expectation in the catalog | No |
|---|---|
Correct result in the catalog | No |
Prompt
<topic id="compare-special" xmlns="http://dita.oasis-open.org/architecture/2005/">
<title>Dokumentenvergleich mit Sonderzeichen</title>
<section>
<title>Dokument A</title>
<p>Titel: Testtext mit Sonderzeichen</p>
<p>Dies ist ein Satz mit geschützten Leerzeichen: Wort A und Wort B.</p>
<p>Dies ist ein Satz mit schmalen Abständen: Wort C und Wort D.</p>
<p>Alpha Beta.</p>
<p>Soft Hyphens: information, kombinierbar, transparent.</p>
<p>Zeile eins↵ Zeile zwei.</p>
</section>
<section>
<title>Dokument B</title>
<p>Titel: Testtext ohne Sonderzeichen</p>
<p>Dies ist ein Satz mit normalen Leerzeichen: Wort A und Wort B.</p>
<p>Dies ist ein Satz mit einfachen Leerzeichen: Wort C und Wort D.</p>
<p>Alpha Beta.</p>
<p>Soft Hyphens entfernt: information, kombinierbar, transparent.</p>
<p>Zeile eins Zeile zwei.</p>
</section>
<section>
<title>Aufgabe</title>
<p>Vergleiche Satzkern und gib nur 1 oder 0 aus.</p>
</section>
</topic>810 Runs 782 evaluated 62.5 % Score 6.7 % exactly correct
Help on evaluation, score and exact correctness
Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.
Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.
Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.
Model Category Access route