Install

Works with Drupal: ^10.3 | ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 20.91 KB
MD5: 8c72649f2397761ab73f4d23aea87c12
SHA-1: 801801c28d61dde92ebc85182fea7ecd5cdd8319
SHA-256: efda0e6780f2e3ea82045cfff77de8293a91f9bfafd9833eb09819502dbcc8af
Download zip 28.97 KB
MD5: b7ea5aca979d73729c58e4a0ffdf6fb2
SHA-1: d08e0d31930394087eb0eccb4a248bf3f9e6a156
SHA-256: 59cdd4f3241cd92c4cd92cd1d0e558c03dec7ae1ea2a80204a9c5e417959ac05

Release notes

ai_sorting is now rl_sorting. Sites with ai_sorting installed migrate automatically when you enable rl_sorting — experiment history, Views config, and the legacy module are all handled in hook_install.

What's new in 1.0.0-beta1

  • Project rename — module, namespace, services, plugin id, JS library, and the drupalSettings.rlSorting key all renamed from ai_sorting.
  • One-shot auto-migration — installing rl_sorting on a site with ai_sorting data renames experiment IDs in rl_experiment_registry, rl_experiment_totals, rl_arm_data, and rl_arm_snapshots; swaps the Views sort plugin id via the entity API (so view dependencies recalculate); and uninstalls the legacy ai_sorting module.
  • "AI" branding dropped — descriptions, comments, and admin messages now use "RL" / "reinforcement learning".

Migrating from ai_sorting

composer require drupal/rl_sorting
drush en rl_sorting -y
drush cr

That's it — your existing experiments, arms, and snapshots come along. The Views sort plugin annotation is now @ViewsSort("rl_sorting") and the runtime contract uses drupalSettings.rlSorting.views.<viewKey>.

Full ai_sorting release history →

Created by: jurriaanroelofs
Created on: 29 Apr 2026 at 11:17 UTC
Last updated: 29 Apr 2026 at 11:22 UTC

Other releases