Skip to content

Commit

Permalink
Merge branch 'develop' into feature/modeling/reference
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonWehrhahn authored Dec 6, 2024
2 parents 31e8d59 + aa26799 commit 2657ff8
Show file tree
Hide file tree
Showing 75 changed files with 40,341 additions and 2,428 deletions.
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

0 comments on commit 2657ff8

Please sign in to comment.