It’s strange though because you usually need to figure out how long the exposure would be and then use the right size hole / paper. But this sounded like it was accidentally left for all this time.
There's a few different actions. First, since it isn't developed the paper effectively acts extremely slowly. Whereas normal photographic paper would be around 6 or up to 20 ISO, doing it this way is almost immeasurably slow. Getting similar results without a pinhole and just something layed on top (photogenic drawing), it would take several hours in direct sun to get a decent image. The next contributing factor is that some papers "print out" easier than others. The hard ones will take hours in direct sunlight, while the easier ones might take "only" 30 minutes or so. The final factor is that pinhole is a very slow and low contrast method of exposure. Silver halide paper suffers from "repricocity failure" where basically during a very long exposure, the material becomes massively less sensitive. This is why film is so hard for astrophotography. A 100 ISO film over several hours can become something more like 1 ISO. Either way, the end result is that the paper gets very slow and gains a very wide exposure latitude, nearly impossible to over expose.
From the instruction manual [1] for the Solarcan (a premade product that operates on the same principle), it appears pretty much all you do is scan the image and then invert it. Take a look at the images in the PDF - they're pretty cool.
It’s strange though because you usually need to figure out how long the exposure would be and then use the right size hole / paper. But this sounded like it was accidentally left for all this time.