Reproduction Steps:
1) build an assembler, and set a recipie
2) add enough ingredients to build more than one item
3) interrupt the build process by pushing the 'set current recipie' button OR deconstructing the assembler while it is working on the recipie
4) count the items you receive back from the assembler - you will be missing raw materials.
Verification steps I just performed:
14 copper plates into an assembler 1 set to make copper wire
interrupted the crafting (by pressing the 'set current recipie' button) when it had 4 plates left, but only 18 wires created
received 4 plates and 18 wires, so 4 plates + 18 wires = 13 plates, not the 14 put into the assembler
There are no errors in the current log. I had this happen with the electric miners example above shortly before exiting the game (call it about 2200 seconds in, as I checked these forums for about 5 minutes before exiting to submit this bug report).
60.945 Generated mipmaps for atlas of size 16384x456
60.956 Generated mipmaps for atlas of size 16384x1264
60.962 Custom inputs active: 6
61.061 Factorio initialised
70.649 Loading map C:\Users\krenshala\AppData\Roaming\Factorio\saves\kren is a lazy bastard.zip: 3969185 bytes.
70.952 Loading Level.dat: 6744224 bytes.
70.956 Info Scenario.cpp:147: Map version 0.17.14-0
71.155 Loading script.dat: 328 bytes.
71.172 Checksum for script C:/Users/krenshala/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
261.052 Info AppManager.cpp:275: Saving to _autosave2 (blocking).
262.106 Info AppManagerStates.cpp:1738: Saving finished
862.719 Info AppManager.cpp:275: Saving to _autosave3 (blocking).
863.718 Info AppManagerStates.cpp:1738: Saving finished
1464.335 Info AppManager.cpp:275: Saving to _autosave1 (blocking).
1465.332 Info AppManagerStates.cpp:1738: Saving finished
2506.647 Info AppManagerStates.cpp:1738: Saving finished
2523.916 Quitting: user-quit.
2524.049 DSound: Stopping voice
2524.049 DSound: Joining thread
2524.050 DSound: Exit _dsound_update; tid=6292