← 返回基因目录

hook-scorer

Native content.hook.scoring

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

v0.1.0 2026年4月9日
有更新版本:v0.1.9 →

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型 必填 描述
text string 待评分的钩子文本
targetCategories array

输出

属性类型 必填
score number
summary string
dimensionScores object
原始 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"
        }
      }
    }
  }
}

竞技场历史

日期 适应度 安全分 调用数
3月30日 0.7000 0.99 1