Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create winnowing module for programming exercises #315

Merged
merged 91 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
505dd2e
Bump next from 13.5.6 to 14.1.1 in /playground
dependabot[bot] May 10, 2024
80cc39a
Merge branch 'develop' into dependabot/npm_and_yarn/playground/next-1…
maximiliansoelch May 11, 2024
7769e87
use unique keys across artemis instances
dmytropolityka May 12, 2024
88e5ba7
set values from .env and .ini
dmytropolityka May 13, 2024
cfc9f1f
change authorization process
dmytropolityka May 19, 2024
a376fcb
extend database to store artemis url
dmytropolityka May 19, 2024
d356749
fix bugs
dmytropolityka May 19, 2024
1757ea8
Merge branch 'develop' into feature/decouple-artemis-from-athena
dmytropolityka May 19, 2024
7df5183
fix linting issues
dmytropolityka May 19, 2024
6f837a1
add further deployments
dmytropolityka May 19, 2024
749aeae
remove dotenv
dmytropolityka May 19, 2024
cf8bd83
remove dotenv and unused code
dmytropolityka May 19, 2024
9348bf3
adjust deployment units
dmytropolityka May 19, 2024
f014359
make deployments not compulsory
dmytropolityka May 19, 2024
76df5d9
bugs
dmytropolityka May 20, 2024
bc293fa
more logging
dmytropolityka May 20, 2024
61dfd0a
more logging
dmytropolityka May 20, 2024
92b5424
fix bug
dmytropolityka May 20, 2024
2db5fa9
rename unique constraint
dmytropolityka May 20, 2024
c95634f
Update __main__.py
dmytropolityka May 27, 2024
646d51e
Merge branch 'develop' into dependabot/npm_and_yarn/playground/next-1…
maximiliansoelch May 27, 2024
1f552cc
Bump mysql2 from 3.9.7 to 3.9.8 in /playground
dependabot[bot] May 30, 2024
af34b89
rename artemis_url to lms_url
dmytropolityka Jun 2, 2024
4ae0c27
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/playgrou…
dmytropolityka Jun 2, 2024
e0be309
make playground work for multi-instance setup; add non-graded feedbac…
dmytropolityka Jun 2, 2024
8fb8fd1
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/playgrou…
dmytropolityka Jun 3, 2024
ea0696e
Merge branch 'develop' into feature/decouple-artemis-from-athena
maximiliansoelch Jun 6, 2024
c74b112
rename artemis_url into lms_url, further occurrences
dmytropolityka Jun 7, 2024
0f45254
rename artemis into lms, further occurrences
dmytropolityka Jun 7, 2024
4324ea6
Merge branch 'develop' into feature/decouple-artemis-from-athena
dmytropolityka Jun 7, 2024
7f1a317
update user and key
dmytropolityka Jun 7, 2024
2cb90bc
Revert "update user and key"
dmytropolityka Jun 9, 2024
d93daf7
remove unnecessary yarn lock file
dmytropolityka Jun 9, 2024
8fad620
Merge remote-tracking branch 'origin/feature/playground-self-learning…
dmytropolityka Jun 9, 2024
ce88507
Merge branch 'feature/decouple-artemis-from-athena' into feature/play…
dmytropolityka Jun 9, 2024
d763ed1
update experiments
dmytropolityka Jun 9, 2024
cd2474b
remove server config prior to deployment
dmytropolityka Jun 9, 2024
4a6091b
Add new module for winnowing algorithm
marlon-luca-bu May 12, 2024
1b8d631
Add AST creation in winnowing module
marlon-luca-bu Jun 16, 2024
6bb3cde
Add specific AST creation for winnowing module
marlon-luca-bu Jun 21, 2024
c997586
adapt dockerfile
dmytropolityka Jun 21, 2024
4ff298d
Revert copypaste erros
marlon-luca-bu Jun 23, 2024
6f60c8b
add debug statement
dmytropolityka Jun 24, 2024
0aeab86
modify dockerfile
dmytropolityka Jun 24, 2024
a1a050c
Add correct implementation of winnowing
marlon-luca-bu Jun 30, 2024
892057e
change signature of suggest_feedback for other modules
dmytropolityka Jul 2, 2024
17e872a
Merge remote-tracking branch 'origin/feature/playground-self-learning…
dmytropolityka Jul 2, 2024
bd97e9a
Add feedback provider
marlon-luca-bu Jul 3, 2024
01261d6
change themis to winnowing
marlon-luca-bu Jul 3, 2024
fea9e88
Debug
marlon-luca-bu Jul 4, 2024
81d0220
Fix merge conflict
marlon-luca-bu Jul 4, 2024
b28265d
add localhost to server configuration
dmytropolityka Jul 5, 2024
21b1249
modules have information whether they support non graded feedback req…
dmytropolityka Jul 7, 2024
8c2bc65
add differentiation whether to include to client code
dmytropolityka Jul 7, 2024
6229a4b
fix mypy error
dmytropolityka Jul 7, 2024
5c40f7b
Add correct way of similiarity measurement
marlon-luca-bu Jul 8, 2024
790c07c
Merge branch 'develop' into feature/playground-self-learning-feedback
FelixTJDietrich Jul 15, 2024
62b66cd
Merge branch 'develop' into feature/playground-self-learning-feedback
FelixTJDietrich Jul 15, 2024
653e8e5
Merge branch 'develop' into feature/playground-self-learning-feedback
FelixTJDietrich Jul 16, 2024
ba8d0e9
Update Dockerfile
dmytropolityka Jul 17, 2024
c0a3d14
Fix failing comparison
marlon-luca-bu Jul 18, 2024
f4e8adf
Add correct winnowing of python code
marlon-luca-bu Jul 18, 2024
058daa3
Resolve Mergeconflict
marlon-luca-bu Jul 18, 2024
b396d02
Fix typo
marlon-luca-bu Jul 18, 2024
7a134a4
poetry.lock
marlon-luca-bu Jul 18, 2024
2958c5f
ATTENTION: This commit needs to be revertedgit add .
marlon-luca-bu Jul 18, 2024
fb795cd
update default port
dmytropolityka Jul 19, 2024
059bbe8
revert merged dockerfile
dmytropolityka Jul 19, 2024
5c80031
Merge branch 'feature/playground-self-learning-feedback' into feature…
dmytropolityka Jul 19, 2024
520b212
Merge branch 'feature/create_module_programming_winnowing' of github.…
marlon-luca-bu Jul 19, 2024
8099a5d
fix issues
dmytropolityka Jul 19, 2024
e949b0f
import apted module
dmytropolityka Jul 19, 2024
436ca55
push lock files
dmytropolityka Jul 19, 2024
b765b7b
include dependency module in dockerfile
dmytropolityka Jul 19, 2024
0266448
Resolve mergeconflict
marlon-luca-bu Jul 20, 2024
b19a56c
Fix small bug
marlon-luca-bu Jul 21, 2024
bada946
Small adaption
marlon-luca-bu Jul 23, 2024
f03c4a9
Resolve mergeconflict
marlonbucciarelli Nov 15, 2024
afa55b4
Move winnowing module to new package structure
marlonbucciarelli Nov 16, 2024
869b508
Merge branch 'develop' into feature/create_module_programming_winnowing
marlonbucciarelli Nov 30, 2024
4a33051
Revert pydantic version adaption in athena module
marlonbucciarelli Nov 30, 2024
9d65cf9
Remove adpted dependencies
marlonbucciarelli Nov 30, 2024
7ac0e6f
Revert Merge conflicts changes and bugs - make module runnable again
marlonbucciarelli Nov 30, 2024
7984678
add poetry.lock again
marlonbucciarelli Nov 30, 2024
b66b807
Add ignore path to prospector
marlonbucciarelli Nov 30, 2024
3b1c49a
Add ignore path to prospector
marlonbucciarelli Nov 30, 2024
785c965
Add missing runconfigs
marlonbucciarelli Dec 1, 2024
45d03d1
Merge branch 'develop' into feature/create_module_programming_winnowing
maximiliansoelch Dec 2, 2024
39a67bf
Remove unnecessary init.py files + align pydantic version across modules
maximiliansoelch Dec 3, 2024
cb842f4
Update athena core module in winnowing and apted module
maximiliansoelch Dec 4, 2024
2aecaaf
Fix module config for apted & winnowing module
maximiliansoelch Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .idea/runConfigurations/module_programming_apted.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions .idea/runConfigurations/module_programming_winnowing.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ignore-paths:
- module_programming_themisml/extract_methods/languages
- module_programming_themisml/extract_methods/method_parser_listener.py
- module_programming_apted/convert_code_to_ast/languages
- module_programming_winnowing/convert_code_to_ast/languages
- module_programming_winnowing/test_codes

