Okay so there are a few things comming to my mind .first thing is how would you determine what is the definitiv recipe for any given material to be calculated. bc many of the incorrectly calculated items are actually dependent on byproducts in angels/bobs mods having 15 to 25+ ways to get them. slag for example is a pretty low tier item, yet worth 36k.It has about 23 recipes, but as far as i can see theres not much depth to it.it mostly breaks down to what should be determined raw resources - therefore stops iterating. im still trying to figure out why thats not the case with crushed stone tho :/
2nd: since your recipe depth max doesn't seem to have any effect on very complex products there might be something wrong here( since im no modder or familiar with .lua i am afraid im no help on that topic.
3rd: im gonna send you some screens of my csv with the inf prices i hope you can get any clues out of that
https://pasteboard.co/Jqj3QTE.jpg
https://pasteboard.co/Jqj496S.jpg
https://pasteboard.co/Jqj4sDR.jpg
i know i had one more thing but i just cant remember xD