Engineering work

BiElig pilot

Are language-model eligibility decisions as reliable in Arabic as in English?

Status
In development
Type
Research harness
Active
Nov 2026 to 29 Nov 2026
Area
Research

What it is

A test harness for a PhD pilot: the same applicant file in Arabic and in English, run through language models against executable eligibility rules, to measure whether the error rate depends on the language of the file.

Vision
AI screening of applicants that is equally reliable whatever language the file is in.My reading of the project's purpose, not a quoted statement
Mission
Measure whether LLM eligibility decisions are equally reliable for the Arabic and the English version of the same applicant file.From the project's own documents

My role

Sole author: research design, rules, generator, pipelines and metrics.

Owner: Personal (PhD pilot).

The problem, and the answer

In bilingual admissions screening the error rate may differ by language, which the README treats as a fairness question under the EU AI Act (Annex III 3(a)).

Executable rules produce the correct answer for every case; parallel Arabic and English files are generated; two pipelines and a set of reliability metrics compare the languages.

For: Researchers; Teams evaluating AI screening.

What is built, and how proven

  • Executable eligibility rulesBuiltRules R1 to R4 produce the gold labels.
  • Parallel case generatorBuilt60 case files in English and Arabic, with Eastern Arabic numerals and the Arabic decimal separator.
  • Two pipelinesBuiltEnd to end, and decomposed (the model extracts facts, the rules decide), plus a self-consistency mode.
  • Reliability metricsBuiltAccuracy, macro-F1, calibration (ECE, Brier), AURC, deferral errors, evidence F1 and the English to Arabic gap with bootstrap confidence intervals.
  • Model resultsPlannedNone reported yet.

How it is built

A Python package: rules, case generator, two pipelines, model adapters and metrics, with a report step.

  1. Cases
    • Rules R1 to R4
    • 60 parallel EN/AR files
  2. Pipelines
    • End to end
    • Decomposed: facts, then rules
    • Self-consistency (k=5)
  3. Models
    • OpenAI-compatible
    • Ollama
    • Anthropic
  4. Metrics
    • Accuracy, F1
    • Calibration
    • Language gap

Stack: Python, pytest.

Where AI comes in

Language models are what is being tested; executable rules decide the correct answers.

The hard part, the decision, the lesson

The rules stay in English so that only the language of the file varies, and simulated runs are watermarked as not a model result.

Where it stands

In development Harness complete and tested; no model results reported yet.

The harness is complete; model runs are next.

  • 20 automated tests.

Known limits: Synthetic case files only. No model results yet.

  1. Harness committed

Sources and links

There is no public link: this project is private, local or not deployed.

Compiled from: Repository README; Data card; Tests. Confidence in this record: high, checked against code, deployments or audit evidence.

Ubaida DibFull-Stack Software Engineer

Hiring a full-stack engineer? Let's talk.

If you're hiring a full-stack engineer, I'd like to hear about the product and the team. Email reaches me fastest.

Open to full-stack roles in Germany. No visa sponsorship needed.