Report Dashboard

This project is not covered by Drupal’s security advisory policy.

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

Supporting organizations: 
Idea and Development

Project information

Releases