debug: prepare AD with rand constant contexts
#278
+7
−7
Merged