Preheat oven to 350°F (175°C).
Line an 8x8-inch baking pan with parchment paper.
Whisk together the pumpkin, eggs, maple syrup, and vanilla.
Stir in the cocoa powder and oat flour until smooth.
Gently fold in the raspberries.
Pour into the prepared pan and bake for 24–28 minutes, or until the center is just set.
Cool completely before slicing for the fudgiest texture.
