Commit Graph

44 Commits

Author SHA1 Message Date
346b3fc40a moved uuid2subject inside subject as it made more
sense
2025-05-20 11:53:29 +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
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
7607b91a6c renamed file 2025-05-18 21:38:46 +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
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
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
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
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
fe064218f5 added table to show results in frontend 2025-05-08 00:11:21 +02:00
9655fd7a6e added bleu score evaluation for the comment
generation
2025-05-07 23:16:03 +02:00
522bcc7ebc made socket logic better 2025-05-07 18:10:21 +02:00
21735a236a created a websocket to witness the progress of the processing 2025-05-07 17:33:29 +02:00
a16435b021 added routes to sumbit the answers 2025-05-07 13:05:15 +02:00
ac6518754f added route to download comment_gen and
code_refinment
2025-04-28 16:26:50 +02:00