Random selection with Decidim sortitions

The Decidim sortitions component draws proposals, jury candidates or other selections at random in a reproducible way. This page covers what to configure, how to run and witness the draw, and how to document it.

On this page

Why a public body runs random selection with Decidim sortitions

A public body that must pick proposals, jury members or candidates by chance needs a method that people can trust and that someone can check afterwards. Picking names out of a hat in a meeting room may feel fair, but it leaves little record of how the draw was run, who saw it and whether it could be repeated. Teams that run participatory processes on Decidim often turn to the sortitions component for this job. According to the Decidim documentation, the component selects a number of proposals using random yet reproducible procedures, and it can be used for cases such as jury candidates or participatory budgeting proposals. This page explains how to set it up, run it and document it so the result stands up to public scrutiny.

The Decidim docs describe a draw that needs two things beyond the software: a dice, or another way to generate a number from 1 to 6, and witnesses. The dice step matters because the outcome depends on a physical or otherwise observable source of randomness that the room can see, not only on a setting in the admin panel. Before any draw, the team should decide who the witnesses are, how they will confirm the number they saw, and where the record of the draw will be published. Those decisions shape the component configuration, so they belong in the plan before the component is created.

The main risk is treating the sortitions component as a finished answer for fairness. It supports a reproducible procedure, but the legitimacy of the outcome still rests on the rules your organization sets and on the witnesses who observe the draw. Confirm with your legal or governance team which selection rules apply to your process, and check the current component documentation for the exact steps and options in your Decidim version, since the admin interface can change between releases. A draw that is well planned, witnessed and written up is far easier to defend than one that is simply run.

What the Decidim sortitions component does

The sortitions component is a single, narrow tool: it draws a set number of items from a pool in a way that can be repeated and checked later. The cards below cover what it selects, how the draw is generated, who should watch it, and where it is typically used, so you can decide whether it fits your procedure before you configure anything.

Selects a set number of proposals

The component chooses a number of proposals from a pool through a random yet reproducible procedure. The number you select is the count of winners, so it should match the seats, budget slots or candidate places your procedure allows. Decide the count before the draw starts and record it in the procedure notes. Confirm in the admin docs how the pool is defined and whether the draw can be run more than once for the same pool.

Sortitions docs

Reproducible draw method

The draw is reproducible, which means the same inputs and the same recorded numbers produce the same result. This matters when a participant, auditor or council member asks how a winner was chosen. The random values come from a dice roll or another method that yields numbers from 1 to 6, so the source of randomness is visible to people in the room. Check the documentation for how the seed or sequence is derived before you publish the method.

Dice or equivalent number source

The documented procedure requires a dice or another physical or verifiable way to generate a number from 1 to 6. Plan who rolls, where the dice are kept, and how each roll is entered into the component. A stable, visible source protects the draw from claims of manipulation. If you use a digital generator instead, document its origin and confirm with the Decidim documentation that it satisfies the same procedure.

Witnesses to the draw

The procedure relies on witnesses who observe the rolls and the outcome. Witnesses should be independent of the team administering the component, and their names or roles should appear in the published record. Agree the number of witnesses and their duties in advance. Their presence is what turns a technical draw into a publicly trusted one, so treat the witness step as a required part of the process rather than an optional courtesy.

Jury candidate selection

One documented use is choosing jury candidates from a pool of eligible residents. In this case the pool must be cleaned of ineligible or duplicate entries before the draw, because every entry can be drawn. Check with your legal team which eligibility rules apply and whether the list of candidates must be kept confidential after the draw. The component records the procedure, but eligibility checks remain your responsibility.

Participatory budgeting proposals

Another documented use is selecting proposals for a participatory budgeting process, for example when more proposals qualify than the budget can fund. Confirm how the sortition interacts with your budget rules, such as cost limits per project, and whether drawn proposals are then checked for feasibility. Publish the draw result alongside the list of eligible proposals so participants can see the full pool, not only the winners.

Configuration decisions before the first draw

This table compares the setup choices you make before running a Decidim sortitions draw, with the trade-off of each and when it fits. Read it as a checklist: settle every row in writing before the component is opened to participants, because changing eligibility or timing after a draw has been announced weakens the result.

