After https://cognitionlab.com/project/trail-making-task/:
The Trail Making Test is a popular diagnostic tool to assess general intelligence and cognitive dysfunctions (Tambaugh, 2004, Cavaco et al, 2013). In part A of the TMT, users are asked to connect a cluster of numbers in ascending order. This task is a combination of visual search and general visual and motor processing speed. Part B presents a sequence which alternates between numbers and letters. Users must actively switch between both categories when connecting them in ascending, but alternating order. Hence, this task is considered to include an executive function component since the subject must actively switch between categories while connecting the symbols (MacPherson et al., 2017). The time to complete part A and time B respectively are the main dependent variables. Since the test performance includes many cognitive factors, the ratio between performance in part B divided by A has been proposed as a more sensitive metric since it uses part A as the baseline for performance in part B. This reduces the impact of intra-individual variability and emphasizes the executive component specific to part B (Salthouse, 2011). In addition to completion times, specific error types are also known to correlate with certain types of brain damage (Kopp at al, 2015).