Liking cljdoc? Tell your friends :D

brew-bot.styles

Convenience functions and refs to access recipe style data

Convenience functions and refs to access recipe style data
raw docstring

beer-stylesclj/s

source

global-abv-rangeclj/s

source

global-ibu-rangeclj/s

source

global-original-gravity-rangeclj/s

source

global-srm-rangeclj/s

source

score-abv-adherenceclj/s

source

score-adherence-to-rangeclj/s

(score-adherence-to-range global-range local-range data-point)

Determine on a normalized scale how well data-point fits in local-range w.r.t a global-range. Higher values indicate better fits. Assumes global-range and local-range to be order tuples

Determine on a  normalized scale how well `data-point` fits in `local-range` w.r.t a `global-range`.
Higher values indicate better fits.
Assumes global-range and local-range to be order tuples
sourceraw docstring

score-against-stylesclj/s

(score-against-styles recipe)

Given a recipe, create a map from BJCP styles to the normalized value of the recipe's conformance to that style

Given a recipe, create a map from BJCP styles to the normalized value of the recipe's conformance to that style
sourceraw docstring

score-ibu-adherenceclj/s

source

score-original-gravity-adherenceclj/s

source

score-range-deltaclj/s

(score-range-delta scale conforming-point data-point)

Determine on a normalized scale how close data-point was to conforming-point given the scale Shorter distances are scored higher, and currently this is determined quadratically

Determine on a normalized scale how close `data-point` was to `conforming-point` given the `scale`
Shorter distances are scored higher, and currently this is determined quadratically
sourceraw docstring

score-srm-adherenceclj/s

source

score-style-adherenceclj/s

(score-style-adherence recipe style)

Given a recipe and a codified beer style, return a normalized score on how well the recipe adheres to BJCP guideleines for that style

Given a recipe and a codified beer style,
return a normalized score on how well the recipe adheres to BJCP guideleines for that style
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close