This is a demonstration of an adaptive test with a variable number of pages for each item. This is achieved by using a show_item argument corresponding to a list of test elements. The crucial trick is using a while_loop function to repeat a 'reactive page' until the item is complete, and a local variable counter to keep track of the iteration number.

demo_show_item_list()