normativeai / frontend

GNU General Public License v3.0
5 stars 3 forks source link

Support for asynchronous queries #18

Open shaolintl opened 5 years ago

shaolintl commented 5 years ago

In case HPC allow us to use their clusters, I suggest the following.

Each theorem proving task (or a group of theorem proving tasks) will be sent to the cluster, once the job is finished, it will initiate an API call with the job ID which will update the database. This way we can support much heavier and parallel tasks.

On the frontend side, instead of running it synchronously like now and displaying a message. The buttons for all theorem proving tasks (consistency, independence and queries) will have four states:

In addition, we should also think what do do about timeouts. On the HPC, a timeout of 30 seconds should be enough to declare a Non-theorem?