My first ever software interview was with a small company that made a web app for traveling nurses. It was mainly a calendar with additional functionality to help nurses manage cases.
I was given a pre-interview programming task to complete. The task was relatively simple and would not take long to complete so I agreed.
When I logged in with the credentials they provided it looked like they had a very robust testing environment. There was a complete copy of the app running on the server with fake information in the database.
The code itself did not follow any style guides and was rarely documented. This caused me to spend much more time completing the task than I had estimated. Once I completed the task and verified functionality I notified the company. They checked my work and scheduled an in person interview with the lead developer, CTO, and CEO.
During the interview they attempted to access the test server with my code so we can discuss. My code could not be found on the test server and it was at this time we learned that the lead developer had given me complete access to the production servers including direct database access. The “fake” data that I used in my own testing on a production server was actual patient records. It was a huge HIPAA violation on their part and I withdrew my application for fear that this company will soon be in legal trouble.
I suspect they thought I was going to report them because they offered me $3000 for the “work completed.” It turns out their programming task was a feature that they wanted implemented into production anyways. I think if it were not for the lead developer’s mistake I would not have been paid anything. There was no offer of compensation for the completion of the task before the mistake was revealed.