Ethan Christian

Results 14 issues of Ethan Christian

…rializing rulebase https://github.com/cerner/clara-rules/issues/264

From a question in the [Google group](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/clara-rules/X292kttK9dw/IeObtEegAwAJ), it seems we might want to expose a Java interface over the [inspect](https://github.com/cerner/clara-rules/blob/master/src/main/clojure/clara/tools/inspect.cljc) functionality. As a first pass this would likely be labeled...

enhancement
session-inspection

With the default implementation of the session([LocalSession](https://github.com/cerner/clara-rules/blob/0.20.0/src/main/clojure/clara/rules/engine.cljc#L1828)), the way that [query](https://github.com/cerner/clara-rules/blob/0.20.0/src/main/clojure/clara/rules/engine.cljc#L1973-L1988) is implemented it currently expects the caller to provide the parameters that the query expects, without explicitly verifying that...

enhancement
error-reporting
documentation

Per community feedback from the slack channel, It would be helpful if during compilation Clara would warn when a rule bound a variable but didn't use it. This sort of...

enhancement

Given the following example: ``` (ns durability-issue (:require [clara.rules :as r] [clara.rules.compiler :as com] [clara.rules.durability :as dur] [clara.rules.durability.fressian :as fres] [clojure.set :as set] [clara.rules.engine :as eng]) (:import [java.io ByteArrayOutputStream ByteArrayInputStream]))...

bug
durability

Clara already defines mathematical accumulators, such as [min](https://github.com/cerner/clara-rules/blob/0.19.1/src/main/clojure/clara/rules/accumulators.cljc#L118-L125) and [max](https://github.com/cerner/clara-rules/blob/0.19.1/src/main/clojure/clara/rules/accumulators.cljc#L127-L134). Per an offline conversation with a fellow member of the community, they mentioned that it might be nice to also...

enhancement
question

Per a discussion in the [clara](https://clojurians.slack.com/messages/C08TC9JCS) slack, there is an interesting behavior when a production tries to leverage a protocol as its `fact-type`. For example, ``` (defprotocol MarkerProto) (defrecord SomeFact...

enhancement
question

Given the following rule: ``` (defrecord A [a]) (defrecord B [b]) (defrule a-rule [A (= ?a a)] [B (= ?r (conj b ?a)) (not-empty? ?r)] => (println "doesn't matter")) ```...

bug

As part of #404, I introduced performance testing to cljs. A side effect of this was that the tests were running as part of the main build, and this is...

testing