Commit Graph

48 Commits

Author SHA1 Message Date
Karma Riuk
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
Karma Riuk
5e2c2f37c8 first setup for status check with uuid 2025-05-17 17:37:19 +02:00
Karma Riuk
d90f8e4f12 added more fine grained percentage 2025-05-15 10:50:24 +02:00
Karma Riuk
d833beee83 included the error message to the results in case
of failure for code refinement
2025-05-14 22:22:42 +02:00
Karma Riuk
2980f29bfa made the route for comment generation comment
instead of comments
2025-05-14 22:01:12 +02:00
Karma Riuk
28566ef37e implement submission injection 2025-05-14 21:24:25 +02:00
Karma Riuk
aad5d2079f made better print statements 2025-05-14 21:24:13 +02:00
Karma Riuk
8ad65a65ce removed useless print 2025-05-14 21:23:51 +02:00
Karma Riuk
e0fb7db52c fixed the get_build_handler function 2025-05-14 18:18:25 +02:00
Karma Riuk
aaa27305a0 made print better 2025-05-14 18:18:07 +02:00
Karma Riuk
6f55941cab implemented the evaluation of code refinement 2025-05-14 18:17:50 +02:00
Karma Riuk
6a9adaf194 removed useless print 2025-05-14 16:17:43 +02:00
Karma Riuk
a11be64a6d now validating the input for code refinement 2025-05-14 16:16:05 +02:00
Karma Riuk
32949633cc renamed the json validation more appropriately 2025-05-14 16:15:40 +02:00
Karma Riuk
1e12bcafab server now reloads once it detects a change in the
files
2025-05-14 16:14:46 +02:00
Karma Riuk
345309d7b8 added host=0.0.0.0 to make it work on gym 2025-05-14 15:56:56 +02:00
Karma Riuk
cdd82ac1f5 now using dataset and doign a better job with bleu
calculations and paraphrases
2025-05-14 15:56:28 +02:00
Karma Riuk
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
Karma Riuk
741c2a95e6 now errors are sent with json form instead of html 2025-05-14 13:18:36 +02:00
Karma Riuk
3a4bfd611b ported backend to python 2025-05-13 13:27:38 +02:00
Karma Riuk
16fb78dc5b removed useless comments 2025-05-11 09:37:29 +02:00
Karma Riuk
374362537f small fix on evaluate refinement 2025-05-11 09:35:36 +02:00
Karma Riuk
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
Karma Riuk
f03e95cd58 using underscore instead of spaces in result obj 2025-05-11 09:34:40 +02:00
Karma Riuk
91ffbc467e uncommented code from main 2025-05-11 09:26:37 +02:00
Karma Riuk
4d87a31d70 using new backend logic 2025-05-10 22:33:24 +02:00
Karma Riuk
9e69d376c6 formatted stylesheet 2025-05-10 22:31:41 +02:00
Karma Riuk
0a0e1b73fb formatted code 2025-05-10 22:00:47 +02:00
Karma Riuk
644b560ad6 removed console.logs 2025-05-10 22:00:32 +02:00
Karma Riuk
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
Karma Riuk
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
Karma Riuk
faffbecfe9 added detailed scores 2025-05-08 14:24:22 +02:00
Karma Riuk
fe064218f5 added table to show results in frontend 2025-05-08 00:11:21 +02:00
Karma Riuk
9655fd7a6e added bleu score evaluation for the comment
generation
2025-05-07 23:16:03 +02:00
Karma Riuk
f3633d09b3 removed env vars, because i don't wanna think
about that rn
2025-05-07 18:21:29 +02:00
Karma Riuk
4200b5d857 formatted file 2025-05-07 18:21:13 +02:00
Karma Riuk
522bcc7ebc made socket logic better 2025-05-07 18:10:21 +02:00
Karma Riuk
21735a236a created a websocket to witness the progress of the processing 2025-05-07 17:33:29 +02:00
Karma Riuk
3c9ab4c4be formatted file 2025-05-07 16:53:25 +02:00
Karma Riuk
c567b59635 added simple fronted 2025-05-07 13:05:25 +02:00
Karma Riuk
a16435b021 added routes to sumbit the answers 2025-05-07 13:05:15 +02:00
Karma Riuk
770d9b8f64 added tests 2025-04-28 16:27:11 +02:00
Karma Riuk
ac6518754f added route to download comment_gen and
code_refinment
2025-04-28 16:26:50 +02:00
Karma Riuk
59f68c677a indented code 2025-04-28 10:20:32 +02:00
Karma Riuk
17590b6348 fixed bug 2025-04-28 10:20:24 +02:00
Karma Riuk
a06d99352f added underscore to unused vars to remove lsp warning 2025-04-28 10:13:35 +02:00
Karma Riuk
83c53d6ed4 now using ES modules 2025-04-28 10:13:05 +02:00
Karma Riuk
89f9b323fa created basic backend, with simple routes 2025-04-28 10:09:10 +02:00