Commit Graph

996 Commits

Author SHA1 Message Date
Matthew Liu
91a5fe1271 clippy and fmt 2023-07-18 17:44:30 -07:00
Matthew Liu
68648478c4 removed group counter updates from common_subexpression_elimination test. graphs can be isomorphic even if group id's don't match up exactly 2023-07-18 17:43:33 -07:00
Matthew Liu
1fda57a552 removed conditional compilation from a functoin that shouldnt have it 2023-07-18 16:44:21 -07:00
Matthew Liu
27f2153902 removed secretkey from debug_fhe_program, now uses privatekey instead 2023-07-18 16:42:47 -07:00
Matthew Liu
bb59e579b1 remove more prints 2023-07-18 15:33:14 -07:00
Matthew Liu
b4208f1223 removed unnecessary prints 2023-07-18 15:32:43 -07:00
Bryan Li
7cec024bbd Merge pull request #282 from Sunscreen-tech/bryan/add-frontend
Added frontend code
2023-07-18 15:19:40 -07:00
Matthew Liu
bdf8c8c415 modifying interface for lookup data structures 2023-07-18 15:14:41 -07:00
Matthew Liu
8f27a79168 removed group struct, defined Group type as a String 2023-07-18 14:38:54 -07:00
Bryan Li
6211f835ba fixed typing and var 2023-07-18 14:35:26 -07:00
Matthew Liu
7900fff130 removed more unnecessary comments 2023-07-18 13:53:30 -07:00
Matthew Liu
282b38ac2d removed some unnecessary TODO 2023-07-18 13:52:33 -07:00
Matthew Liu
6efb216ffc removed unncessary comments from fhe_program_tests 2023-07-18 13:49:50 -07:00
Matthew Liu
5bc340849c removed changes to settings.json 2023-07-18 13:48:54 -07:00
Matthew Liu
cd4a529f4e addressed race conditions in run tests, now pass those tests with and without debugger feature 2023-07-18 12:38:20 -07:00
Matthew Liu
3d31f4a046 clippy fixes 2023-07-18 11:49:53 -07:00
Matthew Liu
6f628d39a1 fmt fixes 2023-07-18 11:48:15 -07:00
Matthew Liu
bb671603cb passes tests with debugger feature enabled and disabled 2023-07-18 11:47:53 -07:00
Matthew Liu
d73ae29146 fhe program tests now pass with debugger feature enabled, updated group counter when assigning ids to nodes 2023-07-18 11:37:49 -07:00
Matthew Liu
b00714b6ec updated fhe_program_tests to have metadata fields and group_id. need to fix construction of graph so that group ids are updated 2023-07-18 11:24:16 -07:00
Matthew Liu
f2d8f12227 rick fixes 2023-07-17 15:01:42 -07:00
Matthew Liu
c113eaf7d3 fixed async issues, now can support multiple sessions 2023-07-17 14:43:27 -07:00
Matthew Liu
4849b2682e get fhe node data impleented, still doesnt ocmpile. need to figure out how to handle sealdata stuff 2023-07-17 14:06:44 -07:00
Matthew Liu
757f9febb3 clippy fixes 2023-07-17 12:46:42 -07:00
Matthew Liu
71bb374add fmt fixes 2023-07-17 12:45:25 -07:00
Matthew Liu
4bf7043b77 added support for fhe program source code. in debug mode, run.rs tests wont compile because debug_fhe_program now asks for 7 arguments instead of 6 2023-07-17 12:24:56 -07:00
Matthew Liu
31c59c991d proc macro updates to be able to get source code of an fhe program with .source() 2023-07-17 12:05:32 -07:00
Matthew Liu
e5916cbde0 added support for cors so frontend can now grab data from backend. currently it only grabs a string that allows the frontend to construct a graph 2023-07-17 11:20:38 -07:00
Bryan Li
339d1bf2c0 added frontend 2023-07-17 11:09:00 -07:00
Matthew Liu
322c51d8f7 server file 2023-07-17 04:54:52 -07:00
Matthew Liu
07ff417124 moved code from sessions.rs to server.rs 2023-07-17 04:25:24 -07:00
Matthew Liu
a4e2d1b5fb can now support dynamic paths but currently web server is not set up in a way that you can debug multiple programs 2023-07-17 03:56:51 -07:00
Matthew Liu
6cf313ada2 managed to get webserver up and running. remains to figure out how to get the graph data 2023-07-17 02:50:21 -07:00
Matthew Liu
f3df943daa fixed errors due to conditional compilation with debugger feature in fhe_program_tests 2023-07-17 01:04:37 -07:00
Matthew Liu
5f66f73602 fixed compilation errors based on conditional dependencies when debugger not enabled 2023-07-17 00:46:05 -07:00
Matthew Liu
0f87062b0d modified debug_fhe_program to not return anything 2023-07-17 00:35:19 -07:00
Matthew Liu
145295584b format 2023-07-16 23:06:17 -07:00
Matthew Liu
e492a2e450 modified visibility of sealsecretkey in privatekey struct to be public 2023-07-16 15:58:14 -07:00
Matthew Liu
cb46c4b85b fixed more compilation errors and enabled debugger feature in sunscreen_backend. next step: figure out secret vs privatekey and change debug_fhe_program accordingly 2023-07-16 02:05:27 -07:00
Matthew Liu
cc90bf3548 compilation errors in graph construction test, enabled debugger feature in sunscreen_fhe_program 2023-07-14 17:57:45 -07:00
Matthew Liu
21683f2e23 enabled debugger in zkp backend 2023-07-14 16:33:46 -07:00
Matthew Liu
644d044522 fixed some depenendcy issues to enable debugger feature across workspace, now going to fix compilation results/add support with debugger feature 2023-07-14 16:26:02 -07:00
Matthew Liu
75d59ce14d created start web server function 2023-07-14 15:21:35 -07:00
Matthew Liu
61333183e7 removed nodes file from debugger 2023-07-14 14:21:48 -07:00
Matthew Liu
2eba60472a fxied remaining compilation issues in run 2023-07-14 14:10:36 -07:00
Matthew Liu
bf41566474 added fhe-debugger files as modules 2023-07-14 13:34:24 -07:00
Matthew Liu
7e0cdc212d more compilation error fixes + moved fhe-debugger into debugger module 2023-07-14 13:33:17 -07:00
Matthew Liu
a0d6e9bce3 fixed compilation rrors in tests for run.rs 2023-07-14 11:26:42 -07:00
Matthew Liu
c153222731 implemented set_data, also added calls to set_data in run unchecked 2023-07-14 00:42:02 -07:00
Matthew Liu
0cb4a82498 rick's coimments/changes 2023-07-14 00:06:40 -07:00