Haskell Syntax Test and Haskell Runtime Test for Common Error Clustering#3
Haskell Syntax Test and Haskell Runtime Test for Common Error Clustering#3C8R15T14N wants to merge 105 commits intocsware:commonerrorsfrom
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.