mypy:
run: true
Expand Down
8 changes: 7 additions & 1 deletion assessment_module_manager/modules.docker.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ url = http://module-programming-apted:5006
type = programming
supports_evaluation = false
supports_non_graded_feedback_requests = false
supports_graded_feedback_requests = false
supports_graded_feedback_requests = true

[module_modeling_llm]
url = http://module-modeling-llm:5008
Expand All @@ -47,3 +47,9 @@ supports_evaluation = false
supports_non_graded_feedback_requests = true
supports_graded_feedback_requests = true

[module_programming_winnowing]
url = http://module-programming-winnowing:5009
type = programming
supports_evaluation = false
supports_non_graded_feedback_requests = false
supports_graded_feedback_requests = true
9 changes: 8 additions & 1 deletion assessment_module_manager/modules.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ url = http://localhost:5006
type = programming
supports_evaluation = false
supports_non_graded_feedback_requests = false
supports_graded_feedback_requests = false
supports_graded_feedback_requests = true

[module_modeling_llm]
url = http://localhost:5008
Expand All @@ -47,3 +47,10 @@ supports_evaluation = false
supports_non_graded_feedback_requests = true
supports_graded_feedback_requests = true

[module_programming_winnowing]
url = http://localhost:5009
type = programming
supports_evaluation = false
supports_non_graded_feedback_requests = false
supports_graded_feedback_requests = true

