Skip to content
intermediatetext

LAILA Trait-Based Arabic Essay Scoring

Score Arabic essays on relevance and six writing traits with radio schemes and display logic. Essays are illustrative and need a native reader's check.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/education/laila-arabic-trait-essay-scoring
potato start config.yaml

About this dataset

Walid Massoud, Houda Bouamor, Abdelrahman Hussein, and Abdullah Zekri describe a methodology for writing annotation guidelines for trait-based Arabic automated essay scoring, which produced the LAILA dataset. The seven traits come from the Core Academic Skills Test rubric. The paper appeared at the 20th Linguistic Annotation Workshop (LAW XX) in 2026.

Relevance (REL) uses a three-point scale, from not relevant to fully relevant. Six further traits, namely ORG, VOC, STY, DEV, MEC, and GRA, use a six-point scale from 0 to 5. When REL is 0, the guideline scores all other traits 0 automatically. The design uses one radio scheme per trait, and display_logic hides the six trait questions when relevance is 0. Annotators score each trait independently, which the guideline asks for to avoid halo effects.

The holistic score is the sum of all traits, so the design does not collect it. Trait descriptions use the short descriptions of the paper's Table 1, not the guidebook's full Arabic level descriptors. The six essays and prompts are illustrative texts written for this design, and a native Arabic reader should check them. The dataset has no license file and the paper says that the dataset is released for research use only, so no LAILA essay is copied.

Traits scored
7 (relevance plus 6 writing traits)
Relevance scale
0 to 2
Writing trait scale
0 to 5
Reported agreement (QWK)
0.66 to 0.75
Sample items in this design
6 illustrative essays

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# Trait-based scoring of Arabic high-school essays
#
# Paper: Massoud, Bouamor, Hussein and Zekri (2026), "Designing Annotation
#   Guidelines for Trait-Based Arabic Automated Essay Scoring: A Systematic
#   Methodology", Proceedings of the 20th Linguistic Annotation Workshop
#   (LAW XX), pp. 146-157. DOI 10.18653/v1/2026.law-main.11
#   https://aclanthology.org/2026.law-main.11/
# Dataset: LAILA, https://gitlab.com/bigirqu/laila (public project, no licence
#   file; the paper says "The dataset is released for research use only").
#   Guidebook: https://gitlab.com/bigirqu/laila/-/raw/main/rubrics/annotation_guidebook.pdf
#
# Protocol (paper Sections 3.2 and 4): seven traits adopted from the Core
# Academic Skills Test rubric. REL (relevance) uses a 3-point scale (0 = not
# relevant, 1 = partially relevant, 2 = fully relevant). Six traits (ORG, VOC,
# STY, DEV, MEC, GRA) use a 6-point scale from 0 (lowest) to 5 (highest). "If
# REL = 0, all other traits are automatically scored 0." Traits are judged
# independently. The holistic score HOL (0-32) is the sum of all traits.
#
# Adaptations:
#  - Essays below are short illustrative Arabic texts written for this design and
#    should be checked by a native reader before publication. LAILA essays are
#    not copied. The prompt wording echoes the paper's example prompt "Staying Up Late".
#  - The guidebook's full per-level Arabic descriptors are not reproduced. Trait
#    descriptions here use the short descriptions of the paper's Table 1.
#  - HOL is not collected, since it is the sum of the other traits.
annotation_task_name: "Trait-based Arabic essay scoring"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
data_files:
  - sample-data.json
item_properties:
  id_key: id
  text_key: essay
instance_display:
  fields:
    - key: prompt
      type: text
      label: "Essay prompt"
    - key: essay
      type: text
      label: "Student essay"
user_config:
  allow_all_users: true
  users: []
annotation_instructions: |
  Score the essay on seven traits, each independently, so that correct spelling does not make up for weak content. Start with relevance. If the essay is not relevant to the prompt (REL = 0), all other traits are scored 0 and are not shown. The six other traits use 0 (lowest) to 5 (highest).
annotation_schemes:
  - annotation_type: radio
    name: rel
    description: "REL: relevance to the Arabic prompt topic"
    horizontal: true
    labels:
      - "0 not relevant"
      - "1 partially relevant"
      - "2 fully relevant"
  - annotation_type: radio
    name: org
    description: "ORG: Structure per Arabic essay conventions (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]
  - annotation_type: radio
    name: voc
    description: "VOC: Arabic lexical range, precision and MSA use (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]
  - annotation_type: radio
    name: sty
    description: "STY: Arabic cohesive devices and discourse patterns (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]
  - annotation_type: radio
    name: dev
    description: "DEV: Idea clarity, evidence and argument quality (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]
  - annotation_type: radio
    name: mec
    description: "MEC: Arabic spelling and punctuation (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]
  - annotation_type: radio
    name: gra
    description: "GRA: Syntactic variety and Arabic grammatical accuracy (0-5)"
    horizontal: true
    labels: ["0", "1", "2", "3", "4", "5"]
    display_logic:
      show_when:
        - schema: rel
          operator: not_equals
          value: ["0 not relevant"]

Sample Data

json
[
  {
    "id": "ar_001",
    "prompt": "السهر لوقت متأخر: اكتب مقالًا تشرح فيه أضرار السهر على الطلاب.",
    "essay": "السهر لوقت متأخر عادة منتشرة بين الطلاب. أولًا، يؤدي السهر إلى التعب في الصباح وضعف التركيز في الدرس. ثانيًا، يقلل من الوقت المخصص للنوم الذي يحتاجه الجسم. لذلك أنصح الطلاب بالنوم مبكرًا حتى ينجحوا في دراستهم."
  },
  {
    "id": "ar_002",
    "prompt": "السهر لوقت متأخر: اكتب مقالًا تشرح فيه أضرار السهر على الطلاب.",
    "essay": "أنا احب كرة القدم كثيرا. لعبت امس مع اصدقائي في الملعب وفزنا بالمباراة."
  }
]

// ... and 4 more items

Dataset & paper

Massoud et al., LAW XX 2026

Paper DOI
10.18653/v1/2026.law-main.11

Citation (BibTeX)

bibtex
@inproceedings{massoud-etal-2026-designing,
    title = "Designing Annotation Guidelines for Trait-Based {A}rabic Automated Essay Scoring: A Systematic Methodology",
    author = "Massoud, Walid  and
      Bouamor, Houda  and
      Hussein, Abdelrahman Abdel Latif  and
      Zekri, Abdullah Mohamed Mohamed",
    editor = "Liu, Yang Janet  and
      Gessler, Luke",
    booktitle = "Proceedings of the 20th Linguistic Annotation Workshop ({LAW} {XX})",
    month = jul,
    year = "2026",
    address = "San Diego, California, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.law-main.11/",
    doi = "10.18653/v1/2026.law-main.11",
    pages = "146--157",
    ISBN = "979-8-89176-404-0"
}

Details

Annotation Types

radio

Domain

EducationArabic NLPAutomated Essay Scoring

Use Cases

Essay ScoringRubric AnnotationConditional Questions

Tags

lailaarabicessay scoringtrait scoringrubriclaw-xx

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)