1. 26 Oct, 2020 7 commits
  2. 21 Oct, 2020 6 commits
    • Philip Elson's avatar
      Abstract the model state so that we can mutate it conveniently. · f63e1d37
      Philip Elson authored
      This rather large change adds a layer between the underlying (immutable) model and the application.
      In doing so we can avoid the use of a global state (useful for the purposes of configuring multiple models in the same application later on) and it also unlocks the ability to implement an MVC-like separation of concerns - again, the intention is that when it comes to comparisons, we will just be able to re-use our application views.
      
      I was hoping that ``cara.state`` could have been avoided in lieu of using traitlets, but unfortunately I found a number of limitations which were prohibitive for its use here.
      Foremost of which was the lack of first-class dataclass support and the difficulty in needing either to use instances of the model (immutable) or duplicate the model and its structure in a mutable form and use the ``traitlets.Instance`` type.
      Instead I opted for doing it myself - the ``cara.state`` module would make a very good standalone project in the future.
      f63e1d37
    • Philip Elson's avatar
      Merge branch 'ventilation' into 'master' · 69730bfb
      Philip Elson authored
      Ventilation
      
      See merge request cara/cara!2
      69730bfb
    • markus's avatar
      use smaller fixtures · ffd0bc80
      markus authored
      ffd0bc80
    • markus's avatar
      hard-code correct answers in tests · ea47010e
      markus authored
      ea47010e
    • markus's avatar
      add default value to cd_b · 964aff62
      markus authored
      964aff62
    • markus's avatar
      add docstring to cd_b · 2e03934d
      markus authored
      2e03934d
  3. 20 Oct, 2020 20 commits
  4. 19 Oct, 2020 2 commits