DecisionOptions to weighTrade-offWhen it fits
Eligible poolProposals in one component, or a list of candidates from outside the platformA narrow pool is easier to defend; a broad pool needs clear rules for who qualifiesUse proposals when the draw is about ideas; use a separate candidate list when the draw selects people
Number of items selectedA small fixed number, or a number tied to the budget or seat countFixed numbers are simple to explain; tying them to a budget adds a step to verifySet the count from the published rules, and record it before the draw so nobody can adjust it afterwards
Timing of the drawWithin a specific phase, or on a fixed announced dateA phase link ties the draw to the process timeline; a fixed date is easier to publicizeChoose a date or phase that closes all submissions and objections first, and state it in the public rules
Who runs the drawPlatform administrators, or a named team with a separate operatorAdministrators can run it quickly; a separate operator reduces the risk of one person controlling the outcomeUse a separate operator when the draw affects jury, candidate or funding decisions
WitnessesInternal staff, independent observers, or the publicInternal witnesses are easy to arrange; external observers add credibility but need access and confidentiality termsInvite independent observers when the result will be challenged or the draw is high profile
Random number sourceA physical die or another device that gives a number from 1 to 6, as the component docs describePhysical sources are easy for witnesses to see; each roll must be recorded so the sequence can be repeatedUse a visible physical method for public draws and record every value shown on screen
Recording the procedureScreenshots, minutes signed by witnesses, or an exported record kept with the processMore records cost time to produce but make the draw easier to audit laterKeep signed minutes and the platform record together, and confirm with your legal team how long they must be kept
Reproducibility checksRe-running the procedure from the recorded rolls, or relying on the platform output aloneRe-running takes effort but lets an outsider confirm the resultPlan a reproduction step whenever the draw is contested, and test it on a staging copy first

How a reproducible, witnessed draw is run step by step

A reproducible, witnessed draw is only as trustworthy as the sequence around it, so the first decision is to fix the pool before anyone sees a result. Define the eligible entries in the sortitions component (proposals, jury candidates or budget projects), confirm the exact number to select, and freeze the list so no entry is added, removed or relabeled after the draw is planned. Record who is allowed to change the pool, who approves the final list, and the date and time of the freeze. Reproducibility means that an independent person, given the same pool, the same settings and the recorded random inputs, can arrive at the same selection. That property is what lets a skeptical participant or auditor check the outcome rather than take it on trust.

The random source is a physical die or another method that produces a number from 1 to 6, as the component documentation describes. Agree in advance how the numbers will be generated, how many rolls the procedure needs, and how each roll is written down before it is used to pick an entry. Witnesses are present for the whole procedure, not only the end: they see the pool being frozen, watch each roll, confirm the recorded values and sign the log. Choose witnesses who have no stake in the outcome and who can be named publicly. Once the draw has run, publish the pool, the settings, the sequence of rolls and the selected entries together, then announce the result with a clear route for questions. Confirm every step against the sortitions component documentation at Decidim docs: Sortitions component and against your own statutory or policy rules, because the exact mechanics and the legal requirements for your procedure are yours to verify.

Implementation sequence and the output of each step