8 changes: 8 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ services:
- postgres
image: ls1tum/athena_module_programming_apted:${ATHENA_TAG:-develop}

module_programming_winnowing:
hostname: module-programming-winnowing
env_file:
- ${ATHENA_ENV_DIR:-./env_example}/module_programming_winnowing.env
depends_on:
- postgres
image: ls1tum/athena_module_programming_winnowing:${ATHENA_TAG:-develop}

module_modeling_llm:
hostname: module-modeling-llm
env_file:
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ services:
- llm_core
ports:
- "5008:5008"

module_programming_winnowing:
hostname: module-programming-winnowing
build: modules/programming/module_programming_winnowing
depends_on:
- athena
ports:
- "5009:5009"
3 changes: 3 additions & 0 deletions env_example/module_programming_winnowing.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PRODUCTION=1
SECRET=12345abcdef
DATABASE_URL=postgresql://postgres:password@postgres:5432/athena
4 changes: 2 additions & 2 deletions modules/programming/module_example/module_example/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Entry point for the module_example module.
Entry point for the module_example.
"""
import random
from typing import List, Any
Expand All @@ -13,7 +13,7 @@

@config_schema_provider
class Configuration(BaseModel):
"""Example configuration for the module_example module."""
"""Example configuration for the module_example."""
debug: bool = Field(False, description="Whether the module is in **debug mode**. This is an example config option.")


Expand Down
Loading
Loading