Some of the "Total Raw" numbers are wrong on the wiki.
My favorite is https://wiki.factorio.com/Processing_unit, where the recipe is:
Time, 10 + Advanced circuit, 2 + Electronic circuit, 20 + Sulfuric acid, 5
and the "Total Raw" numbers are the same -- they don't break down advanced circuits into electronic circuits or electronic circuits into copper and iron.

Is this done by a script? If I hand-edit these with my wiki account, will they get overwritten when someone does an import from the raw xml? Is there any way I could edit the script that generates these?

Some of the total-raw numbers were indeed wrong for example rocket control units, the data I base my sricpt on was fixed and I updated the infoboxes. In-game, Plastic is not broken down in total-raw because it cannot be handcrafted. Since the infobox is kept as close as possible to the game info, the (fixed version) of the script still doesn't break down plastic or other non-handcraftables like Engine units. I'll have a look at why the data does not break down Rocket Part, though I suspect that that is the case because it can only be crafted in the Rocket Silo.

And yes, if you edit things by yourself you risk getting them overwritten by my script, though only if my script sees them as "wrong" and corrects them.

I think it would be really useful (and more intuitive) if the “total raw” on the wiki were actually expressed in terms of raw elements instead of stopping the breakdown at non-hand-craftables (if that’s what is happening); for example, I was just looking at yellow science and it it lists blue circuits among the raw materials... there must be others that feel the same way, or is I crazy?

dpacbach wrote:I think it would be really useful (and more intuitive) if the “total raw” on the wiki were actually expressed in terms of raw elements instead of stopping the breakdown at non-hand-craftables (if that’s what is happening); for example, I was just looking at yellow science and it it lists blue circuits among the raw materials... there must be others that feel the same way, or is I crazy?

Total Raw is a fundamental term in the game itself, changing the meaning for the wiki would indeed be a bit crazy imo.