NUTS currently has a parameter called nadapts which controls how many MCMC steps include an adaptation bit.
discard_adapt then controls whether those adaptation steps are discarded at the start.
For consistency with the AbstractMCMC API this should be changed to be num_warmup + discard_initial. And the adaptation steps should call AbstractMCMC.step_warmup rather than AbstractMCMC.step.