A/B config
插件管理工具稳定版

A/B config

tool_abconfigBrendan Heywood

  • Moodle 1.9–5.1
  • 更新 2026-03-24

A way to A/B test config, or slowly turn on config for certain audiences or % of traffic.
A way to A/B test config, or slowly turn on config for certain audiences or % of traffic.
Configuration
Visit the Site Administration menu and navigate to Plugins->Admin
Tools->Manage Experiments. This page allows you to add new
experiments, as well as edit existing experiments. To add a new
experiment, fill in the fields, and click ‘Add Experiment’. To edit the
details of an existing experiment, click on the Edit link inside of the
experiments table, to go to the edit page.
Scopes and audiences
The plugin currently has two scopes that experiments can lie under, Request scope and Session scope.
Request scope
Request scope experiments are run on every http request. Any request
scope will treat a new page load as a new experiment call, and so a new
set of conditions will be decided on. This means that behaviour can vary
between loads of Moodle, so be careful when putting changes here that
will affect a user’s experience, as this may lead to an inconsistent
experience for users. This includes each request including ajax calls
within a single html page load.
Session scope

返回插件目录