cwicr-crew-optimizer
FeaturedOptimize crew composition using CWICR labor norms. Balance productivity, cost, and skill requirements for construction crews.
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 Crew Optimizer
## Business Case
### Problem Statement
Crew planning challenges:
- Right mix of workers?
- Optimal crew size?
- Balance cost vs productivity?
- Match skills to work?
### Solution
Optimize crew composition using CWICR labor productivity data to balance cost, output, and skill requirements.
### Business Value
- **Optimal productivity** - Right-sized crews
- **Cost efficiency** - No overstaffing
- **Skill matching** - Proper worker mix
- **Schedule support** - Meet deadlines
## 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 enum import Enum
from datetime import date, timedelta
class WorkerType(Enum):
"""Types of workers."""
FOREMAN = "foreman"
JOURNEYMAN = "journeyman"
APPRENTICE = "apprentice"
LABORER = "laborer"
OPERATOR = "operator"
HELPER = "helper"
class Trade(Enum):
"""Construction trades."""
CONCRETE = "concrete"
CARPENTRY = "carpentry"
MASONRY = "masonry"
STEEL = "steel"
ELECTRICAL = "electrical"
PLUMBING = "plumbing"
HVAC = "hvac"
PAINTING = "painting"
ROOFING = "roofing"
GENERAL = "general"
@dataclass
class Worker:
"""Worker definition."""
worker_type: WorkerType
trade: Trade
hourly_rate: float
productivity_factor: float = 1.0
overtime_multiplier: float = 1.5
@dataclass
class CrewComposition:
"""Crew composition...
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-labor-scheduler
Schedule labor crews based on CWICR norms and project timeline. Calculate crew sizes, shifts, and labor loading curves.
310 Updated 2 weeks ago
datadrivenconstruction AI & Automation Featured
cwicr-resource-analyzer
Analyze construction resources (labor, materials, equipment) from DDC CWICR database. Calculate resource requirements, productivity metrics, and optimization recommendations.
310 Updated 2 weeks ago
datadrivenconstruction AI & Automation Featured
cwicr-equipment-planner
Plan equipment requirements using CWICR norms. Calculate equipment hours, scheduling, utilization rates, and rental vs purchase analysis.
310 Updated 2 weeks ago
datadrivenconstruction