Skip to main content

10. Quality Requirements

10.1 Quality Tree

10.2 Quality Scenarios

Correctness

IDScenarioMeasurePriority
COR-1BestEx analysis for a loan produces the same ranked investor list as the desktop app when given identical rate sheets and loan data.Exact match of top 5 execution options (price, investor, program).Critical
COR-2Pooling engine produces pools that satisfy all agency constraints (min/max size, rate tolerance, product eligibility).Zero agency-rejected pools due to constraint violations.Critical
COR-3Risk position reconciliation produces the same net position as the desktop app.Position values match within $0.01.Critical
COR-4LLPA calculations apply the correct adjustments for all combinations of LTV, credit score, property type, occupancy, etc.Output matches desktop app for all test scenarios (regression suite).Critical

Performance

IDScenarioTargetPriority
PERF-1A user runs BestEx analysis on a single loan.Result returned in < 3 seconds.High
PERF-2A user runs BestEx analysis on a batch of 1,000 loans.All results returned in < 30 seconds.High
PERF-3A user opens the pipeline view with 5,000 loans.Page renders in < 2 seconds with virtual scrolling.High
PERF-4A user searches loans by multiple criteria.Results returned in < 1 second.Medium

Availability

IDScenarioTargetPriority
AVAIL-1SaaS platform uptime measured monthly.99.9% (< 43 minutes downtime/month).High
AVAIL-2Planned maintenance windows.< 4 hours/month, scheduled during off-peak hours.Medium
AVAIL-3Database failover.Automatic failover within 30 seconds.High

Security

IDScenarioTargetPriority
SEC-1A user from Tenant A attempts to access Tenant B's data.Request rejected. No data returned. Attempt logged.Critical
SEC-2An unauthenticated request hits the API.401 returned. No business logic executed.Critical
SEC-3SOC 2 Type II audit.Pass all applicable controls.Medium (long-term)
SEC-4Loan PII is accessed.All access logged in audit trail. Data encrypted at rest and in transit.High

Usability

IDScenarioTargetPriority
USE-1A new user (no desktop app experience) locks a loan, runs BestEx, and creates a trade.Completed within 30 minutes of first login, guided by UI.High
USE-2A migrating user (desktop app veteran) switches to power mode.Dense grid view with keyboard shortcuts matches desktop app interaction speed.Medium
USE-3A manager views pipeline summary dashboard.Key metrics visible without scrolling. Drill-down to details in one click.Medium