Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

RAIL Score

No security coverage Drupal 9–11
View on drupal.org

This module integrates a responsible AI scoring system into Drupal. It automatically evaluates content against eight dimensions of responsible AI on save, providing compliance checks, incident tracking, and a human review queue. It can also score AI-generated content when used with the Drupal AI module and offers options to display scores on content fields.

RAIL Score for Drupal integrates the RAIL Score API into Drupal 9, 10, and 11, giving you a production-ready evaluation layer for responsible AI content governance. Content is automatically scored across 8 RAIL dimensions on save, with configurable thresholds, compliance checks, incident tracking, and a built-in human review queue from the start.

The RAIL framework is detailed in
"RAIL in the Wild", which maps real-world responsible AI values to measurable, auditable dimensions.

The 8 RAIL Dimensions

  • Safety : prevention of harmful, toxic, or dangerous content
  • Privacy : protection of personal information and sensitive data
  • Fairness : equitable treatment across groups, no bias or discriminatory framing
  • Transparency : honest representation of reasoning, limitations, and uncertainty
  • Reliability : factual accuracy, internal consistency, appropriate calibration
  • Accountability : traceable decisions and auditable reasoning
  • Inclusivity : accessible, welcoming language for diverse users
  • User Impact : positive value delivered relative to the user's actual need

Evaluation Modes

  • Basic : fast, cost-efficient scoring on every save
  • Deep : per-dimension explanations, issue tags, and improvement suggestions

Evaluation Context

  • Domain : general, healthcare, finance, legal, education, code
  • Use case : general, chatbot, content generation, summarization, translation, code generation

Regulatory Compliance

Run compliance checks alongside every evaluation against one or more frameworks:

  • GDPR
  • CCPA
  • HIPAA
  • EU AI Act
  • India DPDP
  • India AI Governance

Telemetry and Incident Tracking

  • Every API request is logged with timing, score, cache status, and per-dimension breakdown
  • Score breaches and compliance violations automatically raise incidents with unique IDs and severity
    levels
  • Dashboard shows total requests, error rate, average duration, cache hit rate, and score distribution
  • All metrics are filterable by date range

Human Review Queue

Dimensions scoring below a configurable threshold are automatically queued for human review. The dashboard surfaces the full queue with inline Mark Reviewed and Dismiss actions

Dashboard

A single admin page at /admin/reports/rail-score provides:

  • API account usage statistics
  • Local evaluation counts, averages, and below-threshold totals
  • Recent evaluations with pass/review status
  • API telemetry with score distribution bands
  • Open incidents with inline Acknowledge and Resolve actions
  • Pending review queue with inline Mark Reviewed and Dismiss actions

Drupal AI Module Integration

When the Drupal AI module is installed and enabled in settings, two integration points become available:

  • Automatic response scoring : every response from any registered AI provider (OpenAI,
    Anthropic, Gemini, and others) is scored automatically via event subscriber
  • AI Automators plugin : scores generated field values before they are written, with an optional block-on-low-score setting

The integration is fully optional and has zero overhead when the AI module is absent.

Field Formatter

Display stored RAIL scores on any decimal, float, or integer field in four modes: badge, progress bar, text, or full widget with per-dimension breakdown.

Requirements

Depends on

Dependencies of the latest stable release

  • field Drupal core
  • node Drupal core
  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Nov 2025
Latest release
5 months ago
Releases (12 mo)
6 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.4 Stable 9–11 Mar 21, 2026
1.0.x-dev Dev 9–11 Mar 18, 2026
1.0.3 Stable 9–11 Nov 18, 2025
1.0.2 Stable 9–11 Nov 6, 2025
1.0.1 Stable 9–11 Nov 6, 2025
1.0.0 Stable 9–11 Nov 4, 2025