1
0
Fork 0
Data collection, validation, and processing framework for JavaScript [archive]
 
 
 
 
 
 
Go to file
Mike Gerwitz 1aa51775f3 [DEV-6968] Client: Hook classifier after initQuote
This saves a lot of time for large classifiers by waiting to invoke it until
after some initial bucket setup has been done.  In particular, initQuote.

DelayedStagingBucket exists to try to limit the number of events that are
kicked off.  In this case, initQuote typically uses setCommittedValues,
which DelayedStagingBucket does not override.  However, overriding it did
not provide a whole lot of benefit, since initQuote also calls
getDataByName, which forces DelayedStagingBucket to flush so that hooks can
run validations and such.

The last step in Client#_changeQuote is to force the classifier to run, so
this should be safe, unless calculated values happen to use classification
results, in which case they'll be momentarily wrong and then immediately
updated after the classifier runs.
2020-02-03 15:11:25 -05:00
bin [DEV-6710] [WIP] Save environment on quote save 2019-12-19 14:17:06 -05:00
build-aux Force tags for the version 2018-08-20 17:07:59 -04:00
conf [DEV-5312] Call data-processor and instantiate classes 2019-11-20 09:48:28 -05:00
doc doc/hacking.texi (TypeScript Migration): .d.ts reference 2019-10-24 10:30:14 -04:00
src [DEV-6968] Client: Hook classifier after initQuote 2020-02-03 15:11:25 -05:00
test [DEV-6721] Pass canterm to individual raters 2020-01-31 14:15:22 -05:00
tools LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
.env [DEV-5312] Create additional indexes and process less frequently 2019-12-16 09:27:29 -05:00
.gitignore bin/server: Convert to TypeScript 2019-11-12 16:21:00 -05:00
.gitlab-ci.yml [DEV-6721] Add optional code coverage 2020-01-31 15:57:33 -05:00
COPYING Placeholder README.md and license 2014-01-16 11:44:02 -05:00
COPYING.AGPL Near-complete liberation of liza 2017-06-08 14:38:28 -04:00
HACKING HACKING: Mention semver 2019-06-17 10:55:30 -04:00
Makefile.am [DEV-6721] Add optional code coverage 2020-01-31 15:57:33 -05:00
README.md Build typescript files 2019-10-17 11:47:14 -04:00
autogen.sh LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
configure.ac [DEV-6721] Add optional code coverage 2020-01-31 15:57:33 -05:00
index.js LoVullo Associates => R-T Specialty 2017-06-08 14:48:43 -04:00
package.json.in [DEV-6721] Add optional code coverage 2020-01-31 15:57:33 -05:00
tsconfig.json bin/delta-processor: Placeholder script 2019-11-11 16:53:58 -05:00

README.md

Liza Data Collection Framework

Liza is a data collection, validation, and processing framework for JavaScript.

About

The Liza Data Collection Framework—"Liza" for short—is an effort to clean up, formalize, and expand upon a framework that was developed at RT Specialty / LoVullo for collecting, validating, and processing large amounts of user input for insurance quoting.

Configuring

If your distribution does not contain a `configure' file in the project root, then you likely have the sources as committed to the project repository; you may generate the script by issuing the following command:

  $ ./autogen.sh

You may then see ./configure --help for more information.

Building

If configure is not available, see the section "Configuring" above.

  $ ./configure   # see --help for optional arguments
  $ npm install   # install js dependencies
  $ make          # build
  $ make check    # run test cases

Documentation

Compiled documentation for the latest release is available via our GitLab mirror, which uses the same build pipeline as we do on our internal GitLab instance. Available formats are:

Hacking

For more information on hacking Liza and publishing to npm, see HACKING.

License

Liza is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The liza server is licensed differently: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The full licenses are available in COPYING and COPYING.AGPL.