[
  {
    "id": "research-notes",
    "title": "Clean repeated research notes",
    "purpose": "Prepare a small set of collected notes for a downstream script.",
    "limitation": "Duplicates are removed after fixed text normalization; this does not detect semantic similarity or verify facts.",
    "mode": "Recorded synthetic results generated locally; no payment or network request.",
    "advertisedApiCostUsdc": "0.005",
    "steps": [
      {
        "route": "/clean",
        "requestBytes": 244,
        "request": {
          "input": "  Solar panels convert sunlight into electricity.  \nSolar panels convert sunlight into electricity.\n\nBattery storage can shift energy use into the evening.\nok\nInsulation reduces heat loss in buildings.",
          "options": {
            "minChars": 10
          }
        },
        "response": {
          "output": "{\"text\": \"Solar panels convert sunlight into electricity.\"}\n{\"text\": \"Battery storage can shift energy use into the evening.\"}\n{\"text\": \"Insulation reduces heat loss in buildings.\"}\n",
          "stats": {
            "inputFormat": "text",
            "rowsIn": 6,
            "rowsOut": 3,
            "droppedEmpty": 1,
            "droppedShort": 1,
            "droppedDuplicates": 1,
            "unparseable": 0
          }
        }
      }
    ]
  },
  {
    "id": "support-faq",
    "title": "Turn a support FAQ into chat examples",
    "purpose": "Convert consistent question/answer pairs into messages arrays for a downstream dataset workflow.",
    "limitation": "Chat formatting does not train a model, check factual correctness, or certify that the examples are suitable for training.",
    "mode": "Recorded synthetic results generated locally; no payment or network request.",
    "advertisedApiCostUsdc": "0.020",
    "steps": [
      {
        "route": "/clean",
        "requestBytes": 365,
        "request": {
          "input": "[{\"question\":\"  How do I reset my password? \",\"answer\":\" Use the password reset link on the sign-in page. \"},{\"question\":\"How do I reset my password?\",\"answer\":\"Use the password reset link on the sign-in page.\"},{\"question\":\"Where can I find my invoices?\",\"answer\":\"Open Billing, then select Invoices.\"}]",
          "options": {
            "minChars": 3
          }
        },
        "response": {
          "output": "{\"question\": \"How do I reset my password?\", \"answer\": \"Use the password reset link on the sign-in page.\"}\n{\"question\": \"Where can I find my invoices?\", \"answer\": \"Open Billing, then select Invoices.\"}\n",
          "stats": {
            "inputFormat": "json_array",
            "rowsIn": 3,
            "rowsOut": 2,
            "droppedEmpty": 0,
            "droppedShort": 0,
            "droppedDuplicates": 1,
            "unparseable": 0
          }
        }
      },
      {
        "route": "/judge",
        "requestBytes": 271,
        "request": {
          "input": "{\"question\": \"How do I reset my password?\", \"answer\": \"Use the password reset link on the sign-in page.\"}\n{\"question\": \"Where can I find my invoices?\", \"answer\": \"Open Billing, then select Invoices.\"}\n",
          "options": {
            "filter": true,
            "minScore": 70
          }
        },
        "response": {
          "output": "{\"question\": \"How do I reset my password?\", \"answer\": \"Use the password reset link on the sign-in page.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n{\"question\": \"Where can I find my invoices?\", \"answer\": \"Open Billing, then select Invoices.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n",
          "stats": {
            "rowsIn": 2,
            "rowsOut": 2,
            "averageScore": 100,
            "issueCounts": {}
          }
        }
      },
      {
        "route": "/format",
        "requestBytes": 504,
        "request": {
          "input": "{\"question\": \"How do I reset my password?\", \"answer\": \"Use the password reset link on the sign-in page.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n{\"question\": \"Where can I find my invoices?\", \"answer\": \"Open Billing, then select Invoices.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n",
          "options": {
            "format": "chat",
            "system": "Answer questions about the fictional ExampleDesk product."
          }
        },
        "response": {
          "output": "{\"messages\": [{\"role\": \"system\", \"content\": \"Answer questions about the fictional ExampleDesk product.\"}, {\"role\": \"user\", \"content\": \"How do I reset my password?\"}, {\"role\": \"assistant\", \"content\": \"Use the password reset link on the sign-in page.\"}]}\n{\"messages\": [{\"role\": \"system\", \"content\": \"Answer questions about the fictional ExampleDesk product.\"}, {\"role\": \"user\", \"content\": \"Where can I find my invoices?\"}, {\"role\": \"assistant\", \"content\": \"Open Billing, then select Invoices.\"}]}\n",
          "stats": {
            "format": "chat",
            "rowsIn": 2,
            "rowsOut": 2,
            "skipped": 0
          }
        }
      }
    ]
  },
  {
    "id": "feedback-review",
    "title": "Redact an example email and make a review document",
    "purpose": "Make a small synthetic feedback sample easier to review by replacing a detected email pattern and rendering Markdown.",
    "limitation": "Pattern redaction can miss personal information and produce false positives. Review the output yourself; do not send real sensitive records.",
    "mode": "Recorded synthetic results generated locally; no payment or network request.",
    "advertisedApiCostUsdc": "0.015",
    "steps": [
      {
        "route": "/judge",
        "requestBytes": 216,
        "request": {
          "input": "{\"text\":\"The export button was hard to find. Contact demo@example.com for this fictional example.\"}\n{\"text\":\"The search filters made it easier to find older reports.\"}",
          "options": {
            "stripPii": true
          }
        },
        "response": {
          "output": "{\"text\": \"The export button was hard to find. Contact [EMAIL] for this fictional example.\", \"_quality\": {\"score\": 95, \"issues\": [\"pii_redacted\"], \"pii_types\": {\"email\": 1}, \"llm_score\": null}}\n{\"text\": \"The search filters made it easier to find older reports.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n",
          "stats": {
            "rowsIn": 2,
            "rowsOut": 2,
            "averageScore": 98,
            "issueCounts": {
              "pii_redacted": 1
            }
          }
        }
      },
      {
        "route": "/format",
        "requestBytes": 418,
        "request": {
          "input": "{\"text\": \"The export button was hard to find. Contact [EMAIL] for this fictional example.\", \"_quality\": {\"score\": 95, \"issues\": [\"pii_redacted\"], \"pii_types\": {\"email\": 1}, \"llm_score\": null}}\n{\"text\": \"The search filters made it easier to find older reports.\", \"_quality\": {\"score\": 100, \"issues\": [], \"pii_types\": {}, \"llm_score\": null}}\n",
          "options": {
            "format": "markdown"
          }
        },
        "response": {
          "output": "# Dataset\n\nRows: 2  \nBuilt: 2026-10-05\n\n## Row 1 (score 95)\n\nThe export button was hard to find. Contact [EMAIL] for this fictional example.\n\n_Issues: pii_redacted_\n\n## Row 2 (score 100)\n\nThe search filters made it easier to find older reports.\n",
          "stats": {
            "format": "markdown",
            "rowsIn": 2,
            "rowsOut": 2,
            "skipped": 0
          }
        }
      }
    ]
  }
]
