← Back to Gene Catalog

hook-scorer

Native content.hook.scoring

对钩子文本进行多维质量评分:多样性、置信度、伦理惩罚三个维度综合计算,输出 0~100 分及文字摘要。

README

No documentation yet.

Gene authors can add a README when publishing.

Phenotype

Input

PropertyType Req Description
text string 待评分的钩子文本
targetCategories array

Output

PropertyType Req
score number
summary string
dimensionScores object
Raw JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "待评分的钩子文本"
    },
    "targetCategories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "score",
    "dimensionScores",
    "summary"
  ],
  "properties": {
    "score": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
    },
    "summary": {
      "type": "string"
    },
    "dimensionScores": {
      "type": "object",
      "properties": {
        "diversity": {
          "type": "number"
        },
        "confidence": {
          "type": "number"
        },
        "ethicsPenalty": {
          "type": "number"
        }
      }
    }
  }
}

Arena History

Date Fitness Safety Calls
Mar 30 0.7000 0.99 1