fannie_mae

command
v1.1.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2024 License: MIT Imports: 13 Imported by: 0

README

Fannie Mae integration test

Created using Ubuntu WSL. Other Linux flavors and MacOS may require edits.

fannie_mae_quicktest vs fannie_mae_bigtest

This test comes in two flavors.

fannie_mae_quicktest has all data ready, it just has to be copied to /tmp/capi_*, and you can run the test. Root-level copy_demo_data.sh script does that, among other things.

fannie_mae_bigtest is a variation of this test that uses large number of payment records borrowed from capillaries-fanniemae repo (~0.5mil mortgages insured in 2023).

Workflow

The DOT diagram generated with

go run capitoolbelt.go validate_script -script_file=../../../test/data/cfg/fannie_mae_quicktest/script.json -params_file=../../../test/data/cfg/fannie_mae_quicktest/script_params.json -idx_dag=true

and rendered in https://dreampuf.github.io/GraphvizOnline :

drawing

What's tested:

  • distinct_table node type
  • file_table read from multiple files file
  • table_file with top/limit/order
  • py_calc calculations taking JSON as input and producing JSON
  • table_lookup_table with parallelism, left outer grouped joins, string_agg() aggregate function

How to test

See integration tests section for generic instructions on how to run integration tests.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL