Maybe a dumb question, but why release them back? Why separate and raise sterile males when you could kill off both male and female and be done? Is the idea that introducing sterile males back into the population has a compounding effect?
I made a shell script that can be used to generate a diff of what data was modified in your pg database between two points in time. I use it to help me get a quick sense of what certain actions do without having to dive into the code too deeply. It's a pretty simple thing, but has been valuable to me quite a bit. https://github.com/denvaar/pgdiff