The sequence moves a draw from version checks and written rules to a witnessed live run and a published record, so each stage leaves an artifact that a reviewer can inspect. Confirm the sortitions component and your Decidim version before any rules are drafted, because the rest of the plan depends on what your instance actually offers.

  1. Confirm version and component availability

    Check which Decidim version your instance runs and whether the sortitions component is enabled for the space where the draw will happen. Decidim supports only the last two minor versions with security updates, so confirm your version against the current support policy and plan an upgrade first if you are on an unsupported line. Read the component documentation for your version, since its settings and admin screens can differ between releases. Output: a short version and component check note, signed by the platform owner, stating the version, the component status and any gaps that need a fix before the draw.

  2. Define the eligible pool and draw rules

    Decide what is being drawn, such as proposals, jury candidates or participatory budgeting entries, and who or what is eligible to enter the pool. Write the number of selections, the tie-breaking and exclusion rules, how withdrawn or invalid entries are handled, and who may appeal. Agree which person rolls the die and which witnesses attend, and how each witness's identity will be recorded. Output: a signed rules document with the pool definition, selection count, exclusions and witness roles, dated before any entries are locked.

  3. Configure the component in a staging space

    Create the sortitions component in a staging space that mirrors the production setup and load test entries that match the pool definition. Check that the number of selections, the entries shown and the result display behave as the rules describe. Confirm how the draw is recorded in the admin interface and how the result will look to the public. Output: a staging configuration record and a screenshot or export of the settings, checked against the rules document line by line.

  4. Rehearse the draw with witnesses

    Run the full procedure in staging with the same witnesses and the same method for generating a number from 1 to 6 that will be used live. Time the steps, note any confusion about the rules, and confirm that the results match what a hand check of the pool would give. Fix any gaps in the rules or configuration and repeat the rehearsal if a change affects the outcome. Output: a rehearsal log listing each step, the witnesses present, the issues found and their fixes, plus a sign-off from the witnesses that the procedure is ready.

  5. Lock the pool and run the live draw

    Close the entry pool at the time set in the rules so no entries change during the draw. Run the live draw in the production space with the witnesses present, generating each number in the view of everyone attending and recording the outcome as the component produces it. Do not restart a draw without a rule that allows it, and record any interruption with its time and cause. Output: a live draw transcript with the generated numbers, the selected entries and signatures or initials from each witness.

  6. Publish and archive the draw record

    Publish the selected results in the space and link the signed rules, the rehearsal log, the live transcript and the witness sign-off in one archive. Store the archive where it will remain accessible for the retention period your organization or regulator requires, and confirm who holds copies. Check that the published result matches the transcript exactly before closing the space to changes. Output: a published result page and a closed archive package that an auditor or member of the public can follow from rules to outcome.

What drives effort and how to keep it down

This table compares the main drivers of effort in a sortition, from the number of pools and rounds to witness logistics and documentation. Read each row as a question to answer before scoping, and use the right-hand column to decide where a written, rehearsed procedure saves the most work.

DriverWhy it changes effortHow to keep it down
Number of pools and roundsEach pool needs its own eligibility list, draw record and witness sign-off, so effort grows with every pool and every round.Limit pools to what the procedure truly needs and fix the number of rounds in the written rules before the draw.
Rules that must be written and approvedSelection rules, tie handling and the draw method need sign-off from the organization before anyone runs the component.Reuse a previously approved procedure and change only the parameters that differ, such as pool size or number of selections.
Witness logisticsWitnesses must be available at the draw, agree on who may attend, and confirm the outcome, which adds scheduling and communication work.Set a fixed witness roster and a standard attendance and confirmation sheet for every draw.
Integration with participant verificationOnly eligible, verified people should enter the pool, so eligibility checks and census data must be reconciled before the draw.Confirm the verification method and export the eligible list in advance, then test it in staging with sample data.
Draw method and reproducibilityThe sortition uses a dice or other way to generate numbers from 1 to 6, so the team must agree how each number is produced and recorded.Document one method, test it with the witnesses present, and record each roll so the result can be reproduced.
Documentation for public trustEach draw needs a record of inputs, rules, witnesses and results that an assessor or the public can review.Create a single template for the draw record and store it with the approved procedure.
Rehearsal and stagingProblems found during a live draw are costly to fix and damage confidence in the result.Run a full dry run in a staging instance with the same steps, roles and documents before the live draw.
Ask providers to confirmScope, pool handling and documentation depend on the exact component version and your verification setup.Ask for the written scope, the component version to be used, and the list of documents the provider will prepare.

How the pool, the draw and the public record connect

The flow starts with the eligible pool of proposals or candidates in the Decidim sortitions component, where the administrator sets the number to select. The random source, such as a dice roll that produces a number from 1 to 6, feeds the draw, and witnesses observe it so the procedure can be reproduced. The result is then published on the platform and the supporting record is archived outside it. Check that the pool was frozen before the draw and that the archive holds everything needed to repeat the result.

The eligible pool, the random source and witnesses feed one sortition, and its result is archived with the record.

How sortitions connects to the rest of the platform

A sortition is only as trustworthy as the pool it draws from and the record that shows how it was run. The cards below cover the Decidim components and settings that feed the draw, and the checks your team should complete before using a draw for a public decision.

Proposals and participatory budgets as draw sources

The sortitions component can select proposals at random, which suits cases such as choosing among proposals that have equal standing or funding. Confirm which proposal states, phases and vote thresholds your team wants eligible before the draw, because a draw run on the wrong list cannot be undone. Check how selected items appear afterwards in the participatory budget or proposals view, and confirm that each selected item keeps its link to the original proposal.

