Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8f55173
Top-down mockup of planned structure and first version of common crit…
KarlLundengaard Jun 6, 2024
a243107
Fully functional conversion of symbolic comparison part
KarlLundengaard Jul 11, 2024
e9474a5
New version with physical quantity functionality integrated
KarlLundengaard Aug 12, 2024
09f81bf
Merge branch 'main' into tr124-criteria-graph-conversion
KarlLundengaard Aug 22, 2024
849253b
Added ability to compare quantities with each other and fixed some bu…
KarlLundengaard Aug 27, 2024
a8d7709
Cleanup and bug fixes
KarlLundengaard Aug 27, 2024
7c6b42d
Bug-fixing and general clean-up
KarlLundengaard Aug 27, 2024
f8dd544
Reorganisation and cleanup
KarlLundengaard Aug 27, 2024
e0edd54
Fixed preview test imports
KarlLundengaard Aug 27, 2024
48bda7e
Hopefully fixed the intermittent failure of some tests
KarlLundengaard Aug 28, 2024
457769b
Fixed so that redundant spaces are removed after substitution in expr…
KarlLundengaard Aug 28, 2024
1d35fc8
General cleanup and bug-fixing
KarlLundengaard Aug 28, 2024
dd1b145
Updated Dockerfile and requirements after refactoring
KarlLundengaard Aug 28, 2024
75ed4c5
Removed flowchart for physical quantities that is no longer correct
KarlLundengaard Aug 28, 2024
4cceb07
Moved substitution of plus_minus and minus_plus into expression parsi…
KarlLundengaard Aug 28, 2024
b349fac
Updated development docs
KarlLundengaard Aug 28, 2024
076e6cd
Fix typo
KarlLundengaard Sep 10, 2024
c99d27c
Fixed bug and simplified code for finding significant digits
KarlLundengaard Sep 10, 2024
6da9111
Removed redundant check when creating expression sets
KarlLundengaard Sep 10, 2024
62df654
Brought up to par with main
KarlLundengaard Dec 3, 2024
62e7f67
Updated user documentation
KarlLundengaard Dec 4, 2024
b467a44
Updated documentation and examples
KarlLundengaard Dec 14, 2024
a762afc
Added capacity to have order comparisons (>, >=, <, <=) in criteria
KarlLundengaard Dec 15, 2024
fcee544
Added criteria for checking if expression contains a specific free sy…
KarlLundengaard Dec 16, 2024
50290c0
Fixed bug with latex input that contained \pm or \mp
KarlLundengaard Jan 10, 2025
47ce634
Collected default values of parameters in their respective contexts
KarlLundengaard Feb 18, 2025
1a94457
Added basic description of evaluation procedure to developer document…
KarlLundengaard Mar 19, 2025
22a68cc
Added function to override elementary symbol names using symbol aliases
KarlLundengaard May 15, 2025
930f50f
Updated gitignore to ignore PyCharm files
m-messer May 26, 2025
f0e4260
Fixed bug with less_than function, incorrect symbol was used. Added t…
m-messer May 26, 2025
b2d7882
Fixed some issues with input symbols and inequalities in criteria
KarlLundengaard Jun 3, 2025
472319a
added 'proportional to' criteria
KarlLundengaard Jun 4, 2025
87b6aa3
Improved feedback customization
KarlLundengaard Jun 5, 2025
a9ac616
Reactivated some tests
KarlLundengaard Jun 5, 2025
fe84acd
Merge pull request #211 from m-messer/physical_quantitiy_<=_fix
KarlLundengaard Jun 9, 2025
28e2c25
Combined order operator tests into one more comprehensive parametrize…
KarlLundengaard Jun 9, 2025
1c3453a
Updated and fixed bugs found when comparing to questions from lambda-…
KarlLundengaard Jul 23, 2025
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,5 @@ app/benchmark.py
*.wpr
*.wpu
app/profiling_examples.py

.idea/
56 changes: 32 additions & 24 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Base image that bundles AWS Lambda Python 3.8 image with some middleware functions
# FROM base-eval-tmp
FROM rabidsheep55/python-base-eval-layer
# FROM rabidsheep55/python-base-eval-layer
FROM ghcr.io/lambda-feedback/baseevalutionfunctionlayer:main-3.8

RUN yum install -y git

Expand All @@ -10,39 +11,46 @@ WORKDIR /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt

# Copy scripts
COPY comparison_utilities.py ./app/
COPY criteria_utilities.py ./app/
COPY criteria_graph_utilities.py ./app/
# Copy main scripts
COPY evaluation.py ./app/
COPY evaluation_response_utilities.py ./app/
COPY evaluation_tests.py ./app/
COPY example_tests.py ./app/
COPY symbolic_comparison_preview.py ./app/
COPY symbolic_comparison_preview_tests.py ./app/
COPY expression_utilities.py ./app/
COPY preview.py ./app/
COPY preview_tests.py ./app/
COPY preview_utilities.py ./app/
COPY quantity_comparison_preview.py ./app/
COPY quantity_comparison_preview_tests.py ./app/
COPY quantity_comparison_evaluation_tests.py ./app/
COPY slr_parsing_utilities.py ./app/
COPY slr_quantity.py ./app/
COPY slr_quantity_tests.py ./app/
COPY syntactical_comparison_utilities.py ./app/
COPY symbolic_comparison_evaluation.py ./app/
COPY symbolic_comparison_evaluation_tests.py ./app/
COPY unit_system_conversions.py ./app/

# Copy contexts
COPY context/physical_quantity.py ./app/context/
COPY context/symbolic.py ./app/context/

# Copy feedback messages
COPY feedback/quantity_comparison.py ./app/feedback/
COPY feedback/symbolic_comparison.py ./app/feedback/
COPY feedback/physical_quantity.py ./app/feedback/
COPY feedback/symbolic.py ./app/feedback/

# Copy preview implementations
COPY preview_implementations/physical_quantity_preview.py ./app/preview_implementations/
COPY preview_implementations/symbolic_preview.py ./app/preview_implementations/

# Copy tests
COPY tests/example_tests.py ./app/tests/
COPY tests/physical_quantity_evaluation_tests.py ./app/tests/
COPY tests/physical_quantity_preview_tests.py ./app/tests/
COPY tests/slr_quantity_tests.py ./app/tests/
COPY tests/symbolic_evaluation_tests.py ./app/tests/
COPY tests/symbolic_preview_tests.py ./app/tests/

# Copy utility code
COPY utility/criteria_graph_utilities.py ./app/utility/
COPY utility/criteria_parsing.py ./app/utility/
COPY utility/evaluation_result_utilities.py ./app/utility/
COPY utility/expression_utilities.py ./app/utility/
COPY utility/physical_quantity_utilities.py ./app/utility/
COPY utility/preview_utilities.py ./app/utility/
COPY utility/slr_parsing_utilities.py ./app/utility/
COPY utility/syntactical_comparison_utilities.py ./app/utility/
COPY utility/unit_system_conversions.py ./app/utility/

# Copy Documentation
COPY docs/dev.md ./app/docs/dev.md
COPY docs/user.md ./app/docs/user.md
COPY docs/quantity_comparison_graph.svg ./app/docs/quantity_comparison_graph.svg

# Set permissions so files and directories can be accessed on AWS
RUN chmod 644 $(find . -type f)
Expand Down
21 changes: 0 additions & 21 deletions app/comparison_utilities.py

This file was deleted.

Loading