AI & XML / LLM test suite / Results / Test cases / JATS_Literature_RTL_Arabic-Hebrew

Test case description

This test checks whether a model recognizes and structures bibliographic references in right-to-left scripts such as Arabic and Hebrew. It requires a JATS-compliant ref-list preserving original characters and correct numbering.

Source file

JATS_Literature_RTL_Arabic_Hebrew.txt

Series

3

Categories

xml, jats, semantics, multilingual, rtl

Evaluation

LLM judge

Prompt SHA-256

5a2fdaedf1c855de0e673d9fe631069bf94e070b8941b4d12866b5f91c18cbd0

LLM judge: The answer is evaluated with LLM support. A judge model compares the model’s answer with the domain expectation and decides whether its content meets it.

Expected result

[30]الحميديس.2017نماذج المعرفة في الأنظمة الاجتماعية التقنيةدار النشر التخيليةالقاهرة[31]כהןד.2020ידע ומערכות סוציו טכניותכתב עת למחקר תאורטי1137795

Expectation in the catalog

Yes

Correct result in the catalog

Yes

Judge instruction

Check XML structure and the Unicode character sequence in Arabic and Hebrew fields. Judge logical character order, not visual bidirectional rendering.

Must be satisfied

  • The output consists solely of well-formed XML; removable Markdown code fences are allowed, additional prose is not.

  • The root ref-list contains exactly two ref entries in logical order [30], [31], each with label and element-citation.

  • Authors are modeled in person-group person-group-type="author" with surname and given-names: الحميدي / س. and כהן / ד.

  • [30] is a book from 2017 with source نماذج المعرفة في الأنظمة الاجتماعية التقنية, publisher-name دار النشر التخيلية and publisher-loc القاهرة.

  • [31] is a journal article from 2020 with article-title ידע ומערכות סוציו טכניות, source כתב עת למחקר תאורטי, volume 11, issue 3 and pages 77 to 95.

  • Arabic and Hebrew content is preserved completely in its original script, without transliteration or translation.

  • Bibliographic fields belong to the correct reference and publication type.

Error criteria

  • The output is not parseable XML, contains prose or lacks a single ref-list root.

  • A reference is missing, duplicated or mislabeled, or logical order [30], [31] is absent.

  • Arabic or Hebrew text is transliterated, translated, corrupted or mixed with characters from the other reference.

  • Author, year, title, publisher, place, journal, volume, issue or pages are missing or misassigned.

  • element-citation structure or semantic JATS subelements are missing.

Judge note: RTL appearance can vary by renderer. Correct logical Unicode sequences inside XML elements are decisive. Bidirectional control characters are neither required nor automatically erroneous if they do not change content. Whitespace, XML declaration, attribute order and specific unique ref IDs are irrelevant.

Prompt

Du erhältst einen wissenschaftlichen Text.
Der Text enthält Abschnitte in links-nach-rechts und rechts-nach-links geschriebenen Schriftsystemen.
Nicht jeder Abschnitt enthält Literaturangaben.

Aufgabe
Erfasse ausschließlich die vollständigen Literaturangaben.
Ignoriere alle anderen Textbestandteile.
Gib nur die Literaturangaben als JATS XML aus.

Formatvorgaben
Nutze ref-list und ref.
Jede Referenz muss ein label mit der originalen Nummer tragen.
Nutze element-citation.
Nicht-lateinische und RTL-Zeichen müssen unverändert übernommen werden.
Keine Transliteration.

Text
[1] Introduction
This section introduces the topic. No references here.

[2] خلفية
يتناول هذا القسم الأنظمة المعرفية ولا يحتوي على مراجع كاملة.

[3] מבוא
חלק זה מציג רקע תיאורטי ללא מקורות ביבליוגרפיים.

[4] Discussion
Further discussion without citations.

[5] Literatur

[30] الحميدي، س. 2017. نماذج المعرفة في الأنظمة الاجتماعية التقنية. دار النشر التخيلية، القاهرة.

[31] כהן, ד. 2020. ידע ומערכות סוציו טכניות. כתב עת למחקר תאורטי 11, 3, 77–95.

726 Runs 719 evaluated 13.8 % Score 1.4 % 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

x

back to top