A new survey of federal scientists shows that while scientific integrity has gained ground in recent years, a lot of work remains to be done.