Commit Graph

66 Commits

Author SHA1 Message Date
1cd2fb0752 now saving the results from disk and retrieving
the at server startup
2025-05-20 12:18:42 +02:00
346b3fc40a moved uuid2subject inside subject as it made more
sense
2025-05-20 11:53:29 +02:00
7e3089595d added type ignore to make pyright stop complaining 2025-05-20 11:08:51 +02:00
1b805ebb63 users now see their position in the queue update
in real time
2025-05-19 11:55:56 +02:00
1c74dad3ea added dotenv and using to know if we need to
return mock build handler
2025-05-19 09:41:20 +02:00
9e90923dd3 now instead of sending status in two places, i'm
just making the client ask for status
2025-05-18 23:06:18 +02:00
2e497d75fa implement the queue 2025-05-18 23:00:11 +02:00
a621c394a6 removed unecessary comment 2025-05-18 22:58:22 +02:00
9bf9e2adea removed unused imports 2025-05-18 22:31:31 +02:00
dbe7175bdb moved the source of data to prevent spamming
status to observer, as it was more convinient to delete on completion
2025-05-18 22:21:40 +02:00
ad20b03dd8 unified the way comment evaluation and refinement
are handled
2025-05-18 22:19:13 +02:00
ecdd18dc3b instead of raising an error (which is a server
issue), returning a 400 / 404 correctly
2025-05-18 21:48:26 +02:00
7607b91a6c renamed file 2025-05-18 21:38:46 +02:00
81f4f334d1 removed useless comment 2025-05-18 18:00:42 +02:00
65f9cd8d61 moved the creation of the thread to the subject
instead of the request handler
2025-05-18 17:59:02 +02:00
49b2606a53 created the observers and handling them 2025-05-18 17:43:24 +02:00
3071d63b1a implemented wait build handler. does nothing but
waits 1 second for compilation and testing
2025-05-18 08:23:45 +02:00
e48812dd11 delegated the injection of the changes to the
build handler (so that the WaitBuildHandler can
just no do anything)
2025-05-18 08:23:14 +02:00
c8b0557498 made docker client local to handlers and lazy
loaded so that we don't have to start docker if we don't want it
2025-05-18 08:22:32 +02:00
5e2c2f37c8 first setup for status check with uuid 2025-05-17 17:37:19 +02:00
d90f8e4f12 added more fine grained percentage 2025-05-15 10:50:24 +02:00
d833beee83 included the error message to the results in case
of failure for code refinement
2025-05-14 22:22:42 +02:00
2980f29bfa made the route for comment generation comment
instead of comments
2025-05-14 22:01:12 +02:00
28566ef37e implement submission injection 2025-05-14 21:24:25 +02:00
aad5d2079f made better print statements 2025-05-14 21:24:13 +02:00
8ad65a65ce removed useless print 2025-05-14 21:23:51 +02:00
e0fb7db52c fixed the get_build_handler function 2025-05-14 18:18:25 +02:00
aaa27305a0 made print better 2025-05-14 18:18:07 +02:00
6f55941cab implemented the evaluation of code refinement 2025-05-14 18:17:50 +02:00
6a9adaf194 removed useless print 2025-05-14 16:17:43 +02:00
a11be64a6d now validating the input for code refinement 2025-05-14 16:16:05 +02:00
32949633cc renamed the json validation more appropriately 2025-05-14 16:15:40 +02:00
1e12bcafab server now reloads once it detects a change in the
files
2025-05-14 16:14:46 +02:00
345309d7b8 added host=0.0.0.0 to make it work on gym 2025-05-14 15:56:56 +02:00
cdd82ac1f5 now using dataset and doign a better job with bleu
calculations and paraphrases
2025-05-14 15:56:28 +02:00
c49ed9608a added the dataset and the handlers from the
dataset_builder and started modifying them for the
webapp
2025-05-14 15:55:14 +02:00
741c2a95e6 now errors are sent with json form instead of html 2025-05-14 13:18:36 +02:00
3a4bfd611b ported backend to python 2025-05-13 13:27:38 +02:00
16fb78dc5b removed useless comments 2025-05-11 09:37:29 +02:00
374362537f small fix on evaluate refinement 2025-05-11 09:35:36 +02:00
686500fc2e max_n for bleu score is now the smallest number
between the number of tokens in candidate, reference or 4
2025-05-11 09:34:56 +02:00
f03e95cd58 using underscore instead of spaces in result obj 2025-05-11 09:34:40 +02:00
91ffbc467e uncommented code from main 2025-05-11 09:26:37 +02:00
4d87a31d70 using new backend logic 2025-05-10 22:33:24 +02:00
9e69d376c6 formatted stylesheet 2025-05-10 22:31:41 +02:00
0a0e1b73fb formatted code 2025-05-10 22:00:47 +02:00
644b560ad6 removed console.logs 2025-05-10 22:00:32 +02:00
719e127019 removed bleu-score package and wrote my own that
didn't have a bug in it (issue with saving "constructor" as a key of a normal object)
2025-05-10 21:59:37 +02:00
dfb3cae44d extracted the reference to top level in order not
to have to build it at every request
2025-05-08 14:30:38 +02:00
faffbecfe9 added detailed scores 2025-05-08 14:24:22 +02:00