← 返回
未分类

Cold Chain Risk Calculator

Calculate temperature excursion risks for cold chain transport. Assesses route risk, packaging suitability, and monitoring requirements for biological sample...
计算冷链运输中的温度偏离风险;评估路线风险、包装适用性及生物样本监测要求。
aipoch-ai
未分类 clawhub v1.0.0 1 版本 99619.8 Key: 无需
★ 0
Stars
📥 262
下载
💾 0
安装
1
版本
#latest

概述

Cold Chain Risk Calculator

Assess temperature excursion risk for cold chain transport routes. Evaluates packaging type, transit duration, and route conditions to produce a structured JSON risk score and mitigation recommendations.

Quick Check

python -m py_compile scripts/main.py
python scripts/main.py --help

When to Use

  • Evaluating shipping risk for biological samples, vaccines, or temperature-sensitive pharmaceuticals
  • Selecting appropriate packaging (dry ice, liquid nitrogen, gel packs) for a given route and duration
  • Generating risk documentation for regulatory or QA purposes

Workflow

  1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.
  2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Fallback template: If scripts/main.py fails or required inputs are absent, report: (a) which parameter is missing, (b) what partial assessment is still possible, (c) the manual risk-scoring approach.

Parameters

ParameterTypeRequiredDescription
----------------------------------------
--route, -rstringYesTransport route description (e.g., "NYC-Boston")
--duration, -dintYesTransport duration in hours (must be > 0)
--packaging, -pstringNoPackaging type: dry-ice, liquid-nitrogen, gel-packs (default: dry-ice)
--output, -ostringNoOutput JSON file path (default: stdout)

Usage

python scripts/main.py --route "NYC-Boston" --duration 48 --packaging dry-ice
python scripts/main.py --route "LAX-London" --duration 120 --packaging liquid-nitrogen --output risk_report.json

Output Format

The script outputs a structured JSON object:

{
  "route": "NYC-Boston",
  "duration_hours": 48,
  "packaging": "dry-ice",
  "risk_score": 19.2,
  "risk_level": "Medium",
  "mitigation_recommendations": [
    "Add temperature logger to shipment",
    "Pre-condition dry ice 2h before packing",
    "Notify recipient of expected arrival window"
  ]
}

The mitigation_recommendations field is always present and contains at least one actionable item. Recommendations are generated based on risk level and packaging type.

Risk Model

Risk score = duration_hours × 0.5 × packaging_factor

PackagingFactorNotes
--------------------------
dry-ice0.8Standard for -70°C samples
liquid-nitrogen0.6Best for cryogenic samples
gel-packs1.2Suitable for 2–8°C only

Risk levels: Low (< 15), Medium (15–30), High (> 30)

Model limitations: The formula does not account for route complexity, number of transit legs, or ambient temperature variability. A 120-hour international flight may score lower than a 48-hour domestic route due to packaging factor alone. Document these assumptions in every response.

Features

  • Route risk assessment based on duration and packaging type
  • Structured JSON output with risk score, level, and mitigation recommendations
  • Input validation: rejects negative or zero duration (exit code 1)
  • Mitigation action list generated per risk level and packaging type

Output Requirements

Every response must make these explicit:

  • Objective and deliverable
  • Inputs used and assumptions introduced (ambient temperature assumed standard; no transit-leg complexity modeled)
  • Workflow or decision path taken
  • Core result: risk score, risk level, and mitigation recommendations
  • Constraints, risks, caveats (e.g., model does not account for route complexity or number of transit legs)
  • Unresolved items and next-step checks

Input Validation

This skill accepts: cold chain transport scenarios defined by a route, duration, and optional packaging type.

If the request does not involve temperature-controlled shipping risk — for example, asking to track a shipment in real time, calculate drug dosing, or assess non-temperature logistics — do not proceed. Instead respond:

> "cold-chain-risk-calculator is designed to assess temperature excursion risk for cold chain transport. Your request appears to be outside this scope. Please provide a route, duration, and packaging type, or use a more appropriate tool for your task."

Error Handling

  • If --duration is ≤ 0, print Error: --duration must be a positive integer (hours). to stderr and exit with code 1.
  • If --packaging is not one of dry-ice, liquid-nitrogen, gel-packs, reject with a clear error listing valid options.
  • If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
  • Do not fabricate files, citations, data, search results, or execution outcomes.

Response Template

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 21:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Survival Analysis (KM)

aipoch-ai
生成Kaplan‑Meier生存曲线,计算生存统计量(log‑rank检验、中位生存时间),并估算临床及生物...的 hazard ratios。
★ 2 📥 922
content-creation

Journal Matchmaker

aipoch-ai
根据摘要内容推荐合适的高影响因子或领域期刊,以便提交稿件;当用户提供论文摘要时触发。
★ 0 📥 837
productivity

Peer Review Response Drafter

aipoch-ai
协助起草专业的同行评审回复信。当用户提及「审稿人意见」、「回复信」、「同行评审」、「修订再提交」等关键词时触发。
★ 0 📥 851