免费提示词
生成开发者能力卡的数值和称号
适合想做趣味个人卡片的开发者。你要提供:技术栈和代表项目。
请根据我提供的技术栈、代表项目与开发习惯,帮我测算出我的六维能力值(0~99)、专属技术位置称号(如:全栈发动机 / 架构清道夫)与战力卡铭文。
示例片段(ans-dev-card-score.ts)
只是写法示意,不是完整程序。
// ANS 开发者六维战力评分归一化算法 (ans-dev-card-score.ts)
export function computeAnsDevOverallRating(stats: { commits: number; prs: number; stars: number; streakDays: number }) {
const raw = Math.log10(stats.commits + 10) * 22 + Math.log10(stats.prs + 5) * 18 + Math.log10(stats.stars + 2) * 15 + Math.min(20, stats.streakDays * 0.5);
return Math.max(60, Math.min(99, Math.round(raw)));
}免费使用,可用于个人和商业项目。模型输出的内容由你自己核对。