Since playing SwSh and reading discussions on forums, I have seen people state that Raid Dens count as caves and Dusk Balls have an increased catch rate during the day. I have not observed this during daytime Pokémon catching. I did some polling in a Facebook where I am a member. The results agree with my observations that Raid Dens don't register as caves.
If anyone has seen the code for a Raid Den, does the code set the environment to register as a cave? I'm assuming that the Dusk Ball code has conditionals coded that request information of the environment and checks the time of day.
Should Dusk Balls have an increased catch rate during the day in Raid Dens according to the code?