Sortitions docs

Verified participants as the candidate pool

Verification decides who can take part in a draw that is meant for residents. Decidim includes authorization systems that can restrict actions to verified participants, but whether a draw can be limited to them depends on how your sortition is configured in your environment. Confirm this in a test space, and do not assume that every registered account is eligible. Document which authorization method each candidate passed and how you will handle people who lose verification before the draw.

Processes and assemblies that host the draw

A sortitions component lives inside a participatory space, usually a process or an assembly, so its visibility, phases and permissions follow that space. Decide which space will host the draw and whether the public can see the component before, during and after the run. Confirm that the space's phase settings do not open or close the component at the wrong moment, and that administrators who run the draw hold only the roles they need.

Witness and randomness procedure

The Decidim sortitions documentation says the draw needs a dice or another way to generate a number from 1 to 6, along with witnesses. Your procedure should state who rolls, who records each result, and who checks the outcome before publication. Agree this procedure in writing with the body that will rely on the result, and test it once with a dry run in a non-public space so the operators know the steps.

Sortitions docs

Audit record and logs

A draw is credible when someone outside the team can reconstruct it. Confirm which actions the platform records for the component, including who created the draw, who executed it and what was published, and what your audit logging setup retains. Store the witnesses' signed record, the seed or dice values, and screenshots of the published result outside the platform as well, since retention settings are set by your team and may differ from the default.

Data retention and publication

Draw results often include names or contact details of candidates and jurors, which brings them under your data protection rules. Decide what appears publicly, such as selected proposal titles or anonymized juror numbers, and what stays internal. Check whether the component can be edited or deleted after publication, and write down your rule for corrections. Have your privacy lead review the published output before the component opens to the public.

Sortitions docs

Documenting the draw so the public can trust the result

A sortition is only as credible as the record that explains it. Before the sortitions component runs, write down the rules the draw will follow: what is being selected (proposals, jury candidates or budget projects), how many items are chosen, which pool the draw runs against, and who may challenge the result. Publish that document before the draw, not afterwards, so that nobody can argue the rules were shaped around a known outcome. Keep the decision-maker's approval of the rules as a dated, signed record in the same file.

The record should then capture the eligible pool as it stood at the moment of the draw: the list of proposals or candidates, any exclusions and the reason for each, and a snapshot or export of the data the component used. Name the random source explicitly, for example the physical dice or other method the component asks for to generate numbers from 1 to 6, and note who rolled it and how each result was entered. Record the witnesses by name and role, along with the time and place of the draw, including the time zone and whether it was public or streamed. Confirm with your own administrators how the component stores the seed and results so the record can be reproduced later.

Finally, record the outcome and how it was published, then store the whole file where the public can read it and where it cannot be altered quietly. DeployOpen can prepare the procedure, the templates, the evidence set and the retention arrangements, and can review them against your rules. Independent audit or certification of the draw is a separate matter: that is performed by an independent auditor or certification body, which should be engaged and scoped by your organization if it is required.

Questions buyers ask about Decidim sortitions

Does the Decidim sortitions component cost extra to use?

The sortitions component ships with Decidim, which is free and open source under the AGPL-3.0, so there is no license fee for the component itself. What you pay for is the work around it: planning the draw rules, configuring the component, testing it on a staging copy, running the live draw with witnesses and publishing the record. Ask any vendor, including DeployOpen, to quote these as separate line items. Recurring costs come from hosting and from keeping the platform on a supported version, since Decidim only supports the last two minor versions with security updates. Confirm with your own IT team which hosting costs already apply to your Decidim instance.

How long does it take to set up a sortition?

Configuring a single sortition is usually a small task compared with the procedure around it, so the time depends mostly on how long your rules take to agree. Before any configuration, your team needs to decide what is drawn, how many items are selected, which pool is eligible, and who witnesses the draw. The Decidim sortitions documentation describes the core mechanism: it selects a number of proposals using a reproducible procedure and needs a die or another way to generate a number from 1 to 6. Confirm with your legal or governance owner how long approval of the procedure will take, because that step often sets the schedule.

What does my team need to provide for a sortition?

