If you think about data science/big data analytics, it might not be feasible within a secret contract (because of the computational/monetary costs). A possible solution could be to do the computation off-chain, e.g. with [Scone] (https://sconedocs.github.io) or [Graphene] (https://grapheneproject.io) on sgx-enabled clouds, but to manage the keys/access within a secret contract. What are your thoughts on this? Is this a viable use case for secret contracts and has there been done any research in this direction?
This would also have the advantage to support other languages like python or R which is widely used in data science.