Files
bakery-ia/services/production/scripts/demo/plantillas_calidad_es.json

445 lines
16 KiB
JSON
Raw Normal View History

2025-10-17 07:31:14 +02:00
{
"plantillas_calidad": [
{
"id": "40000000-0000-0000-0000-000000000001",
"name": "Control de Peso de Pan",
"template_code": "QC-PESO-PAN-001",
"check_type": "measurement",
"category": "weight_check",
"description": "Verificación del peso del pan después del horneado para asegurar cumplimiento con estándares",
"instructions": "1. Seleccionar 5 panes de forma aleatoria del lote\n2. Pesar cada pan en balanza calibrada\n3. Calcular el peso promedio\n4. Verificar que está dentro de tolerancia\n5. Registrar resultados",
"parameters": {
"sample_size": 5,
"unit": "gramos",
"measurement_method": "balanza_digital"
},
"thresholds": {
"min_acceptable": 95.0,
"max_acceptable": 105.0,
"target": 100.0
},
"scoring_criteria": {
"excellent": {"min": 98.0, "max": 102.0},
"good": {"min": 96.0, "max": 104.0},
"acceptable": {"min": 95.0, "max": 105.0},
"fail": {"below": 95.0, "above": 105.0}
},
"is_active": true,
"is_required": true,
"is_critical": true,
"weight": 1.0,
"min_value": 95.0,
"max_value": 105.0,
"target_value": 100.0,
"unit": "g",
"tolerance_percentage": 5.0,
"applicable_stages": ["baking", "packaging"]
},
{
"id": "40000000-0000-0000-0000-000000000002",
"name": "Control de Temperatura de Masa",
"template_code": "QC-TEMP-MASA-001",
"check_type": "measurement",
"category": "temperature_check",
"description": "Verificación de la temperatura de la masa durante el amasado",
"instructions": "1. Insertar termómetro en el centro de la masa\n2. Esperar 30 segundos para lectura estable\n3. Registrar temperatura\n4. Verificar contra rango objetivo\n5. Ajustar velocidad o tiempo si necesario",
"parameters": {
"measurement_point": "centro_masa",
"wait_time_seconds": 30,
"unit": "celsius"
},
"thresholds": {
"min_acceptable": 24.0,
"max_acceptable": 27.0,
"target": 25.5
},
"scoring_criteria": {
"excellent": {"min": 25.0, "max": 26.0},
"good": {"min": 24.5, "max": 26.5},
"acceptable": {"min": 24.0, "max": 27.0},
"fail": {"below": 24.0, "above": 27.0}
},
"is_active": true,
"is_required": true,
"is_critical": true,
"weight": 1.0,
"min_value": 24.0,
"max_value": 27.0,
"target_value": 25.5,
"unit": "°C",
"tolerance_percentage": 4.0,
"applicable_stages": ["mixing"]
},
{
"id": "40000000-0000-0000-0000-000000000003",
"name": "Inspección Visual de Color",
"template_code": "QC-COLOR-001",
"check_type": "visual",
"category": "appearance",
"description": "Evaluación del color del producto horneado usando escala de referencia",
"instructions": "1. Comparar producto con carta de colores estándar\n2. Verificar uniformidad del dorado\n3. Buscar zonas pálidas o quemadas\n4. Calificar según escala\n5. Rechazar si fuera de tolerancia",
"parameters": {
"reference_standard": "Carta Munsell Panadería",
"lighting": "luz_natural_6500K",
"viewing_angle": "45_grados"
},
"thresholds": {
"min_score": 7.0,
"target_score": 9.0
},
"scoring_criteria": {
"excellent": {"description": "Dorado uniforme, sin manchas", "score": 9.0},
"good": {"description": "Buen color general, mínimas variaciones", "score": 8.0},
"acceptable": {"description": "Color aceptable, ligeras irregularidades", "score": 7.0},
"fail": {"description": "Pálido, quemado o muy irregular", "score": 6.0}
},
"is_active": true,
"is_required": true,
"is_critical": false,
"weight": 0.8,
"min_value": 7.0,
"max_value": 10.0,
"target_value": 9.0,
"unit": "score",
"tolerance_percentage": null,
"applicable_stages": ["baking", "finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000004",
"name": "Control de Humedad de Miga",
"template_code": "QC-HUMEDAD-001",
"check_type": "measurement",
"category": "moisture_check",
"description": "Medición del porcentaje de humedad en la miga del pan",
"instructions": "1. Cortar muestra del centro del pan\n2. Pesar muestra (peso húmedo)\n3. Secar en horno a 105°C durante 3 horas\n4. Pesar muestra seca\n5. Calcular porcentaje de humedad",
"parameters": {
"sample_weight_g": 10.0,
"drying_temp_c": 105.0,
"drying_time_hours": 3.0,
"calculation": "(peso_húmedo - peso_seco) / peso_húmedo * 100"
},
"thresholds": {
"min_acceptable": 35.0,
"max_acceptable": 42.0,
"target": 38.0
},
"scoring_criteria": {
"excellent": {"min": 37.0, "max": 39.0},
"good": {"min": 36.0, "max": 40.0},
"acceptable": {"min": 35.0, "max": 42.0},
"fail": {"below": 35.0, "above": 42.0}
},
"is_active": true,
"is_required": false,
"is_critical": false,
"weight": 0.7,
"min_value": 35.0,
"max_value": 42.0,
"target_value": 38.0,
"unit": "%",
"tolerance_percentage": 8.0,
"applicable_stages": ["cooling", "finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000005",
"name": "Control de Volumen Específico",
"template_code": "QC-VOLUMEN-001",
"check_type": "measurement",
"category": "volume_check",
"description": "Medición del volumen específico del pan (cm³/g) para evaluar calidad de fermentación",
"instructions": "1. Pesar el pan completo\n2. Medir volumen por desplazamiento de semillas\n3. Calcular volumen específico (volumen/peso)\n4. Comparar con estándar de producto\n5. Registrar resultado",
"parameters": {
"measurement_method": "desplazamiento_semillas",
"medium": "semillas_colza",
"calculation": "volumen_cm3 / peso_g"
},
"thresholds": {
"min_acceptable": 3.5,
"max_acceptable": 5.0,
"target": 4.2
},
"scoring_criteria": {
"excellent": {"min": 4.0, "max": 4.5},
"good": {"min": 3.8, "max": 4.7},
"acceptable": {"min": 3.5, "max": 5.0},
"fail": {"below": 3.5, "above": 5.0}
},
"is_active": true,
"is_required": false,
"is_critical": false,
"weight": 0.6,
"min_value": 3.5,
"max_value": 5.0,
"target_value": 4.2,
"unit": "cm³/g",
"tolerance_percentage": 15.0,
"applicable_stages": ["cooling", "finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000006",
"name": "Inspección de Corteza",
"template_code": "QC-CORTEZA-001",
"check_type": "visual",
"category": "appearance",
"description": "Evaluación visual de la calidad de la corteza del pan",
"instructions": "1. Inspeccionar superficie completa del pan\n2. Verificar ausencia de grietas no deseadas\n3. Evaluar brillo y textura\n4. Verificar expansión de cortes\n5. Calificar integridad general",
"parameters": {
"inspection_points": ["grietas", "brillo", "textura", "cortes", "burbujas"]
},
"thresholds": {
"min_score": 7.0,
"target_score": 9.0
},
"scoring_criteria": {
"excellent": {"description": "Corteza perfecta, cortes bien expandidos, sin defectos", "score": 9.0},
"good": {"description": "Corteza buena, mínimos defectos superficiales", "score": 8.0},
"acceptable": {"description": "Corteza aceptable, algunos defectos menores", "score": 7.0},
"fail": {"description": "Grietas excesivas, corteza rota o muy irregular", "score": 6.0}
},
"is_active": true,
"is_required": true,
"is_critical": false,
"weight": 0.8,
"min_value": 7.0,
"max_value": 10.0,
"target_value": 9.0,
"unit": "score",
"tolerance_percentage": null,
"applicable_stages": ["cooling", "finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000007",
"name": "Control de Temperatura de Horneado",
"template_code": "QC-TEMP-HORNO-001",
"check_type": "measurement",
"category": "temperature_check",
"description": "Verificación de la temperatura del horno durante el horneado",
"instructions": "1. Verificar temperatura en termómetro de horno\n2. Confirmar con termómetro independiente\n3. Registrar temperatura cada 5 minutos\n4. Verificar estabilidad\n5. Ajustar si está fuera de rango",
"parameters": {
"measurement_frequency_minutes": 5,
"measurement_points": ["superior", "central", "inferior"],
"acceptable_variation": 5.0
},
"thresholds": {
"min_acceptable": 210.0,
"max_acceptable": 230.0,
"target": 220.0
},
"scoring_criteria": {
"excellent": {"min": 218.0, "max": 222.0},
"good": {"min": 215.0, "max": 225.0},
"acceptable": {"min": 210.0, "max": 230.0},
"fail": {"below": 210.0, "above": 230.0}
},
"is_active": true,
"is_required": true,
"is_critical": true,
"weight": 1.0,
"min_value": 210.0,
"max_value": 230.0,
"target_value": 220.0,
"unit": "°C",
"tolerance_percentage": 2.5,
"applicable_stages": ["baking"]
},
{
"id": "40000000-0000-0000-0000-000000000008",
"name": "Control de Tiempo de Fermentación",
"template_code": "QC-TIEMPO-FERM-001",
"check_type": "measurement",
"category": "time_check",
"description": "Monitoreo del tiempo de fermentación y crecimiento de la masa",
"instructions": "1. Marcar nivel inicial de masa en recipiente\n2. Iniciar cronómetro\n3. Monitorear crecimiento cada 15 minutos\n4. Verificar duplicación de volumen\n5. Registrar tiempo total",
"parameters": {
"target_growth": "duplicar_volumen",
"monitoring_frequency_minutes": 15,
"ambient_conditions": "temperatura_controlada"
},
"thresholds": {
"min_acceptable": 45.0,
"max_acceptable": 75.0,
"target": 60.0
},
"scoring_criteria": {
"excellent": {"min": 55.0, "max": 65.0},
"good": {"min": 50.0, "max": 70.0},
"acceptable": {"min": 45.0, "max": 75.0},
"fail": {"below": 45.0, "above": 75.0}
},
"is_active": true,
"is_required": true,
"is_critical": true,
"weight": 1.0,
"min_value": 45.0,
"max_value": 75.0,
"target_value": 60.0,
"unit": "minutos",
"tolerance_percentage": 15.0,
"applicable_stages": ["proofing"]
},
{
"id": "40000000-0000-0000-0000-000000000009",
"name": "Inspección de Estructura de Miga",
"template_code": "QC-MIGA-001",
"check_type": "visual",
"category": "texture",
"description": "Evaluación de la estructura alveolar de la miga del pan",
"instructions": "1. Cortar pan por la mitad longitudinalmente\n2. Observar distribución de alveolos\n3. Evaluar uniformidad del alveolado\n4. Verificar ausencia de grandes cavidades\n5. Evaluar elasticidad al tacto",
"parameters": {
"cutting_method": "longitudinal_centro",
"evaluation_criteria": ["tamaño_alveolos", "distribución", "uniformidad", "elasticidad"]
},
"thresholds": {
"min_score": 7.0,
"target_score": 9.0
},
"scoring_criteria": {
"excellent": {"description": "Alveolado fino y uniforme, miga elástica", "score": 9.0},
"good": {"description": "Buen alveolado, ligeras variaciones", "score": 8.0},
"acceptable": {"description": "Alveolado aceptable, algunas irregularidades", "score": 7.0},
"fail": {"description": "Miga densa, grandes cavidades o muy irregular", "score": 6.0}
},
"is_active": true,
"is_required": true,
"is_critical": false,
"weight": 0.8,
"min_value": 7.0,
"max_value": 10.0,
"target_value": 9.0,
"unit": "score",
"tolerance_percentage": null,
"applicable_stages": ["finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000010",
"name": "Control de pH de Masa",
"template_code": "QC-PH-MASA-001",
"check_type": "measurement",
"category": "chemical",
"description": "Medición del pH de la masa para verificar acidez correcta",
"instructions": "1. Tomar muestra de 10g de masa\n2. Diluir en 90ml de agua destilada\n3. Homogeneizar bien\n4. Medir pH con peachímetro calibrado\n5. Registrar lectura",
"parameters": {
"sample_size_g": 10.0,
"dilution_ml": 90.0,
"calibration_required": true,
"measurement_temp_c": 20.0
},
"thresholds": {
"min_acceptable": 5.0,
"max_acceptable": 5.8,
"target": 5.4
},
"scoring_criteria": {
"excellent": {"min": 5.3, "max": 5.5},
"good": {"min": 5.2, "max": 5.6},
"acceptable": {"min": 5.0, "max": 5.8},
"fail": {"below": 5.0, "above": 5.8}
},
"is_active": true,
"is_required": false,
"is_critical": false,
"weight": 0.5,
"min_value": 5.0,
"max_value": 5.8,
"target_value": 5.4,
"unit": "pH",
"tolerance_percentage": 5.0,
"applicable_stages": ["mixing", "proofing"]
},
{
"id": "40000000-0000-0000-0000-000000000011",
"name": "Control de Dimensiones",
"template_code": "QC-DIM-001",
"check_type": "measurement",
"category": "dimensions",
"description": "Verificación de las dimensiones del producto terminado",
"instructions": "1. Medir largo con cinta métrica\n2. Medir ancho en punto más amplio\n3. Medir altura en punto máximo\n4. Verificar contra especificaciones\n5. Calcular promedio de 3 muestras",
"parameters": {
"sample_size": 3,
"measurement_tool": "calibre_digital",
"precision_mm": 1.0
},
"thresholds": {
"length_mm": {"min": 280.0, "max": 320.0, "target": 300.0},
"width_mm": {"min": 140.0, "max": 160.0, "target": 150.0},
"height_mm": {"min": 90.0, "max": 110.0, "target": 100.0}
},
"scoring_criteria": {
"excellent": {"description": "Todas las dimensiones dentro de ±3%", "score": 9.0},
"good": {"description": "Dimensiones dentro de ±5%", "score": 8.0},
"acceptable": {"description": "Dimensiones dentro de tolerancia", "score": 7.0},
"fail": {"description": "Una o más dimensiones fuera de tolerancia", "score": 6.0}
},
"is_active": true,
"is_required": true,
"is_critical": false,
"weight": 0.7,
"min_value": 7.0,
"max_value": 10.0,
"target_value": 9.0,
"unit": "score",
"tolerance_percentage": 5.0,
"applicable_stages": ["packaging", "finishing"]
},
{
"id": "40000000-0000-0000-0000-000000000012",
"name": "Inspección de Higiene y Limpieza",
"template_code": "QC-HIGIENE-001",
"check_type": "checklist",
"category": "hygiene",
"description": "Verificación de condiciones higiénicas durante la producción",
"instructions": "1. Verificar limpieza de superficies de trabajo\n2. Inspeccionar vestimenta del personal\n3. Verificar lavado de manos\n4. Revisar limpieza de equipos\n5. Completar checklist",
"parameters": {
"checklist_items": [
"superficies_limpias",
"uniformes_limpios",
"manos_lavadas",
"equipos_sanitizados",
"ausencia_contaminantes",
"temperatura_ambiente_correcta"
]
},
"thresholds": {
"min_items_passed": 5,
"total_items": 6
},
"scoring_criteria": {
"excellent": {"items_passed": 6, "description": "100% cumplimiento"},
"good": {"items_passed": 5, "description": "Cumplimiento aceptable"},
"fail": {"items_passed": 4, "description": "Incumplimiento inaceptable"}
},
"is_active": true,
"is_required": true,
"is_critical": true,
"weight": 1.0,
"min_value": 5.0,
"max_value": 6.0,
"target_value": 6.0,
"unit": "items",
"tolerance_percentage": null,
"applicable_stages": ["mixing", "shaping", "baking", "packaging"]
}
],
"notas": {
"total_plantillas": 12,
"distribucion": {
"mediciones": 7,
"visuales": 3,
"checklist": 1,
"quimicas": 1
},
"criticidad": {
"criticas": 6,
"no_criticas": 6
},
"etapas_aplicables": [
"mixing",
"proofing",
"baking",
"cooling",
"packaging",
"finishing"
]
}
}