[
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "konfekcjonowanie",
      "version": "1.0.0",
      "name": "Wyceniarka konfekcjonowania",
      "category": "Wyceniarki",
      "description": "Policz koszt ręcznych operacji, materiałów i przygotowania partii."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000,
          "required": true
        },
        {
          "id": "seconds",
          "label": "Łączny nakład pracy na sztukę",
          "type": "number",
          "unit": "s/szt.",
          "default": 18,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "rate",
          "label": "Pełny koszt roboczogodziny",
          "type": "number",
          "unit": "PLN/h",
          "default": 45,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "material",
          "label": "Materiał na sztukę",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 0.35,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "setup",
          "label": "Koszt przygotowania partii",
          "type": "number",
          "unit": "PLN",
          "default": 350,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "overhead",
          "label": "Narzut kosztów pośrednich",
          "type": "number",
          "unit": "%",
          "default": 15,
          "minimum": 0,
          "maximum": 1000,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "hours",
          "formula": "qty*seconds/3600",
          "unit": "h",
          "precision": 2
        },
        {
          "id": "direct",
          "formula": "hours*rate+qty*material+setup",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "cost",
          "formula": "direct*(1+overhead/100)",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "formula": "ceil(cost/(1-margin/100)*100)/100",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "formula": "price/qty",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "profit",
          "formula": "price-cost",
          "unit": "PLN",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie uwzględnia osobno odrzutów, przestojów ani transportu. Nie doliczaj ponownie kosztów zawartych w stawce godzinowej."
    },
    "output": {
      "fields": [
        {
          "id": "hours",
          "label": "Roboczogodziny",
          "unit": "h",
          "precision": 2
        },
        {
          "id": "direct",
          "label": "Koszt bezpośredni",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "cost",
          "label": "Koszt pełny",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "label": "Minimalna cena netto",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Cena netto za sztukę (orientacyjna)",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "profit",
          "label": "Wynik na zleceniu",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Nakład pracy = liczba sztuk × sekundy pracy / 3600. Koszt pośredni naliczamy od całości kosztów bezpośrednich. Cenę minimalną za partię zaokrąglamy w górę do grosza.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "hours": 50,
            "cost": 7015,
            "price": 9353.34
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-konfekcjonowanie/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "co-packing",
      "version": "1.0.0",
      "name": "Wyceniarka co-packingu",
      "category": "Wyceniarki",
      "description": "Wyceń pakowanie kontraktowe z uwzględnieniem odpadu i czasu urządzenia."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000,
          "required": true
        },
        {
          "id": "seconds",
          "label": "Praca na sztukę wejściową",
          "type": "number",
          "unit": "s/szt.",
          "default": 12,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "rate",
          "label": "Koszt pracy",
          "type": "number",
          "unit": "PLN/h",
          "default": 45,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "material",
          "label": "Materiały na sztukę wejściową",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 0.4,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "waste",
          "label": "Udział odrzutów",
          "type": "number",
          "unit": "%",
          "default": 2,
          "minimum": 0,
          "maximum": 95,
          "required": true
        },
        {
          "id": "machine_hours",
          "label": "Czas pracy urządzenia",
          "type": "number",
          "unit": "h",
          "default": 30,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "machine_rate",
          "label": "Koszt urządzenia",
          "type": "number",
          "unit": "PLN/h",
          "default": 60,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "setup",
          "label": "Przygotowanie",
          "type": "number",
          "unit": "PLN",
          "default": 300,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "gross",
          "formula": "ceil(qty/(1-waste/100))",
          "unit": "szt.",
          "precision": 0
        },
        {
          "id": "cost",
          "formula": "gross*(seconds/3600*rate+material)+machine_hours*machine_rate+setup",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "formula": "ceil(cost/(1-margin/100)*100)/100",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "formula": "price/qty",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "profit",
          "formula": "price-cost",
          "unit": "PLN",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Zakładamy jednakową pracę dla każdej sztuki wejściowej. Koszt maszyny nie powinien powielać kosztu pracy."
    },
    "output": {
      "fields": [
        {
          "id": "gross",
          "label": "Szacowane sztuki wejściowe",
          "unit": "szt.",
          "precision": 0
        },
        {
          "id": "cost",
          "label": "Koszt partii",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "label": "Minimalna cena netto",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Cena za dobrą sztukę",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "profit",
          "label": "Wynik modelowy",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Liczbę sztuk wejściowych powiększamy o odrzuty; koszt maszyny podaj osobno.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "gross": 10205,
            "cost": 7712.75,
            "price": 10283.67
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-co-packing/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "zlecenie-produkcyjne",
      "version": "1.0.0",
      "name": "Kalkulator kosztu zlecenia produkcyjnego",
      "category": "Wyceniarki",
      "description": "Zsumuj koszty produkcji, materiałów, podwykonawców i przygotowania."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000,
          "required": true
        },
        {
          "id": "hours",
          "label": "Roboczogodziny",
          "type": "number",
          "unit": "h",
          "default": 80,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "rate",
          "label": "Koszt pracy",
          "type": "number",
          "unit": "PLN/h",
          "default": 50,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "material_total",
          "label": "Materiały łącznie",
          "type": "number",
          "unit": "PLN",
          "default": 4000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "external",
          "label": "Podwykonawcy i inne koszty",
          "type": "number",
          "unit": "PLN",
          "default": 800,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "setup",
          "label": "Przygotowanie",
          "type": "number",
          "unit": "PLN",
          "default": 400,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "cost",
          "formula": "hours*rate+material_total+external+setup",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "formula": "ceil(cost/(1-margin/100)*100)/100",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "formula": "price/qty",
          "unit": "PLN/szt.",
          "precision": 4
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Koszty stałe przypisz do zlecenia przed obliczeniem; VAT nie jest wliczony."
    },
    "output": {
      "fields": [
        {
          "id": "cost",
          "label": "Koszt zlecenia",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "label": "Minimalna cena netto",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Cena jednostkowa",
          "unit": "PLN/szt.",
          "precision": 4
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Sumujemy pełne koszty podane przez użytkownika i wyznaczamy cenę przy zadanej marży.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "cost": 9200,
            "price": 12266.67
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-zlecenie-produkcyjne/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "roboczogodzina",
      "version": "1.0.0",
      "name": "Kalkulator pełnego kosztu roboczogodziny",
      "category": "Rentowność",
      "description": "Oblicz koszt jednej produktywnej godziny pracy."
    },
    "input": {
      "fields": [
        {
          "id": "monthly",
          "label": "Miesięczne koszty pracownika i stanowiska",
          "type": "number",
          "unit": "PLN",
          "default": 8000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "paid",
          "label": "Godziny opłacone",
          "type": "number",
          "unit": "h",
          "default": 168,
          "minimum": 1,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "util",
          "label": "Udział godzin produktywnych",
          "type": "number",
          "unit": "%",
          "default": 80,
          "minimum": 1,
          "maximum": 100,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "productive",
          "formula": "paid*util/100",
          "unit": "h",
          "precision": 2
        },
        {
          "id": "rate",
          "formula": "monthly/productive",
          "unit": "PLN/h",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Wprowadź pełny koszt pracodawcy i stanowiska samodzielnie. Nie jest to kalkulator płac."
    },
    "output": {
      "fields": [
        {
          "id": "productive",
          "label": "Godziny produktywne",
          "unit": "h",
          "precision": 2
        },
        {
          "id": "rate",
          "label": "Koszt roboczogodziny",
          "unit": "PLN/h",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Koszty miesięczne dzielimy przez faktycznie produktywne godziny.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "productive": 134.4,
            "rate": 59.5238095238
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-roboczogodzina/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "marza-narzut",
      "version": "1.0.0",
      "name": "Kalkulator marży i narzutu",
      "category": "Rentowność",
      "description": "Porównaj zysk, marżę od sprzedaży i narzut od kosztu."
    },
    "input": {
      "fields": [
        {
          "id": "cost",
          "label": "Koszt netto",
          "type": "number",
          "unit": "PLN",
          "default": 80,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "price",
          "label": "Cena sprzedaży netto",
          "type": "number",
          "unit": "PLN",
          "default": 100,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "profit",
          "formula": "price-cost",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "margin",
          "formula": "profit/price*100",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "markup",
          "formula": "profit/cost*100",
          "unit": "%",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [
        {
          "id": "loss",
          "when": {
            "op": "lt",
            "args": [
              {
                "ref": "price"
              },
              {
                "ref": "cost"
              }
            ]
          },
          "status": "REVIEW",
          "message": "Cena nie pokrywa kosztu."
        }
      ],
      "limitations": "Koszt i cena muszą być dodatnie, podane w tej samej walucie i na tej samej podstawie."
    },
    "output": {
      "fields": [
        {
          "id": "profit",
          "label": "Zysk modelowy",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "margin",
          "label": "Marża",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "markup",
          "label": "Narzut",
          "unit": "%",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Marża = zysk / cena. Narzut = zysk / koszt.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "profit": 20,
            "margin": 20,
            "markup": 25
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-marza-narzut/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "minimalna-cena",
      "version": "1.0.0",
      "name": "Kalkulator minimalnej ceny sprzedaży",
      "category": "Rentowność",
      "description": "Ustal cenę sprzedaży przy zadanej marży."
    },
    "input": {
      "fields": [
        {
          "id": "cost",
          "label": "Pełny koszt netto",
          "type": "number",
          "unit": "PLN",
          "default": 100,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "price",
          "formula": "ceil(cost/(1-margin/100)*100)/100",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "profit",
          "formula": "price-cost",
          "unit": "PLN",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie jest to prognoza popytu ani cena rynkowa."
    },
    "output": {
      "fields": [
        {
          "id": "price",
          "label": "Minimalna cena netto",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "profit",
          "label": "Zysk modelowy",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Cena = koszt / (1 − marża/100). Wynik zaokrąglamy w górę do grosza.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "price": 133.34,
            "profit": 33.34
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-minimalna-cena/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "prog-rentownosci",
      "version": "1.0.0",
      "name": "Kalkulator progu rentowności",
      "category": "Rentowność",
      "description": "Ile sztuk trzeba sprzedać, aby pokryć koszty stałe?"
    },
    "input": {
      "fields": [
        {
          "id": "fixed",
          "label": "Koszty stałe okresu",
          "type": "number",
          "unit": "PLN",
          "default": 10000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "price",
          "label": "Cena netto sztuki",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 25,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "variable",
          "label": "Koszt zmienny sztuki",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 15,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "contribution",
          "formula": "price-variable",
          "unit": "PLN/szt.",
          "precision": 2
        },
        {
          "id": "units",
          "formula": "ceil(fixed/contribution)",
          "unit": "szt.",
          "precision": 0
        },
        {
          "id": "revenue",
          "formula": "units*price",
          "unit": "PLN",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [
        {
          "id": "no-contribution",
          "when": {
            "op": "lte",
            "args": [
              {
                "ref": "price"
              },
              {
                "ref": "variable"
              }
            ]
          },
          "status": "MISMATCH",
          "message": "Brak dodatniej marży pokrycia: próg nie istnieje w tym modelu."
        }
      ],
      "limitations": "Zakłada stałe ceny i koszty jednostkowe w badanym zakresie."
    },
    "output": {
      "fields": [
        {
          "id": "contribution",
          "label": "Marża pokrycia na sztukę",
          "unit": "PLN/szt.",
          "precision": 2
        },
        {
          "id": "units",
          "label": "Próg sprzedaży",
          "unit": "szt.",
          "precision": 0
        },
        {
          "id": "revenue",
          "label": "Przychód na progu",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Koszt stały dzielimy przez dodatnią marżę pokrycia i zaokrąglamy liczbę sztuk w górę.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "units": 1000,
            "revenue": 25000
          },
          "inputs": {},
          "status": "MATCH"
        },
        {
          "inputs": {
            "price": 15
          },
          "status": "MISMATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-prog-rentownosci/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "oferty-dostawcow",
      "version": "1.0.0",
      "name": "Porównywarka ofert dostawców",
      "category": "Decyzje",
      "description": "Porównaj dwie oferty, koszty dostawy i ocenę jakości."
    },
    "input": {
      "fields": [
        {
          "id": "a",
          "label": "Cena A z transportem",
          "type": "number",
          "unit": "PLN",
          "default": 10000,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "b",
          "label": "Cena B z transportem",
          "type": "number",
          "unit": "PLN",
          "default": 11000,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "qa",
          "label": "Ocena jakości A",
          "type": "number",
          "unit": "pkt",
          "default": 70,
          "minimum": 0,
          "maximum": 100,
          "required": true
        },
        {
          "id": "qb",
          "label": "Ocena jakości B",
          "type": "number",
          "unit": "pkt",
          "default": 90,
          "minimum": 0,
          "maximum": 100,
          "required": true
        },
        {
          "id": "weight",
          "label": "Waga kosztu",
          "type": "number",
          "unit": "%",
          "default": 60,
          "minimum": 0,
          "maximum": 100,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "score_a",
          "formula": "min(a,b)/a*weight+qa*(1-weight/100)",
          "unit": "pkt",
          "precision": 2
        },
        {
          "id": "score_b",
          "formula": "min(a,b)/b*weight+qb*(1-weight/100)",
          "unit": "pkt",
          "precision": 2
        },
        {
          "id": "difference",
          "formula": "score_a-score_b",
          "unit": "pkt",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [
        {
          "id": "subjective",
          "when": {
            "op": "lt",
            "args": [
              {
                "ref": "weight"
              },
              100
            ]
          },
          "status": "REVIEW",
          "message": "Ranking zależy od wprowadzonej oceny jakości; potwierdź wymagania obligatoryjne."
        }
      ],
      "limitations": "Porównuj równoważne zakresy ofert. Warunki obligatoryjne sprawdź przed rankingiem."
    },
    "output": {
      "fields": [
        {
          "id": "score_a",
          "label": "Wynik A",
          "unit": "pkt",
          "precision": 2
        },
        {
          "id": "score_b",
          "label": "Wynik B",
          "unit": "pkt",
          "precision": 2
        },
        {
          "id": "difference",
          "label": "Przewaga A nad B (ujemna = B)",
          "unit": "pkt",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Koszt punktujemy względem tańszej oferty; jakość to subiektywna ocena 0–100. Wagi sumują się do 100%.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "score_a": 88,
            "score_b": 90.54545454545
          },
          "status": "REVIEW",
          "inputs": {}
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-oferty-dostawcow/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "zakup-wynajem",
      "version": "1.0.0",
      "name": "Zakup kontra wynajem",
      "category": "Decyzje",
      "description": "Porównaj nominalny koszt zakupu i najmu urządzenia."
    },
    "input": {
      "fields": [
        {
          "id": "purchase",
          "label": "Cena zakupu",
          "type": "number",
          "unit": "PLN",
          "default": 25000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "service",
          "label": "Roczny koszt serwisu przy zakupie",
          "type": "number",
          "unit": "PLN/rok",
          "default": 1800,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "residual",
          "label": "Wartość odsprzedaży",
          "type": "number",
          "unit": "PLN",
          "default": 8000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "rent",
          "label": "Miesięczny koszt wynajmu",
          "type": "number",
          "unit": "PLN/mies.",
          "default": 950,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "months",
          "label": "Okres",
          "type": "integer",
          "unit": "mies.",
          "default": 36,
          "minimum": 1,
          "maximum": 1200,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "buy",
          "formula": "purchase+service*months/12-residual",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "rental",
          "formula": "rent*months",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "delta",
          "formula": "buy-rental",
          "unit": "PLN",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [
        {
          "id": "resale",
          "when": {
            "op": "gt",
            "args": [
              {
                "ref": "residual"
              },
              {
                "ref": "purchase"
              }
            ]
          },
          "status": "REVIEW",
          "message": "Wartość odsprzedaży przewyższa zakup. Zweryfikuj założenie."
        }
      ],
      "limitations": "Bez dyskonta, finansowania, podatków, transportu i różnic zakresu serwisu."
    },
    "output": {
      "fields": [
        {
          "id": "buy",
          "label": "Koszt zakupu netto po odsprzedaży",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "rental",
          "label": "Koszt najmu",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "delta",
          "label": "Zakup minus wynajem (ujemny = zakup tańszy)",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Porównanie nominalnych kosztów w tym samym okresie.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "buy": 22400,
            "rental": 34200,
            "delta": -11800
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-zakup-wynajem/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "roi-automatyzacji",
      "version": "1.0.0",
      "name": "Kalkulator ROI automatyzacji",
      "category": "Decyzje",
      "description": "Oceń prosty zwrot inwestycji w automatyzację."
    },
    "input": {
      "fields": [
        {
          "id": "investment",
          "label": "Nakład inwestycyjny",
          "type": "number",
          "unit": "PLN",
          "default": 100000,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "savings",
          "label": "Roczne oszczędności",
          "type": "number",
          "unit": "PLN/rok",
          "default": 60000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "opex",
          "label": "Roczny dodatkowy koszt",
          "type": "number",
          "unit": "PLN/rok",
          "default": 10000,
          "minimum": 0,
          "maximum": 1000000000,
          "required": true
        },
        {
          "id": "years",
          "label": "Horyzont",
          "type": "number",
          "unit": "lat",
          "default": 3,
          "minimum": 1,
          "maximum": 30,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "net",
          "formula": "savings-opex",
          "unit": "PLN/rok",
          "precision": 2
        },
        {
          "id": "roi",
          "formula": "(net*years-investment)/investment*100",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "payback",
          "formula": "if_positive_div(investment,net)",
          "unit": "lat",
          "precision": 2
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [
        {
          "id": "no-payback",
          "when": {
            "op": "lte",
            "args": [
              {
                "ref": "savings"
              },
              {
                "ref": "opex"
              }
            ]
          },
          "status": "REVIEW",
          "message": "Brak prostego okresu zwrotu przy niedodatniej rocznej korzyści."
        }
      ],
      "limitations": "Nie uwzględnia dyskonta, podatków, rozruchu, amortyzacji ani zmienności oszczędności."
    },
    "output": {
      "fields": [
        {
          "id": "net",
          "label": "Roczna korzyść netto",
          "unit": "PLN/rok",
          "precision": 2
        },
        {
          "id": "roi",
          "label": "ROI w horyzoncie",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "payback",
          "label": "Prosty okres zwrotu",
          "unit": "lat",
          "precision": 2
        }
      ],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "ROI = (korzyści netto w okresie − inwestycja) / inwestycja. Prosty zwrot istnieje tylko przy dodatniej rocznej korzyści.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "net": 50000,
            "roi": 50,
            "payback": 2
          },
          "inputs": {},
          "status": "MATCH"
        },
        {
          "inputs": {
            "savings": 0
          },
          "expected": {
            "payback": null
          },
          "status": "REVIEW"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-roi-automatyzacji/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "cenniki-csv",
      "version": "1.0.0",
      "name": "Porównywarka cenników CSV",
      "category": "Dane",
      "description": "Wykryj nowe, usunięte i zmienione ceny według identyfikatora SKU."
    },
    "input": {
      "fields": [],
      "special": {
        "format": "UTF-8 CSV",
        "columns": [
          "SKU",
          "cena"
        ]
      }
    },
    "formula": {
      "model": "deterministic",
      "expressions": []
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Jedna waluta i jednostka, maksymalnie 2 MB i 10 000 wierszy na plik. Duplikaty blokują porównanie."
    },
    "output": {
      "fields": [],
      "formats": [
        "csv",
        "json"
      ]
    },
    "evidence": {
      "methodology": "Wczytaj dwa pliki UTF-8 z nagłówkami SKU i cena. Porównanie po dokładnym identyfikatorze, bez wysyłania plików.",
      "source_type": "author_model",
      "test_cases": []
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-cenniki-csv/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "oferta",
      "version": "1.0.0",
      "name": "Generator oferty handlowej",
      "category": "Dokumenty",
      "description": "Utwórz ofertę netto dla klienta na podstawie ceny całej partii."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000,
          "required": true
        },
        {
          "id": "price",
          "label": "Cena netto całej partii",
          "type": "number",
          "unit": "PLN",
          "default": 9353.34,
          "minimum": 0.01,
          "maximum": 1000000000,
          "required": true
        }
      ],
      "special": {
        "document_fields": [
          "seller",
          "buyer",
          "subject",
          "validity",
          "terms"
        ]
      }
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "unit",
          "formula": "price/qty",
          "unit": "PLN/szt.",
          "precision": 4
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie jest fakturą, nie wylicza podatku. Sprawdź warunki handlowe i zaokrąglenia przed wysłaniem."
    },
    "output": {
      "fields": [
        {
          "id": "unit",
          "label": "Orientacyjna cena jednostkowa",
          "unit": "PLN/szt.",
          "precision": 4
        }
      ],
      "formats": [
        "json",
        "print"
      ]
    },
    "evidence": {
      "methodology": "Cena całej partii jest nadrzędna. Wprowadź strony, zakres, termin i warunki, następnie wydrukuj dokument lub zapisz PDF w przeglądarce.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "unit": 0.935334
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-oferta/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "vertical-quote-studio",
      "version": "1.0.0",
      "name": "Vertical Quote Studio – wycena wielooperacyjna",
      "category": "Wyceniarki",
      "description": "Zbuduj koszt partii z maksymalnie trzech operacji, materiałów, odrzutów i usług zewnętrznych."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "waste",
          "label": "Odrzuty w całym procesie",
          "type": "number",
          "unit": "%",
          "default": 0,
          "minimum": 0,
          "maximum": 99,
          "required": true
        },
        {
          "id": "sec1",
          "label": "Operacja 1: sekundy pracy na sztukę",
          "type": "number",
          "unit": "s/szt.",
          "default": 12,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "rate1",
          "label": "Operacja 1: stawka pracy",
          "type": "number",
          "unit": "PLN/h",
          "default": 45,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "setup1",
          "label": "Operacja 1: przygotowanie partii",
          "type": "number",
          "unit": "PLN",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "sec2",
          "label": "Operacja 2: sekundy pracy na sztukę",
          "type": "number",
          "unit": "s/szt.",
          "default": 6,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "rate2",
          "label": "Operacja 2: stawka pracy",
          "type": "number",
          "unit": "PLN/h",
          "default": 60,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "setup2",
          "label": "Operacja 2: przygotowanie partii",
          "type": "number",
          "unit": "PLN",
          "default": 150,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "sec3",
          "label": "Operacja 3: sekundy pracy na sztukę",
          "type": "number",
          "unit": "s/szt.",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "rate3",
          "label": "Operacja 3: stawka pracy",
          "type": "number",
          "unit": "PLN/h",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "setup3",
          "label": "Operacja 3: przygotowanie partii",
          "type": "number",
          "unit": "PLN",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "material",
          "label": "Materiał na sztukę wejściową",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 0.35,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "external",
          "label": "Usługi zewnętrzne i inne koszty bezpośrednie",
          "type": "number",
          "unit": "PLN",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "overhead",
          "label": "Narzut kosztów pośrednich",
          "type": "number",
          "unit": "%",
          "default": 15,
          "minimum": 0,
          "maximum": 1000,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "gross",
          "unit": "szt.",
          "precision": 0,
          "formula": "ceil(qty/(1-waste/100))"
        },
        {
          "id": "op1",
          "unit": "PLN",
          "precision": 2,
          "formula": "gross*sec1*rate1/3600+setup1"
        },
        {
          "id": "op2",
          "unit": "PLN",
          "precision": 2,
          "formula": "gross*sec2*rate2/3600+setup2"
        },
        {
          "id": "op3",
          "unit": "PLN",
          "precision": 2,
          "formula": "gross*sec3*rate3/3600+setup3"
        },
        {
          "id": "direct",
          "unit": "PLN",
          "precision": 2,
          "formula": "op1+op2+op3+gross*material+external"
        },
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "direct*(1+overhead/100)"
        },
        {
          "id": "price",
          "unit": "PLN",
          "precision": 2,
          "formula": "ceil(cost/(1-margin/100)*100)/100"
        },
        {
          "id": "unit",
          "unit": "PLN/szt.",
          "precision": 4,
          "formula": "price/qty"
        },
        {
          "id": "profit",
          "unit": "PLN",
          "precision": 2,
          "formula": "price-cost"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Model trzech operacji, nie harmonogram linii. Odrzut traktowany zbiorczo; nie uwzględnia odrębnych strat na etapach, zmian wydajności i kosztów już zawartych w stawkach. Nieużywane operacje ustaw na zero."
    },
    "output": {
      "fields": [
        {
          "id": "gross",
          "label": "Sztuki do przetworzenia",
          "unit": "szt.",
          "precision": 0
        },
        {
          "id": "op1",
          "label": "Koszt operacji 1",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "op2",
          "label": "Koszt operacji 2",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "op3",
          "label": "Koszt operacji 3",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "direct",
          "label": "Koszt bezpośredni",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "cost",
          "label": "Całkowity koszt",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "price",
          "label": "Minimalna cena netto partii",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Cena jednostkowa orientacyjna",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "profit",
          "label": "Wynik na zleceniu",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Wolumen wejściowy zaokrąglamy w górę, a każdą operację liczymy od tego samego wolumenu. Sumujemy robociznę, przygotowania, materiały i usługi; doliczamy koszty pośrednie. Cena partii jest zaokrąglana w górę do grosza.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "gross": 10000,
            "op1": 1500,
            "op2": 1150,
            "cost": 7072.5,
            "price": 9430
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-vertical-quote-studio/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "make-or-buy",
      "version": "1.0.0",
      "name": "Kalkulator make or buy – produkcja czy outsourcing",
      "category": "Decyzje",
      "description": "Porównaj własną produkcję i zlecenie na zewnątrz w tym samym wolumenie."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "fixed",
          "label": "Uniknione koszty stałe produkcji własnej",
          "type": "number",
          "unit": "PLN",
          "default": 10000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "own",
          "label": "Koszt zmienny produkcji własnej",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 2,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "out",
          "label": "Cena zewnętrzna z transportem",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 3.5,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "switch",
          "label": "Koszt wdrożenia dostawcy",
          "type": "number",
          "unit": "PLN",
          "default": 1000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "make",
          "unit": "PLN",
          "precision": 2,
          "formula": "fixed+qty*own"
        },
        {
          "id": "buy",
          "unit": "PLN",
          "precision": 2,
          "formula": "switch+qty*out"
        },
        {
          "id": "delta",
          "unit": "PLN",
          "precision": 2,
          "formula": "make-buy"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie uwzględnia ryzyka jakości, elastyczności ani kosztów nieuniknionych. Wprowadź tylko koszty stałe różniące warianty."
    },
    "output": {
      "fields": [
        {
          "id": "make",
          "label": "Koszt produkcji własnej",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "buy",
          "label": "Koszt outsourcingu",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "delta",
          "label": "Produkcja minus outsourcing",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Porównaj koszty przy identycznej liczbie dobrych sztuk i tym samym okresie. Ujemna różnica oznacza niższy koszt własnej produkcji.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "make": 30000,
            "buy": 36000,
            "delta": -6000
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-make-or-buy/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "koszt-przestoju",
      "version": "1.0.0",
      "name": "Kalkulator kosztu przestoju produkcji",
      "category": "Rentowność",
      "description": "Oszacuj utraconą marżę i dodatkowe koszty zatrzymania procesu."
    },
    "input": {
      "fields": [
        {
          "id": "hours",
          "label": "Czas przestoju",
          "type": "number",
          "unit": "h",
          "default": 4,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "speed",
          "label": "Utracona produkcja na godzinę",
          "type": "number",
          "unit": "szt./h",
          "default": 500,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "contribution",
          "label": "Marża pokrycia na sztukę",
          "type": "number",
          "unit": "PLN/szt.",
          "default": 2,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "recovery",
          "label": "Produkcja odzyskana później",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 100,
          "required": true
        },
        {
          "id": "repair",
          "label": "Dodatkowe koszty naprawy i wznowienia",
          "type": "number",
          "unit": "PLN",
          "default": 800,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "lost",
          "unit": "szt.",
          "precision": 2,
          "formula": "hours*speed*(1-recovery/100)"
        },
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "lost*contribution+repair"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie licz utraconego przychodu jako zysku; nie dubluj kosztów naprawy w marży pokrycia."
    },
    "output": {
      "fields": [
        {
          "id": "lost",
          "label": "Nieodzyskana produkcja",
          "unit": "szt.",
          "precision": 2
        },
        {
          "id": "cost",
          "label": "Modelowy koszt przestoju",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Utraconą produkcję pomniejsz o część odzyskaną. Pomnóż przez marżę pokrycia, dodaj koszty przyrostowe.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "lost": 1500,
            "cost": 3800
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-koszt-przestoju/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "wydajnosc-linii",
      "version": "1.0.0",
      "name": "Kalkulator wydajności linii produkcyjnej",
      "category": "Wyceniarki",
      "description": "Sprawdź realną wydajność i liczbę godzin potrzebnych do wykonania partii."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "speed",
          "label": "Nominalna wydajność linii",
          "type": "number",
          "unit": "szt./h",
          "default": 1000,
          "minimum": 0.01,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "availability",
          "label": "Dostępność w planowanym czasie",
          "type": "number",
          "unit": "%",
          "default": 85,
          "minimum": 0.01,
          "maximum": 100,
          "required": true
        },
        {
          "id": "performance",
          "label": "Wykorzystanie nominalnej prędkości",
          "type": "number",
          "unit": "%",
          "default": 90,
          "minimum": 0.01,
          "maximum": 100,
          "required": true
        },
        {
          "id": "quality",
          "label": "Udział dobrych sztuk",
          "type": "number",
          "unit": "%",
          "default": 98,
          "minimum": 0.01,
          "maximum": 100,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "oee",
          "unit": "%",
          "precision": 2,
          "formula": "availability*performance*quality/10000"
        },
        {
          "id": "effective",
          "unit": "szt./h",
          "precision": 2,
          "formula": "speed*oee/100"
        },
        {
          "id": "hours",
          "unit": "h",
          "precision": 2,
          "formula": "qty/effective"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Szacunek dla stabilnego procesu; nie jest pomiarem OEE. Jeżeli przestoje są już w dostępności, nie odejmuj ich drugi raz."
    },
    "output": {
      "fields": [
        {
          "id": "oee",
          "label": "Iloczyn dostępności, wydajności i jakości",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "effective",
          "label": "Dobre sztuki na godzinę",
          "unit": "szt./h",
          "precision": 2
        },
        {
          "id": "hours",
          "label": "Planowany czas produkcji",
          "unit": "h",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Nominalną wydajność mnożymy przez trzy niezależne współczynniki. Czas wynika z liczby dobrych sztuk.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "oee": 74.97,
            "effective": 749.7
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-wydajnosc-linii/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "rentownosc-kontraktu",
      "version": "1.0.0",
      "name": "Kalkulator rentowności kontraktu B2B",
      "category": "Rentowność",
      "description": "Oceń miesięczny wynik, marżę i opłacalność stałego zlecenia."
    },
    "input": {
      "fields": [
        {
          "id": "revenue",
          "label": "Przychód netto miesięcznie",
          "type": "number",
          "unit": "PLN",
          "default": 30000,
          "minimum": 0.01,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "variable",
          "label": "Koszty zmienne miesięcznie",
          "type": "number",
          "unit": "PLN",
          "default": 18000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "fixed",
          "label": "Koszty stałe przypisane miesięcznie",
          "type": "number",
          "unit": "PLN",
          "default": 4000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "setup",
          "label": "Jednorazowy koszt wdrożenia",
          "type": "number",
          "unit": "PLN",
          "default": 6000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "months",
          "label": "Okres kontraktu",
          "type": "integer",
          "unit": "mies.",
          "default": 12,
          "minimum": 1,
          "maximum": 120,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "variable+fixed+setup/months"
        },
        {
          "id": "profit",
          "unit": "PLN",
          "precision": 2,
          "formula": "revenue-cost"
        },
        {
          "id": "margin",
          "unit": "%",
          "precision": 2,
          "formula": "profit/revenue*100"
        },
        {
          "id": "total",
          "unit": "PLN",
          "precision": 2,
          "formula": "profit*months"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie jest prognozą przepływów pieniężnych. Pomija podatki, sezonowość, ryzyko wypowiedzenia i finansowanie."
    },
    "output": {
      "fields": [
        {
          "id": "cost",
          "label": "Miesięczny koszt z rozłożonym wdrożeniem",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "profit",
          "label": "Wynik miesięczny",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "margin",
          "label": "Marża kontraktu",
          "unit": "%",
          "precision": 2
        },
        {
          "id": "total",
          "label": "Wynik całego okresu",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Rozłóż jednorazowe wdrożenie na miesiące; wynik sumuje zysk przy stałych założeniach.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "cost": 22500,
            "profit": 7500,
            "margin": 25,
            "total": 90000
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-rentownosc-kontraktu/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "koszt-magazynowania",
      "version": "1.0.0",
      "name": "Kalkulator kosztu magazynowania palet",
      "category": "Wyceniarki",
      "description": "Policz koszt zajęcia miejsc paletowych i operacji magazynowych."
    },
    "input": {
      "fields": [
        {
          "id": "pallets",
          "label": "Średnia liczba zajętych miejsc",
          "type": "integer",
          "unit": "palet",
          "default": 100,
          "minimum": 1,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "days",
          "label": "Liczba dni rozliczenia",
          "type": "integer",
          "unit": "dni",
          "default": 30,
          "minimum": 1,
          "maximum": 366,
          "required": true
        },
        {
          "id": "rate",
          "label": "Stawka za miejsce i dobę",
          "type": "number",
          "unit": "PLN/paleta/dzień",
          "default": 1.2,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "moves",
          "label": "Liczba płatnych operacji",
          "type": "integer",
          "unit": "operacje",
          "default": 200,
          "minimum": 0,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "move_rate",
          "label": "Stawka operacji",
          "type": "number",
          "unit": "PLN/operacja",
          "default": 8,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "extra",
          "label": "Pozostałe koszty okresu",
          "type": "number",
          "unit": "PLN",
          "default": 300,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "storage",
          "unit": "PLN",
          "precision": 2,
          "formula": "pallets*days*rate"
        },
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "storage+moves*move_rate+extra"
        },
        {
          "id": "unit",
          "unit": "PLN/paleta",
          "precision": 2,
          "formula": "cost/pallets"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie oblicza rzeczywistej dziennej zajętości z historii WMS. Stosuj średnią ważoną czasem; sprawdź minimalne opłaty."
    },
    "output": {
      "fields": [
        {
          "id": "storage",
          "label": "Koszt składowania",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "cost",
          "label": "Łączny koszt okresu",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Koszt na średnie miejsce w okresie",
          "unit": "PLN/paleta",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Średnie zajęcie mnożymy przez dni i stawkę. Dodajemy płatne operacje oraz koszty dodatkowe.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "storage": 3600,
            "cost": 5500,
            "unit": 55
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-koszt-magazynowania/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "landed-cost",
      "version": "1.0.0",
      "name": "Kalkulator całkowitego kosztu zakupu i importu",
      "category": "Wyceniarki",
      "description": "Porównaj ekonomiczny koszt dostawy na podstawie własnych kosztów, bez pobierania stawek celnych."
    },
    "input": {
      "fields": [
        {
          "id": "qty",
          "label": "Liczba dobrych sztuk",
          "type": "integer",
          "unit": "szt.",
          "default": 10000,
          "minimum": 1,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "purchase",
          "label": "Zakup towaru netto po przeliczeniu na PLN",
          "type": "number",
          "unit": "PLN",
          "default": 25000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "freight",
          "label": "Transport i ubezpieczenie",
          "type": "number",
          "unit": "PLN",
          "default": 3000,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "duty",
          "label": "Znane należności celne i inne nieodzyskiwalne opłaty",
          "type": "number",
          "unit": "PLN",
          "default": 1500,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "local",
          "label": "Obsługa i dostawa lokalna",
          "type": "number",
          "unit": "PLN",
          "default": 500,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "tax",
          "label": "Nieodliczalne podatki – wpisz kwotę",
          "type": "number",
          "unit": "PLN",
          "default": 0,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "margin",
          "label": "Docelowa marża od ceny",
          "type": "number",
          "unit": "%",
          "default": 25,
          "minimum": 0,
          "maximum": 99,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "purchase+freight+duty+local+tax"
        },
        {
          "id": "unit",
          "unit": "PLN/szt.",
          "precision": 4,
          "formula": "cost/qty"
        },
        {
          "id": "price",
          "unit": "PLN",
          "precision": 2,
          "formula": "ceil(cost/(1-margin/100)*100)/100"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie wyznacza cła, VAT, kodu CN, kursu ani podstawy opodatkowania. Zweryfikuj kwoty z dokumentami; unikaj podwójnego liczenia transportu."
    },
    "output": {
      "fields": [
        {
          "id": "cost",
          "label": "Całkowity koszt ekonomiczny",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "unit",
          "label": "Koszt jednej sztuki",
          "unit": "PLN/szt.",
          "precision": 4
        },
        {
          "id": "price",
          "label": "Minimalna cena sprzedaży partii netto",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "Sumujemy wprowadzone kwoty ekonomiczne, a następnie obliczamy cenę dla marży.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "cost": 30000,
            "unit": 3,
            "price": 40000
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-landed-cost/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  },
  {
    "schema_version": "1.0.0",
    "identity": {
      "id": "mrr-saas",
      "version": "1.0.0",
      "name": "Kalkulator MRR i rentowności MicroSaaS",
      "category": "Rentowność",
      "description": "Sprawdź powtarzalny przychód i wynik miesięczny z abonamentów."
    },
    "input": {
      "fields": [
        {
          "id": "clients",
          "label": "Płacący klienci",
          "type": "integer",
          "unit": "klienci",
          "default": 100,
          "minimum": 0,
          "maximum": 10000000.0,
          "required": true
        },
        {
          "id": "arpu",
          "label": "Średni miesięczny przychód netto na klienta",
          "type": "number",
          "unit": "PLN/klient",
          "default": 49,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "variable",
          "label": "Miesięczny koszt zmienny na klienta",
          "type": "number",
          "unit": "PLN/klient",
          "default": 5,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        },
        {
          "id": "fixed",
          "label": "Miesięczne koszty stałe",
          "type": "number",
          "unit": "PLN",
          "default": 1500,
          "minimum": 0,
          "maximum": 1000000000.0,
          "required": true
        }
      ],
      "special": {}
    },
    "formula": {
      "model": "deterministic",
      "expressions": [
        {
          "id": "mrr",
          "unit": "PLN",
          "precision": 2,
          "formula": "clients*arpu"
        },
        {
          "id": "arr",
          "unit": "PLN",
          "precision": 2,
          "formula": "mrr*12"
        },
        {
          "id": "cost",
          "unit": "PLN",
          "precision": 2,
          "formula": "fixed+clients*variable"
        },
        {
          "id": "profit",
          "unit": "PLN",
          "precision": 2,
          "formula": "mrr-cost"
        }
      ]
    },
    "qualification": {
      "states": [
        "MATCH",
        "MISMATCH",
        "UNKNOWN",
        "REVIEW"
      ],
      "rules": [],
      "limitations": "Nie uwzględnia churnu, nowych klientów, podatku, prowizji nieuwzględnionych w kosztach ani sezonowości."
    },
    "output": {
      "fields": [
        {
          "id": "mrr",
          "label": "MRR – miesięczny przychód powtarzalny",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "arr",
          "label": "ARR – roczna ekstrapolacja MRR",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "cost",
          "label": "Miesięczne koszty",
          "unit": "PLN",
          "precision": 2
        },
        {
          "id": "profit",
          "label": "Wynik operacyjny miesięczny",
          "unit": "PLN",
          "precision": 2
        }
      ],
      "formats": [
        "json",
        "csv"
      ]
    },
    "evidence": {
      "methodology": "MRR to suma miesięcznych przychodów abonamentowych. ARR jest prostą ekstrapolacją, nie prognozą.",
      "source_type": "author_model",
      "test_cases": [
        {
          "expected": {
            "mrr": 4900,
            "arr": 58800,
            "cost": 2000,
            "profit": 2900
          },
          "inputs": {},
          "status": "MATCH"
        }
      ]
    },
    "commercial": {
      "access": "free",
      "paid_features_available": false
    },
    "action": {
      "mode": "human_web",
      "path": "/narzedzie-mrr-saas/",
      "agent_execution": false
    },
    "governance": {
      "execution": "browser",
      "external_api": false,
      "privacy": "local processing; explicit local project save",
      "schema_version": "1.0.0"
    }
  }
]