Hey so I know this is n of 1 and off-topic, but as a liberal arts student, I went from music to signal processing to music theory to music analytics to generative music to software engineer. There can be a lot of STEM in non-STEM degrees. I did take a number of CS, acoustics, and electrical courses as a music major, but my degree still says music.
I know once-English majors with a similar story of a passion for what computing can reveal/create around a discipline that resulted in rich software careers. I am over a decade out of college, and in my personal experience passion for computing is more relevant than having a STEM background in software development. All this to say, I’m not sure % STEM focused is necessarily a reliable indicator of “future software engineer.”