Skip to content

Commit

Permalink
Update import statements for StructuredGradingCriterion
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonWehrhahn committed Sep 13, 2024
1 parent 7678f60 commit 32f35b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions athena/athena/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from . import contextvars
from .app import app
from .schemas import ExerciseType, GradingCriterion, StructuredGradingInstruction
from .schemas import ExerciseType, GradingCriterion, StructuredGradingInstruction, StructuredGradingCriterion
from .metadata import emit_meta, get_meta
from .experiment import get_experiment_environment
from .endpoints import submission_selector, submissions_consumer, feedback_consumer, feedback_provider, config_schema_provider, evaluation_provider # type: ignore
Expand Down Expand Up @@ -36,5 +36,6 @@ def run_module():
"get_experiment_environment",
"ExerciseType",
"GradingCriterion",
"StructuredGradingInstruction"
"StructuredGradingInstruction",
"StructuredGradingCriterion"
]
2 changes: 1 addition & 1 deletion athena/athena/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
from .modeling_feedback import ModelingFeedback
from .modeling_exercise import ModelingExercise
from .modeling_submission import ModelingSubmission
from .grading_criterion import GradingCriterion, StructuredGradingInstruction
from .grading_criterion import GradingCriterion, StructuredGradingInstruction, StructuredGradingCriterion
6 changes: 3 additions & 3 deletions modules/modeling/module_modeling_llm/poetry.lock

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

2 changes: 1 addition & 1 deletion modules/modeling/module_modeling_llm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"

[tool.poetry.dependencies]
python = "3.11.*"
athena = { git = "https://github.com/ls1intum/Athena.git", rev = "ccd00cf8346e76738a66e7f4cf04c84aa4cb4378", subdirectory = "athena"}
athena = { git = "https://github.com/ls1intum/Athena.git", rev = "7678f60343caf2489116c331cbe5ac253d1a4d07", subdirectory = "athena"}
openai = "1.42.0"
langchain = "0.2.15"
python-dotenv = "1.0.0"
Expand Down

0 comments on commit 32f35b2

Please sign in to comment.