The degree of harm caused is often a factor in measuring a crime, especially when it comes to sentencing. As Garry points out, 8 years for this is crazy.
One 'trade secret' I worked on was about 30 lines of code, in C#. I later turned it in to about 100 bytes of x86...
Some of the trade secrets in quant models can just be the weights.