Ever since I put auto-brightness on and set the brightness to max (instead of leaving it almost completely darkened out after you enabled auto-brightness), I haven’t had many instances of the iPad screen dimming like it was doing before. I think maybe 3 times or so. At least now I know it isn’t a defect. I’m thrilled that it’s not an issue anymore.
EDIT: I’ve noticed that the screen dimming happens mostly when I’m browsing this site. Is it because of the ads or something? I saw that people were saying MacRumors was putting a strain on their iPad Pros, so I was curious as to why and how to remedy it. My screen didn’t dim for several hours before I started browsing the forums and then I was on here less than 30 minutes and it dimmed twice almost in a row.