Skip to main content

RiskAssessor

Category: Specialized | Module: mycontext.templates.free.specialized

Comprehensive risk assessment using enterprise risk management frameworks. Identifies risks across five categories, scores them by probability × impact, maps interdependencies, develops mitigation strategies, and produces a go/no-go recommendation.

When to Use

  • Before a major business decision or investment
  • Project kickoff risk identification
  • Product launch preparation
  • Vendor or partnership evaluation
  • Strategic initiative planning
  • Technical architecture review

Quick Start

from mycontext.templates.free.specialized import RiskAssessor

assessor = RiskAssessor()

ctx = assessor.build_context(
decision="Launching a new enterprise product line targeting Fortune 500 companies",
depth="comprehensive",
)
result = ctx.execute(provider="openai")
print(result.response)

Methods

build_context(decision, context="", depth="detailed")

Parameters:

ParameterTypeDefaultDescription
decisionstrrequiredThe decision, project, or situation to assess
contextstr""Additional context about the situation
depthstr"detailed"Assessment depth

execute(provider, decision, context="", depth="detailed", **kwargs)

result = assessor.execute(
provider="openai",
decision="Migrating production database from PostgreSQL to MongoDB",
context="5TB database, 200 microservices dependent, zero downtime required",
depth="comprehensive",
)

Risk Categories

The pattern systematically identifies risks across five domains:

CategoryExamples
StrategicMarket changes, competitive threats, reputation damage
OperationalProcess failures, resource constraints, technical issues
FinancialCost overruns, revenue shortfalls, budget constraints
Compliance/LegalRegulatory changes, legal liabilities, compliance failures
ExternalEconomic factors, political/social changes, natural events

Risk Scoring

Each risk is scored using the standard risk matrix:

Risk Score = Probability (1-5) × Impact (1-5)

Critical: 15-25 (Immediate action required)
Significant: 8-14 (Should address before proceeding)
Minor: 1-7 (Monitor and document)

Assessment Framework

9-section structured assessment:

  1. Situation Overview — Context, objectives, stakeholders, success criteria
  2. Risk Identification — All risks across 5 categories
  3. Risk Analysis — Per-risk: description, probability, impact, score, triggers, timeframe
  4. Risk Prioritization — Risk matrix with critical/significant/minor tiers
  5. Risk Interdependencies — Cascading effects and compounding risks
  6. Mitigation Strategies — Avoid / Reduce / Transfer / Accept / Contingency for each major risk
  7. Risk-Benefit Analysis — Expected value, risk tolerance, alternative profiles
  8. Monitoring Plan — Key Risk Indicators (KRIs), review frequency, escalation procedures
  9. Risk Summary — Top 3–5 risks, overall level, go/no-go recommendation

Depth Levels

DepthUse caseCoverage
"basic"Quick screen before small decisions5-section lightweight
"detailed"Standard project assessmentFull 9-section analysis
"comprehensive"Major decisions, board-levelDeep interdependency mapping + scenario analysis

Examples

Technology Decision

result = assessor.execute(
provider="openai",
decision="Replacing our monolith with microservices architecture",
context="Legacy PHP app, 15-year-old codebase, 3M users, 12 engineers",
depth="comprehensive",
)

Business Expansion

result = assessor.execute(
provider="anthropic",
decision="Opening an engineering office in a new country",
context="UK team of 50, considering Poland or India, budget $2M/year",
depth="detailed",
)

Product Launch Risk

result = assessor.execute(
provider="gemini",
decision="Launching AI-powered feature requiring user data processing",
context="GDPR/CCPA compliance required, EU and US users, launch in 8 weeks",
depth="comprehensive",
)

Mitigation Strategies

For each high-risk item, the pattern evaluates four strategies:

StrategyDescriptionWhen to use
AvoidEliminate the risk entirely (change approach)When risk score is Critical and mitigation is costly
ReduceLower probability or impactMost common — add safeguards
TransferInsurance, contracts, SLAs, partnershipsWhen risk is financial or legal
AcceptDocument and proceedWhen risk is Low or cost of mitigation exceeds benefit
ContingencyBackup plan if risk materializesFor risks that can't be avoided but are manageable

Output: Go/No-Go Recommendation

Every assessment concludes with a clear recommendation:

## RISK SUMMARY

**Overall Risk Level**: High

**Top 3 Risks**:
1. Data migration failure (Score: 20/25) — Zero-downtime constraint conflicts with scope
2. Team capability gap (Score: 15/25) — No MongoDB expertise in team
3. Downstream service disruption (Score: 15/25) — 200 dependent microservices

**Recommendation**: CONDITIONAL GO
- Proceed only after: (1) Proof-of-concept with non-critical data, (2) MongoDB training
completed, (3) Parallel-run period with rollback capability defined

API Reference

MethodReturnsDescription
build_context(decision, context, depth)ContextAssembled context
execute(provider, decision, context, depth, **kwargs)ProviderResponseExecute assessment
generic_prompt(decision, context_section, depth)strZero-cost prompt string