You need a named owner for the procedure, a written description of the selection rules, a list of eligible items such as proposals, jury candidates or budget projects, and at least one witness who is independent of the outcome. Your team also needs access to an administrator account on a Decidim instance you control, and a way to generate a number from 1 to 6 that the witnesses can see, such as a physical die. If the sortition feeds a verified process, your identity verification settings must already be in place. Confirm these inputs with your own governance rules, because public law or internal policy may set who can witness and how the record is kept.

Can our own team configure a Decidim sortition without a partner?

Yes, a team with Decidim administration experience can usually configure the sortitions component alone, provided the draw procedure is already agreed. The harder work is not the admin screens but the governance: writing the procedure, deciding on eligibility, running a witnessed draw and documenting it so that someone outside the team can check it later. Teams that lack Decidim administration experience, or that need the procedure tested before a public draw, often bring in an outside implementer for a fixed-scope review. Whatever you choose, test the full flow on a staging copy first, following the upgrade and deployment practices your team already uses.

What drives the price of a sortition project up or down?

Four factors move the effort most. The first is how many separate sortitions you run and whether they are one-off or repeated each cycle. The second is how much the rules need to be defined, since an agreed written procedure is cheap to implement and an unsettled one is expensive. The third is how many integrations or custom checks you need, such as tying the draw to a verified census or a custom authorization method. The fourth is whether you need an independent review of the procedure and the published record before a public draw. Ask for a quote that lists each sortition, the rules review, the testing and the witnessed-draw support as separate items so you can see which parts you can remove.

What goes wrong when a random selection is challenged?

The most common problem is that the procedure was not written down before the draw, so participants can argue that the outcome was chosen to suit someone. Other failures include an eligibility list that changed after the draw was announced, a witness who had a stake in the outcome, and no record showing how the number was produced. Decidim makes the selection reproducible, but reproducibility only helps if you record the inputs, the witnesses and the result in a way that others can review. Confirm with your legal advisers what evidence your jurisdiction expects, and test whether a third party could repeat the selection from your published record.

How do we ask for a quote for Decidim sortitions?

Send a short written brief that names the platform version you run, the number of sortitions, the item types being drawn, the eligibility rules and any verification or census source they depend on. Ask whether the quote is fixed-scope, what the deliverables are, who writes and approves the procedure, how the witnessed draw is supported, and how the published record is handled. DeployOpen plans and delivers most engagements as fixed-scope work, with scope, deliverables and timelines agreed in writing before work starts, and it does not publish a price list, so the quote follows from that written scope. Ask every provider to state which parts are one-time and which recur, such as hosting, upgrades and retainers.

Which Decidim version should we run before setting up sortitions?

Run a version that still receives security updates, because an unsupported platform is a risk for any public process. Decidim supports only the last two minor versions with security updates until version 1.0, which at the time of the researched facts meant the 0.32.x and 0.31.x branches. Versions 0.30.x and earlier are not supported. Check the current support status on the project's security policy before you commit, and plan any upgrade one minor version at a time with a database backup first. Confirm your target version with your own platform owner and with the vendor who will run the instance.

How DeployOpen works on this

DeployOpen plans, implements, customizes, documents and supports self-hosted Decidim inside your own infrastructure, including the sortitions component for random selection. Every engagement starts with a written scope that defines what the draw covers, who witnesses it, and what evidence the procedure leaves behind.

How we scope

  • Define which selections use sortitions, such as jury candidates or participatory budgeting proposals, and which do not.
  • Agree in writing how many proposals each draw selects and which eligible pool it draws from.
  • Confirm the witnesses, the random number method and the publication steps before any draw is configured.

How we build

  • Configure the sortitions component on a staging Decidim instance that mirrors your production setup.
  • Test that a draw produces the same result when the recorded inputs are replayed, so the procedure is reproducible.
  • Check permissions so only the named administrators can run a draw and no one can rerun it quietly.

How we hand over

  • Deliver a written draw protocol that lists inputs, witnesses, dice results, timestamps and the published outcome.
  • Train your administrators to run a witnessed draw, record it and publish the result in the platform.
  • Document the rerun and dispute steps so your team can explain any selection to the public.

How we support

  • Ongoing support, Decidim version upgrades and continuous testing are available as retainers for your platform.
  • Review sortitions settings again whenever a Decidim minor version upgrade changes the component.
  • Confirm with your legal or governance team which draw records must be retained and for how long.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.