First, I highly doubt it was residential since speed limits by law and definition for residential is defined to be 25. A speed survey is generally not required for residential zones.
As Jim point out the use of a "your speed is" sign is not allow during the speed survey, thus makes the speed survey invalid thus making enforcing any speeding ticket invalid for the road which the survey was used to justify its speed.
Also, if you research the MUTCD and the Traffic engineers handbook, you are all smart so you can go find this yourself, it clearly states when Speed surveys are done all speed limits signs should be removed along with other things during the survey period so the natural speed can be determined. many times they leave the existing signed up for various reasons but it does not make it right. Believe it or not 85% of the people tend to drive at a safe and reasonable speed without any knowledge of what the speed limit is set to this is why this is done. Thus the reason for CA speed trap law.
I just wish other states follow the same process, since you see the police hanging out at various locations since they know the speed limit is set low and people get caught all the time. Just saw one last week the entire road was set at 45 which was reasonable but this one section was set to 30 which was odd in the first place and the police were just hanging out at this location. You can could people we fighting to keep their speed to 30, always hitting the brakes and slowing to below 30 just to make sure they did not get a ticket.