emjun / tisane

Specification language for generating Generalized Linear Models (with or without mixed effects) from conceptual models
Apache License 2.0
21 stars 3 forks source link

Collecting Assertions #15

Open emjun opened 3 years ago

emjun commented 3 years ago

Right now, collecting and formatting assertions from properties of variables and effects sets is blended together into one step (see Tisane.collect_assertions and helper methods)

Seems to me that the right/better design would be: collect assertions -> dict [in Tisane class where going to be controlling modeling?] format assertions -> can pick ASP vs. SMT (hypothetically) although we are focusing on ASP [helper method] query with assertions -> knowledge base [KnowledgeBase is just a wrapper around the ASP solving process]

Pro:

Related Issues: Issue #9, #13