The Cartographer
The Cartographer is Flightline’s scenario mapping engine. It identifies what needs to be tested before any data is generated.What It Does
Before generating random test data, the Cartographer analyzes your schema to identify dimensions of variance: the axes along which your inputs can vary and potentially cause different behaviors.Why Mapping Matters
Most test generation tools create random data. This leads to:- Redundant test cases (100 “normal” scenarios)
- Missing edge cases (the one bankruptcy case you needed)
- Wasted compute on uninteresting variations
How It Works
Step 1: Dimension Detection
Given a schema, the Cartographer identifies dimensions:Step 2: Edge Case Identification
For each dimension, the Cartographer identifies interesting regions:| Dimension | Regions |
|---|---|
| Credit | low, fair, good, excellent |
| Income | zero, low, median, high |
| LoanType | FHA, Conventional, Jumbo, VA |
| Risk Flag | true, false |
Step 3: Scenario Generation
Dimensions are combined to create targeted scenarios:| Scenario | Description |
|---|---|
| 1 | High credit, low income, Jumbo loan |
| 2 | Bankruptcy within 7 years, FHA loan |
| 3 | Zero income, employed status (inconsistency test) |
| 4 | Maximum loan amount, minimum credit |
The Latent Space
We call the space of all possible inputs the “latent space.” The Cartographer’s job is to identify:- Clusters: Groups of similar inputs (the normal cases)
- Boundaries: Edges where behavior might change (credit score thresholds)
- Voids: Untested regions that could hide bugs
