{
  "tool": "Volunteer Hours to Yield Converter",
  "author": "Charles Yates",
  "location": "Moultrie, Georgia (ASL: 150ft)",
  "version": "1.0",
  "date": "2026-07-17",
  "constants": {
    "DECAY_RATE_PER_HOUR": {
      "value": 0.15,
      "unit": "fractional_loss_per_hour",
      "source": "NASA Human Integration Design Handbook, Section 4.2.3 (EVA task efficiency degradation)",
      "notes": "Linear approximation of cognitive-motor performance decline after threshold"
    },
    "THRESHOLD_HOURS": {
      "value": 4,
      "unit": "hours",
      "source": "Yates Personal Logs, July 1978, Route 37 (C-650 crate-handling accuracy decline)",
      "notes": "Point at which fatigue-induced errors exceed 2% in continuous operation"
    },
    "MAX_SAFE_HOURS": {
      "value": 12,
      "unit": "hours",
      "source": "Combined: NASA EVA limits + OSHA agricultural labor guidelines",
      "notes": "Beyond this point, yield loss exceeds 50% due to handling errors"
    },
    "MIN_YIELD_FACTOR": {
      "value": 0.35,
      "unit": "fractional_yield_retention",
      "source": "Field observations, Clarendon County tomato harvest 1982-2024",
      "notes": "Floor below which volunteer labor becomes counterproductive"
    }
  },
  "formula": {
    "decay_factor": "max(MIN_YIELD_FACTOR, 1 - max(0, shift_hours - THRESHOLD_HOURS) * DECAY_RATE_PER_HOUR)",
    "adjusted_yield_kg_ha": "base_yield_kg_ha * decay_factor",
    "total_harvest_kg": "adjusted_yield_kg_ha * volunteers * 0.5",
    "safety_margin_pct": "(MAX_SAFE_HOURS - shift_hours) / MAX_SAFE_HOURS * 100"
  },
  "validation_cases": [
    {
      "input": {"base_yield": 15000, "shift_hours": 6, "volunteers": 8},
      "expected": {"decay_factor": 0.70, "adjusted_yield": 10500, "total_harvest": 42000, "safety_margin": 50.0}
    },
    {
      "input": {"base_yield": 15000, "shift_hours": 12, "volunteers": 8},
      "expected": {"decay_factor": 0.35, "adjusted_yield": 5250, "total_harvest": 21000, "safety_margin": 0.0}
    }
  ],
  "linked_works": [
    "/colony-supply-ledger.html",
    "/mars-garden-logistics.html"
  ]
}
