-
Notifications
You must be signed in to change notification settings - Fork 5
Haskell Syntax Test and Haskell Runtime Test for Common Error Clustering #3
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
base: commonerrors
Are you sure you want to change the base?
Conversation
- implementation missing, marked with TODO@CHW and will be similar as in docker test
- extends DockerTest
- view: HaskellRuntimeTestManagerView (based on DockerTestManagerOverView) - controller: HaskellRuntimeTestManager (based on DockerTestManager)
Conflicts during rebase: src/main/java/de/tuclausthal/submissioninterface/persistence/dao/TestDAOIf.java src/main/java/de/tuclausthal/submissioninterface/persistence/dao/impl/TestDAO.java src/main/java/de/tuclausthal/submissioninterface/servlets/controller/TestManager.java
…r than the first error message
.../de/tuclausthal/submissioninterface/servlets/view/fragments/ShowHaskellSyntaxTestResult.java
Outdated
Show resolved
Hide resolved
|
Wouldn't an extension/property to the DockerTest be a better approach to not duplicate a lot of code? |
- DockerTestManager now also handles case of HaskellRuntimeTest (since HaskellRuntimeTest is a specialization of DockerTest) - HaskellRuntimeTestManager is kept for consistency (it is the corresponding controller servlet of HaskellRuntimeTestManagerView)
Regarding the Haskell Runtime Test:
|
…les for HaskellSyntaxTest
Regarding the Haskell Syntax Test: HaskellSyntaxTest now extends the a modularaized version of DockerTest and thereby uses already defined functions hopefully this will reduce code duplicates. |
|
I was curious whether a new attribute for the dockertest may already solve the issue. Such attribute could later also be used to selected different images. |
Prof. Kinder also informed me about it, thank you! I'm already working on it. |
This should be fixed now. The error occured since the ghci version on the testserver was slightly newer and produced a different output when browsing the haskell file. |
…)" in ghci to prefer Int/Double over () when calling :type +d
|
@csware The code is ready to be deployed from my side. |
…ntMap (Maybe Int) instead of "CyclicIntMap MaybeInt" - Now, functions from a -> Maybe b are supported as well
…r form when concrete type signature is unavailable
- Test case generator and editor to create runtime tests for Haskell tasks
- Clusters haskell submissions based on the runtime test results.