Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module provides a framework for evaluating and improving how AI models handle ethical dilemmas with empathetic reasoning. It integrates with Drupal's AI module to benchmark LLM responses, acting as a testing and quality-assurance layer for AI in Drupal by scoring responses on empathy, accuracy, and explanation quality. It also offers tools for analysis, visual benchmarking across different AI providers and models, and optional integrations for guardrails, governance, observability, and content moderation.

AI Empathy Evaluation

The AI Empathy Evaluation module provides a framework for evaluating and improving how AI models handle ethical dilemmas with empathetic reasoning. It integrates with Drupal's AI module to benchmark LLM responses, and acts as a testing and quality-assurance layer for AI in Drupal.

Core evaluation

  • Scores responses to ethical-dilemma scenarios on four research-backed metrics: decision accuracy, empathy alignment, explanation quality, and consistency.
  • Ships with 20 default scenarios across Military, Medical, Emotion-based, Cultural — plus an Organizational category — each with a reference decision and difficulty level (1–5). Create your own through the admin UI or the AI-assisted scenario builder.
  • Send scenarios to any configured AI provider (OpenAI, Anthropic, etc.) via the AI module and receive structured responses analysed for empathetic reasoning.

Analysis & tooling

  • Interactive dashboard (Chart.js): metric gauges, provider/model comparison, category performance, and trends.
  • Multi-provider comparison / benchmarking with rankings, per-scenario tables, historical trends, and CSV export.
  • Training mode with cumulative feedback across a session.
  • Human rating system with inter-rater reliability (Cohen's / Fleiss' kappa), blind comparison, and rating analysis.
  • Scheduled cron-based evaluation with email alerts on threshold breaches and provider-model changes.

Ecosystem integrations (optional submodules)

  • AI Empathy Guardrail — an Empathy Score Check guardrail for the AI guardrails system.
  • AI Empathy Governance — adds Accountability and Trust dimensions (the Trust · Accountability · Empathy triad) with a triad visualization.
  • AI Empathy Observability — exports metrics as OpenTelemetry spans with a Grafana dashboard template.
  • AI Empathy Field Action — a one-click "Check Empathy" button on text fields, plus an optional content-moderation publish gate.
  • Context Control Centre integration — injects brand / organisational context and adds a tone-alignment metric.
  • Domain scenario packs (Finance, Healthcare, HR) with domain-specific scenarios and scoring.

All integrations are backward-compatible and opt-in — enable only what you need.

Research & references

This module is grounded in peer-reviewed research on evaluating empathetic decision-making in AI:

  • Evaluating Empathetic Decision-Making in AI: A Comparative Study of Open-Source Models in High-Stakes Scenarios — International Journal For Multidisciplinary Research (IJFMR), 2025-12-13.
    DOI: 10.36948/ijfmr.2025.v07i06.63345
    (ISSN 2582-2160).
  • Operationalising Empathy in AI Systems for High-Stakes Decision-Making — International Journal of Innovative Science and
    Research Technology (IJISRT), 2026-06-23.
    DOI: 10.38124/ijisrt/26jun931
    (ISSN 2456-2165).
  • Scoring the Score: An Empathy, Trust and Accountability Lens for
    Auditing AI-Assisted Hiring Decisions
    — International Journal of Science and Research (IJSR), 2026-07-08.
    DOI: 10.21275/sr26705230110
    (ISSN 2319-7064).

See also the Drupal AI module documentation, which this module builds on.

Activity

Tracked releases
7
Tracked since
Mar 2026
Latest release
1 week ago
Releases (12 mo)
7 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.2.x-dev Dev Aug 14, 2026
1.2.0 Stable Jul 23, 2026
1.1.0 Stable Jul 12, 2026
1.0.3 Stable Jun 11, 2026
1.0.2 Stable Apr 8, 2026
1.0.1 Stable Apr 6, 2026
1.0.0 Stable Mar 25, 2026