Business rules

Business rules management lets your team instantly update business rules without relying on engineering or redeploying your app.

Problem

Without business rules management, rules are typically hardcoded. This results in several challenges:

  • Compliance, product, and ops teams:

    • Don't have visibility on business rules and so cannot verify their correctness.

    • Can't safely update business rules themselves.

    • Consume engineering resources with requests to update business rules.

  • Updates to business rules are slow as they require code changes and app redeploys.

  • There's no single source of truth for business rules across different codebases.

  • Business rules can't be tuned with experimentation to improve metrics while controlling risk.

Solution

Define business rules in Hypertune flags instead of hardcoding them:

type BusinessRules {
  isApplicantEligibleForLoan(
    creditScore: Int!,
    annualIncomeUsd: Boolean!,
    debtToIncomeRatio: Float!,
    loanAmountRequestedUsd: Int!,
    riskScore: Int!,
    loanToValueRatio: Float!
  ): Boolean!
  
  claimRequiresAdjusterReview(
    claimAmount: Int!,
    policyCoverageLimit: Int!
  ): Boolean!
}

Then reference them in your code:

This empowers compliance, product, and ops to view and instantly update business rules from the Hypertune dashboard without any code changes or redeploys:

Benefits

  • Compliance, product, and ops teams:

    • Have visibility on business rules so can verify their correctness.

    • Can safely update business rules themselves.

    • Don't need to bother engineering with requests to update business rules.

  • Business rules can be updated instantly without any code changes or app redeploys.

  • Business rules are consolidated into a single source of truth across different codebases.

  • Business rules can be tuned with experimentation to improve metrics while controlling risk.

ROI

These benefits help teams:

  • Stay compliant.

  • Control risk.

  • Improve key business metrics.

  • Move faster with the same headcount.

Last updated