| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
[DEV-6306] Add testing instructions to README.md
[DEV-6306] Add assertion to retry template
|
|
|
|
|
|
| |
The UI values need to match AND the question needs to be
visible. We do not have the visibility classifications yet, so we need to
define externs to allow this to build.
|
| |
|
|
|
|
| |
Everything should use core/state.
|
|
|
|
| |
We want things to require documentation when possible.
|
|
|
|
|
| |
This is intended to work around the issue of defining arbitrary vectors
outside of a c:let.
|
|
|
|
|
| |
These are analaogus to the _match-*_ counterparts, but they convert @on@
into the question param and check against the applicability of the question.
|
|
|
|
|
|
| |
It doesn't makes sense to consider a question to be set if it's not even
applicable. This also helps to remove a bunch of duplicate code where these
templates are being used.
|
|
|
|
| |
This is the analog of _classify-scalar_.
|
| |
|
|
|
|
|
|
| |
* core/test/core/suite.xml: Import `vector/filter'.
* core/test/core/vector/filter.xml: New package.
* core/vector/filter.xml (_vfilter-mask_, _vfilter_mask): New template, function.
|
|
|
|
| |
core/test/core/vector/minmax.xml: Add missing @isvector@ test.
|
|
|
|
|
|
| |
* test/core/suite.xml: Import `test/core/vector/minmax'.
* test/core/vector/minmax.xml: New package.
* vector/minmax.xml (_minreduce_, _minreduce): New template, function.
|
|
|
|
|
|
|
|
|
| |
This now uses year ranges, which I'll update annually.
This also renames "R-T Specialty" to "Ryan Specialty Group". The latter is
the parent company of the former. I was originally employed under the
former when LoVullo Associates was purchased, by I now work for the parent
company.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These provide a more pleasent abstraction than having to reference CMP_OP_*
constants.
* core/test/core/vector/interpolate.xml: {t:when=>t:where-eq}.
* core/test/core/vector/table.xml: Likewise, but using the other variants
where appropriate given the value of `@op'.
* core/vector/interpolate.xml: Likewise.
* core/vector/table.xml (_when_, _where_): Rename former to latter and
provide deprecation warning.
(_when-lt_, _when-lte_, _when-gt_, _when-gte_): Add abstractions.
* src/current/rater.xsd: Permit template variable as tenplate name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is fairly primitive support and it completely sidesteps the bisect
algorithm for now. The next commit will abstract this a little bit further
to make it less awkward to use.
* core/test/core/vector/table.xml: New test cases.
* core/vector/filter.xml (CmpOp): New typedef.
(mfilter): Document that bisecting will not happen unless `CMP_OP_EQ'
is used. Implement that restriction.
[op]: New parameter. Provide it to `mrange'.
(_mfilter, _mrange_cmp): Rename from `_mfilter'. Implement new comparison
check based on `op'
[op]: New argument.
* core/vector/table.xml (_when_)[@op@]: New param. Add it to the produced
vector.
(_mquery): Unpack op (from `_when_') in call to `mfilter'.
|
|
|
|
|
|
|
|
| |
Just trying to clean up a little as I go to start to make it easier
to understand.
* core/vector/filter.xml: Use _when-*_ templates and c:recurse.
* core/vector/table.xml: Likewise.
|
|
|
|
|
| |
* core/test/core/suite.xml: Import core/test/core/vector/table.
* core/test/core/vector/table.xml: New specification.
|
|
|
|
| |
The former is deprecated and never made any sense at all.
|
|
|
|
|
|
| |
* core/test/spec.xml (_describe_): Enclose aggregate classification in a
series of nested expand-sequence to work around bug (described in
comment), which was causing test cases to not be compiled.
|
|
|
|
|
|
|
|
|
|
|
| |
This is a BC break since this generates assertions by default. To maintain
BC, set `@allow-zero@' and `@allow-negative@' to `true' in existing template
applications.
* core/insurance.xml
(assert_ignore_premium_zero, assert_ignore_premium_negative): New params.
(_premium_): Generate assertions.
[@allow-zero@, @allow-negative@]: New params.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is the start of a working build for core.
* .gitignore: Ignore generated files from configuration and build.
* build.xml: Copy from rater repo. This is the last remaining ant-based
dependency and can be gotten rid of; see comments.
* configure.ac: New file.
* rater/build-aux, rater/src: New symlinks.
|
|
|
|
|
| |
This is no longer necessary since tame-core was merged
with this repo.
|
|
|
|
|
|
|
|
|
| |
This was broken by a previous commit, but was not noticed because
the test cases aren't being compiled as part of the build yet!
Now that we have tamed, that is an option.
* test/core/insurance.xml: Add missing @desc@.
|
| |
|
| |
|
|
|
|
| |
* core/insurance.xml (_premium_)[@desc@]: Make required.
|
|
|
|
|
|
| |
* core/insurance.xml (_premium_)[@yields@]: New param with validations.
Will enforce naming conventions.
Update TODOs.
|
|
|
|
|
|
|
| |
This is potentially dangerous, but is consistent with _factor_.
* insurance.xml (_credit_, _debit_)[@default@]: New param, propagated to
`_factor_'.
|
|
|
|
| |
* param.xml: New package
|
|
|
|
|
|
|
| |
* assert.xml (_assert_)[@neg-desc@]: New param to allow setting the
description of the negative classification. This is especially useful
when humans are going to be reading the assertion classifications; it can
otherwise be very confusing.
|
|
|
|
|
|
|
|
| |
* assert.xml (_assert_)[@neg-as@, @neg-yields@]: Rename from `@neg_as@' and
`@neg_yields' respectively.
This renames these params to be consistent with modern standards.
We want to do this before they're actually in use.
|
|
|
|
| |
* insurance.xml (_credit_, _debit_): New templates.
|
|
|
|
| |
* insurance.xml (_factor_)[@allow-negative@]: New param.
|
|
|
|
|
| |
* insurance.xml (_factor_): Permit @yields only. Otherwise, using a
generator is required with these templates, which is not always desirable.
|
|
|
|
| |
* insurance.xml: Add map import as export.
|
|
|
|
|
| |
* base.xml (maybe, nothing): New types.
(boolean): Move into `maybe' as union member.
|
|
|
|
| |
* state.xml (stateAll): New yield to state-all.
|
|
|
|
|
|
|
| |
This won't be a problem in practice if nothing imports the
package, so existing systems won't be affected.
* datetime.xml: New assertion for timestamp_current.
|
|
|
|
|
| |
* alias.xml (_classify-alias_, _rate-alias_, _rate-each-alias_): Generate
nothing if source matches alias name.
|
|
|
|
|
|
| |
Makes life a bit easier when debugging.
* assert.xml (assert_ignore): Add param.
|
|
|
|
|
|
| |
* symbol.xml: New package.
* test/core/suite.xml: Import new symbol package.
* test/core/symbol.xml: New test spec.
|
|
|
|
| |
I regret the original naming.
|
|
|
|
| |
* ui.xml (_match-ui-set_): New template.
|
|
|
|
| |
* vector/cmatch.xml (_classify-scalar_): Typo fix {yeilds=>yields}.
|
|
|
|
|
|
| |
Noticed this when running a rater in an interactive terminal.
* vector/arithmetic.xml (_mproduct): Remove `debug-to-console'.
|
|
|
|
|
| |
* insurance.xml (_factor_): Enforce naming conventions; allow defaults;
assert on zero values.
|
| |
|
|
|
|
| |
* vector/fold.xml (_fold-matrix_): New template.
|