jwaldmann / star-exec-presenter

presentation platform for star-exec written in Haskell and based upon Yesod
2 stars 7 forks source link

htmlProof is computed in the wrong place and it should not be stored #150

Open jwaldmann opened 7 years ago

jwaldmann commented 7 years ago

in config/models we have

JobPairInfo
   ...
    stdout ByteString
    htmlProof ByteString Maybe

this information is computed at Presenter.Starexec.Command.getJobPairInfo.

This feels wrong. We should just store stdout, and compute the html stuff on the fly, in Handler.ShowJobPair.getShowJobPairR.