An example way to reproduce is running the script with the following options: --input-items 'heavy-oil=0' 'scrap=0' --output-item quality-module-3 --module-cost 1 --productivity-research 'processing-unit=1.1' 'plastic-bar=0.9' 'scrap=1.1' --allow-byproducts --output-amount=0.016 --disallowed-crafting-machine biochamber
This will return a factory that recommends putting a quality module in e.g. Holmium Solution and Ice Melting Chemical plants.