This disclosure is directed to devices, systems, and techniques for controlling electrical stimulation. In some examples, a system includes a user interface and processing circuitry. The processing circuitry is configured to output, for display by the user interface, a message requesting the patient perform a set of actions, receive, from the user interface, user input indicative of a patient response associated with the set of actions, and determine, based on the user input, one or more adjustments to a control policy which controls electrical stimulation delivered by a medical device based on a plurality of evoked compound action potentials (ECAPs) sensed by the medical device.
展开▼