cwicr-risk-calculator
FeaturedCalculate risk-adjusted cost estimates using CWICR data. Apply contingencies, Monte Carlo simulation, and probability distributions to cost estimates.
AI & Automation 310 stars
79 forks Updated 2 weeks ago MIT
Install
Quality Score: 91/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# CWICR Risk Calculator
## Business Case
### Problem Statement
Cost estimates have inherent uncertainty:
- What contingency to apply?
- What is the confidence range?
- Which items have highest risk?
- How to quantify uncertainty?
### Solution
Risk-adjusted cost calculations using contingency analysis, Monte Carlo simulation, and probability distributions based on CWICR cost data.
### Business Value
- **Informed decisions** - Understand estimate uncertainty
- **Appropriate contingency** - Data-driven risk allowance
- **Confidence intervals** - P50, P80, P90 estimates
- **Risk prioritization** - Focus on high-impact items
## Technical Implementation
```python
import pandas as pd
import numpy as np
from typing import Dict, Any, List, Optional, Tuple
from dataclasses import dataclass, field
from datetime import datetime
from enum import Enum
import random
class RiskLevel(Enum):
"""Risk level categories."""
LOW = "low" # Well-defined, standard work
MEDIUM = "medium" # Some uncertainty
HIGH = "high" # Significant uncertainty
VERY_HIGH = "very_high" # Major unknowns
class DistributionType(Enum):
"""Probability distribution types."""
NORMAL = "normal"
TRIANGULAR = "triangular"
UNIFORM = "uniform"
PERT = "pert"
LOGNORMAL = "lognormal"
@dataclass
class RiskParameters:
"""Risk parameters for a work item."""
work_item_code: str
base_cost: float
risk_level: RiskLevel
distribution: DistributionType...
Details
- Author
- datadrivenconstruction
- Repository
- datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction
- Created
- 7 months ago
- Last Updated
- 2 weeks ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
cwicr-cost-calculator
Calculate construction costs using DDC CWICR resource-based methodology. Break down costs into labor, materials, equipment with transparent pricing.
310 Updated 2 weeks ago
datadrivenconstruction AI & Automation Featured
cwicr-escalation
Apply price escalation to CWICR estimates over time. Calculate inflation adjustments, material price indices, and labor rate increases.
310 Updated 2 weeks ago
datadrivenconstruction AI & Automation Featured
cwicr-historical-cost
Track and analyze historical cost data using CWICR. Compare actual vs estimated costs, build project cost database, and improve future estimates.
310 Updated 2 weeks ago
datadrivenconstruction