Turns out when I added the NumberRandomizer class as an autoload in the godot project settings, I added the .cs file and not the .tscn file. Switching the autoload to the .tscn file fixed the issues for me.
NumberRandomizer