Install
Works with Drupal: ^10.3 | ^11Using 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.rlSortingkey all renamed fromai_sorting. - One-shot auto-migration — installing
rl_sortingon a site withai_sortingdata renames experiment IDs inrl_experiment_registry,rl_experiment_totals,rl_arm_data, andrl_arm_snapshots; swaps the Views sort plugin id via the entity API (so view dependencies recalculate); and uninstalls the legacyai_sortingmodule. - "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>.