*** SPOILERS ***
The first rule of programming. Don't test with a live Database. These generals gave the prisoners access to the live bomb? One that had a self destruct that would wipe out everything for five miles? How believable is that.
And the ray that fused tissue. Did the humans develop it in under five months when the crew was in space? The crew certainly did not think it was human technology.
How were the hallucinations induced? The crew was not aware that was human technology either.
And so the government puts all this effort into making the perfect replica of an alien prison. But they did not every think the prisoners would get suicidal and/or violent?
The plot holes here kinda ruined it for me, especially the bomb at the end. If they had the time and resources to build a alien prison replica, they had the resources to create a replica Device as well.