// Make a projection of the stock price of the top 5 AI companies, in the next 10 years, with a calculator for visualization import "hub:ozziegooen/sTest" as sTest @name("Top AI Companies") companies = [ { name: "GOOGL", description: "Alphabet Inc.", base: 2.02T,
@startClosed @doc("[Semantic versioning](https://semver.org) is used.") @name("Common Library Version") export version = "2.1.0" @startClosed @name("Change Log") changeLog = { "2.1.0": " - FEATURE: Add `publishDictionary` to strip a dictionary from its private attributes (`_*`).
import "hub:mlao-pdx/lib-common" as c import "hub:mlao-pdx/_quest" as q import "hub:mlao-pdx/pert" as p t = q.trueAssertion f = q.falseAssertion v = System.version debug = Danger.json @doc("Finance provided rate of employees.")
import "hub:mlao-pdx/lib-common" as c @doc("[Semantic versioning](https://semver.org) is used.") @name("Quest Library Version") export version = "0.0.0" @name("Change Log") changeLog = { "0.0.0": "- FEATURE: Initial development" } sampleCount = System.sampleCount()
import "hub:mlao-pdx/lib-common" as c /* A quick and dirty hack to merge sort a list of basic strings. Relatively easy to strip and reuse for other sorting needs. I'll come back later to clean-up and document. */ maxLength(lists) = lists
@doc("[Semantic versioning](https://semver.org) is used.") @name("beta-PERT version") export version = "1.0.0" @name("Change Log") changeLog = { "1.0.1": " - COSMETIC: Aligned documentation lay-out with other libraries", "1.0.0": " - FEATURE: Initial release"
import "hub:mlao-pdx/lib-common" as c import "hub:mlao-pdx/pert" as p @doc( "# Library of __QU__ antitative __EST__ imation Functions Functions that help build a cost estimation model in a single currency. All functions are data-first, unless explicitly stated otherwise in its documentation. See the calculator of each function for documentation.
import "hub:mlao-pdx/lib-quest" as q @name("FTE hourly rates") @doc("FTE hourly rates approved by Finance department.") fteHourlyRate = q.price(q.pert([75, 115, 250])) @name("E-Reader prices") @doc( "Kindle is the preferred e-Reader hardware due to large technical library. There are three versions: plain, fancy, and one with writing ability."
import "hub:mlao-pdx/test-common" as c import "hub:mlao-pdx/test-quest" as q _pass = "pass" _fail = "*** _fail ***" modelHeading(version) = { name = Tag.getName(version) List.join( [ "## [",
import "hub:mlao-pdx/lib-common" as c import "hub:mlao-pdx/_quest" as q _pass = "pass" _fail = "*** _fail ***" @name("Squiggle Version") squiggleVersion = System.version @name("mlao-pdx/lib-common") export version = c.version
import "hub:mlao-pdx/lib-common" as c @doc("[Semantic versioning](https://semver.org) is used.") @name("Quest Library Version") export version = "0.0.0" @name("Change Log") changeLog = { "0.0.0": "- FEATURE: Initial development" } @startClosed @doc("An atomic estimate based on a single price and single quantity.")
import "hub:mlao-pdx/lib-common" as c import "hub:mlao-pdx/_quest" as q _pass = "pass" _fail = "*** _fail ***" @name("Squiggle Version") squiggleVersion = System.version @name("mlao-pdx/_quest") export version = q.version
import "hub:mlao-pdx/exporter" as e lc = e.lowercase // Works lmc = e.lowerMixedCase // Works // umc = e.UpperMixedCase // Compile error // uc = e.UPPERCASE // Compile error
/** # TL;DR Expand all sections with a comment or calculator icon in render side. */ _ = {} /* Syntactic sugar */ assertion = bernoulli // Thanks to ozziegooen assumption = bernoulli risk = bernoulli scope = bernoulli