公开记录
软件健康报告模式 0.34.0 · 指标 2.10.0 · 2026-09-02 07:13 UTC

tryAGI / Tiktoken

High-performance .NET BPE tokenizer — up to 618 MiB/s, competitive with Rust. Zero-allocation counting, multilingual cache, o200k/cl100k/r50k/p50k encodings + HuggingFace tokenizer.json support.

C#MIT★ 88 星标⑂ 7 复刻始于 2023年6月在 GitHub 上查看 ↗

tryAGI/Tiktoken 的健康指数为 100 分中的 78 分,处于「良好」区间。 其得分最高的类别是Vitality(88/100),最低的是Sustainability & Governance(50/100)。 最近一次更新在今天。 近期的大部分工作由 1 位贡献者完成。

78
总分 / 100
良好

软件健康指数

指标归入加权类别,统一采用 1–100 量表。总体分先取类别加权平均,再依据公开记录的分布进行校准,使各等级具有百分位含义;当公开证据触发高风险司法辖区政策时,评级会按政策调整,并设置 34(存在风险)的上限。

78
卓越93-100公开记录中的最高层级(约前 5%);基本满足所有检验标准
优秀80-92各方面均表现强劲;仅有少量不足
良好65-79健康;不足之处有限且可控
中等50-64可接受,但存在明显不足;建议进行审查
薄弱35-49多个领域存在实质性薄弱环节
存在风险20-34存在重大薄弱环节;采用时应保持审慎
危急1-19问题严重(项目被弃置、仅有单一维护者、缺乏基本工程规范)
活力社区与采用可持续性与治理工程质量安全AI 就绪度

评分画像

每条轴代表一个类别。形状比平均值更重要——健康的对象会填满整个图形,而“一峰一谷”式画像意味着某一维度的优势正掩盖另一维度的风险。

加权总体分 67 经校准后在公布的指数量表上为 78(记录校准 2026-08-02)。

所有权

tryAGI组织
195 关注者252 个公开仓库始于 2023年3月

该仓库由组织支持——共同承担、可问责的托管责任,可延续于任何单一维护者之后。

按类别列示的指标

活力

项目是否仍有生命——是否仍在编写代码,是否仍在发布版本?

88优秀 · 占总体的 21%
评分方式
36/36推送新近度最近一次推送于 0 天前
28.4/36提交节奏52 周中有 41 周有提交
18/18提交量最近一年 122 次提交
10/10OpenSSF Scorecard:Maintained15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
所用输入
commits_last_year122
human_commit_share0.75
days_since_last_push0
active_weeks_last_year41

发布纪律

81优秀
评分方式
27/27有发布版本已发布 8 个发布版本
27/36发布时效最近一次发布版本于 124 天前
27/27发布节奏约每 5.5 天发布一次
0/10OpenSSF Scorecard:Signed-ReleasesProject has not signed or included provenance with any releases.
所用输入
releases_count8
latest_release_tagv3.1.5
releases_from_tags
days_since_latest_release124
mean_days_between_releases5.5

社区与采用

项目是否拥有用户、下载量与关注度,并具备欢迎贡献者参与的配置?

62中等 · 占总体的 17%
评分方式
31.5/60星标88 个星标
6.5/25复刻7 个复刻
2.7/15关注者4 位关注者
所用输入
forks7
stars88
watchers4
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history

社区健康

85优秀
评分方式
22.5/22.5README
22.5/22.5许可证可识别的许可证(MIT)
18/18CONTRIBUTING 指南
13.5/13.5行为准则
0/7.2议题模板
0/6.3PR 模板
所用输入
has_readme
has_license
readme_badges5
has_contributing
has_issue_template
has_code_of_conduct
readme_badge_servicesgithub.com, shields.io
has_pull_request_template

可持续性与治理

项目能否在其成员之外延续——巴士系数、响应能力、由谁支持,以及软件包的维护状况?

50中等 · 占总体的 23%
评分方式
9/54巴士系数1 位贡献者贡献了半数提交
0.5/22.5提交分布头号贡献者编写了 98% 的提交
4.1/13.5贡献者广度3 位贡献者
3/10OpenSSF Scorecard:Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
所用输入
bus_factor1
contributors_sampled3
top_contributor_share0.98
评分方式
35/42议题解决83% 的议题已关闭
27.9/30PR 接受已裁定的 PR 中 120/129 已合并
0/13Newcomer PR acceptance30 天内没有首次贡献者的 PR 得到裁决
0/15OpenSSF Scorecard:Code-ReviewFound 0/5 approved changesets -- score normalized to 0
所用输入
merged_prs120
open_issues2
closed_issues10
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.833
closed_unmerged_prs9
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
已排除计分(无数据或不适用):Newcomer PR acceptance。 其余权重已重新归一化。
评分方式
30/30所有权背书组织持有
0/20已验证域名
16.5/25所有者影响力tryAGI 有 195 位关注者
19.9/25既往记录252 个公开仓库,账户约 3 年
所用输入
followers195
owner_typeOrganization
is_verified
owner_logintryAGI
public_repos252
account_age_days1,264

工程质量

基础的工程与文档实践是否到位?

71良好 · 占总体的 19%

工程实践

68良好
评分方式
24/24CI 工作流3 个工作流
24/24存在测试
0/16Linter 配置
0/9.6Pre-commit 钩子
0/6.4.editorconfig
20/20OpenSSF Scorecard:CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
所用输入
has_ci
has_tests
has_editorconfig
has_linter_config
has_precommit_config

文档

75良好
评分方式
30/30README
0/25文档目录
15/15文档 / 主页站点https://www.nuget.org/packages/Tiktoken/
10/10仓库描述
10/10主题标签14 个主题标签
10/10Wiki
所用输入
topicscsharp, openai, tiktoken, ai, bpe, dotnet, gpt4o, high-performance, huggingface, sdk, tokenizer, zero-allocation, cl100k-base, o200k-base
has_wiki
homepagehttps://www.nuget.org/packages/Tiktoken/
docs_sitehttps://www.nuget.org/packages/Tiktoken/
has_readme
has_docs_dir
has_description

安全

可见的安全与供应链实践是否稳固,且不存在未解决的高风险司法辖区暴露?

62中等 · 占总体的 16%

安全态势

52中等
评分方式
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionbranch protection not enabled on development/release branches
2.5/2.5CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0/7.5Code-ReviewFound 0/5 approved changesets -- score normalized to 0
0.8/2.5Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5许可证license file detected
7.5/7.5Maintained15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
5/5Packagingpackaging workflow detected
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
5/5Security-Policysecurity policy file detected
0/7.5Signed-ReleasesProject has not signed or included provenance with any releases.
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
6.8/7.5Vulnerabilities1 existing vulnerabilities detected
所用输入
sourceopenssf_scorecard
checks_evaluated18
scorecard_versionv5.5.0
checks_inconclusive0
scorecard_aggregate5.2
评分方式
35/35直接依赖不含已知公告没有直接依赖携带已知公告
0/25间接依赖不含已知公告在此范围内,传递依赖集合无法与开发和测试依赖区分
0/40没有长期未处理的公告没有公告带有发布日期
所用输入
sourceosv
advisories1
affected_packages1
assessed_packages165
unassessed_packages0
affected_by_severityunknown 1
direct_affected_packages0
已排除计分(无数据或不适用):间接依赖不含已知公告, 没有长期未处理的公告。 其余权重已重新归一化。 已将 165 个已解析依赖与 OSV 比对。 该仓库未发布任何索引可解析的软件包,因此改为评估仓库依赖图。该图将开发与测试版本固定同交付的依赖混在一起,因此仅对声明的运行时依赖计分;传递性发现仅作为背景信息列出,不计入评分。 未对可达性进行分析。

AI 就绪度

该仓库在多大程度上具备与 AI 编码代理协同开发与维护的条件?权重刻意设小(4%):代理工具链是一项真实的维护信号,但完全不具备的仓库仍可达到 100/100。

85优秀 · 占总体的 4%
评分方式
45/45代理指令CLAUDE.md
0/15机器可读文档(llms.txt)
40/40可读的提交历史75 次人类提交中有 74 次说明了意图(结构化标题或解释性正文)
所用输入
has_llms_txt
llms_txt_url
legible_history_share0.987
agent_instruction_filesCLAUDE.md
agent_instruction_max_bytes5,107
评分方式
18/18一条命令的引导启动data/Makefile
22/22自动化测试
0/11Lint / 格式化配置
11/11静态类型检查C#(静态类型)
10/10可复现环境lockfile
10/10已体现的代理实践最近 100 次提交中有 70 次由代理编写或署名代理
8/8自动化维护最近 100 次提交中有 25 次为自动依赖更新
0/10OpenSSF Scorecard:Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
所用输入
has_nix
has_tests
lockfilesCargo.lock
has_dockerfile
typed_language
bootstrap_filesdata/Makefile
has_devcontainer
has_linter_config
typecheck_configs
agent_commit_share0.7
toolchain_manifestsbenchmarks/cross-language/rust/Cargo.toml, src/benchmarks/Tiktoken.Benchmarks.ColdPath/Tiktoken.Benchmarks.ColdPath.csproj, src/benchmarks/Tiktoken.Benchmarks.Construction/Tiktoken.Benchmarks.Construction.csproj, src/benchmarks/Tiktoken.Benchmarks.CountTokens/Tiktoken.Benchmarks.CountTokens.csproj, src/benchmarks/Tiktoken.Benchmarks.Decode/Tiktoken.Benchmarks.Decode.csproj, src/benchmarks/Tiktoken.Benchmarks.Encode/Tiktoken.Benchmarks.Encode.csproj, src/benchmarks/Tiktoken.Benchmarks.EncodingComparison/Tiktoken.Benchmarks.EncodingComparison.csproj, src/benchmarks/Tiktoken.Benchmarks.Explore/Tiktoken.Benchmarks.Explore.csproj, src/benchmarks/Tiktoken.Benchmarks.SmokeTest/Tiktoken.Benchmarks.SmokeTest.csproj, src/cli/Tiktoken.Cli/Tiktoken.Cli.csproj, src/libs/Tiktoken.Core/Tiktoken.Core.csproj, src/libs/Tiktoken.Encodings.Abstractions/Tiktoken.Encodings.Abstractions.csproj, src/libs/Tiktoken.Encodings.Tokenizer/Tiktoken.Encodings.Tokenizer.csproj, src/libs/Tiktoken.Encodings.cl100k/Tiktoken.Encodings.cl100k.csproj, src/libs/Tiktoken.Encodings.o200k/Tiktoken.Encodings.o200k.csproj, src/libs/Tiktoken.Encodings.p50k/Tiktoken.Encodings.p50k.csproj, src/libs/Tiktoken.Encodings.r50k/Tiktoken.Encodings.r50k.csproj, src/libs/Tiktoken/Tiktoken.csproj, src/tests/Tiktoken.UnitTests/Tiktoken.UnitTests.csproj
dependency_bot_commit_share0.25
评分方式
45/45可类型检查的代码C#(静态类型)
55/55可控的文件大小采样的 59 个源文件中有 0 个超过 60KB
所用输入
primary_languageC#
largest_source_bytes41,993
source_files_sampled59
oversized_source_files0

关键数据

88GitHub 星标
3贡献者
122最近 12 个月提交数
0距最近推送天数
8发布版本数
1巴士系数(bus factor)
2开放议题
软件包生态系统数

数据采集警告

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

更多细节

Star 与 Fork 历史 0 ★ / 7 ⇿
0Star
7Fork

每颗 star 和每个 fork 的添加时间,来自 GitHub 并按天汇总。累计增长位于其构成来源——每日新增——的正上方,二者可相互对照:稳定的自然增长与短暂的突增形态截然不同。当这一差别可被衡量时,它会作为增长真实性予以报告。

123456612024-012024-112025-10

每个点涵盖 2 天。

OpenSSF Scorecard 5.2 / 10
5.2综合

来自开源项目 OpenSSF Scorecard 的独立、工具无关的安全评估。每项检查奖励的是安全实践本身,而非特定供应商的工具。Scorecard 无法判定的检查项标记为 不适用,并从安全评分中剔除(绝不按零分计)。Scorecard v5.5.0 · 2026-09-02 07:13 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
10CI-Tests25 out of 25 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
0Code-ReviewFound 0/5 approved changesets -- score normalized to 0
3Contributorsproject has 1 contributing companies or organizations -- score normalized to 3
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
10Security-Policysecurity policy file detected
0Signed-ReleasesProject has not signed or included provenance with any releases.
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
9Vulnerabilities1 existing vulnerabilities detected
全部依赖 165

来自 GitHub 依赖图的完整解析依赖集合:0 个直接依赖与 165 个间接(传递)软件包。仓库提交锁文件时,传递闭包才是完整的。

注册表软件包版本关系
crates.ioadler22.0.1间接
crates.ioaho-corasick1.1.4间接
crates.ioanes0.1.6间接
crates.ioaneubeck-daachorse1.1.1间接
crates.ioanstyle1.0.14间接
crates.ioautocfg1.5.0间接
crates.iobase640.22.1间接
crates.iobpe0.2.1间接
crates.iobpe-openai0.3.0间接
crates.iobumpalo3.20.2间接
crates.iocast0.3.0间接
crates.iocfg-if1.0.4间接
crates.iociborium0.2.2间接
crates.iociborium-io0.2.2间接
crates.iociborium-ll0.2.2间接
crates.ioclap4.6.0间接
crates.ioclap_builder4.6.0间接
crates.ioclap_lex1.1.0间接
crates.iocrc32fast1.5.0间接
crates.iocriterion0.5.1间接
crates.iocriterion-plot0.5.0间接
crates.iocrossbeam-deque0.8.6间接
crates.iocrossbeam-epoch0.9.18间接
crates.iocrossbeam-utils0.8.21间接
crates.iocrunchy0.2.4间接
crates.ioeither1.15.0间接
crates.ioflate21.1.9间接
crates.iofnv1.0.7间接
crates.iohalf2.7.1间接
crates.iohermit-abi0.5.2间接
crates.iois-terminal0.4.17间接
crates.ioitertools0.10.5间接
crates.ioitertools0.14.0间接
crates.ioitoa1.0.18间接
crates.iojs-sys0.3.91间接
crates.iolibc0.2.183间接
crates.iomemchr2.8.0间接
crates.iominiz_oxide0.8.9间接
crates.ionum-traits0.2.19间接
crates.ioonce_cell1.21.4间接
crates.iooorandom11.1.5间接
crates.ioplotters0.3.7间接
crates.ioplotters-backend0.3.7间接
crates.ioplotters-svg0.3.7间接
crates.ioproc-macro21.0.106间接
crates.ioquote1.0.45间接
crates.iorayon1.11.0间接
crates.iorayon-core1.13.0间接
crates.ioregex1.12.3间接
crates.ioregex-automata0.4.14间接
crates.ioregex-syntax0.8.10间接
crates.iormp0.8.15间接
crates.iormp-serde1.3.1间接
crates.iorustc-hash2.1.1间接
crates.iorustversion1.0.22间接
crates.ioruzstd0.8.2间接
crates.iosame-file1.0.6间接
crates.ioserde1.0.228间接
crates.ioserde_core1.0.228间接
crates.ioserde_derive1.0.228间接
crates.ioserde_json1.0.149间接
crates.iosimd-adler320.3.8间接
crates.iosyn2.0.117间接
crates.iotiktoken3.1.2间接
crates.iotinytemplate1.2.1间接
crates.iotinyvec1.11.0间接
crates.iotinyvec_macros0.1.1间接
crates.iotwox-hash2.1.2间接
crates.iounicode-ident1.0.24间接
crates.iounicode-normalization0.1.25间接
crates.iowalkdir2.5.0间接
crates.iowasm-bindgen0.2.114间接
crates.iowasm-bindgen-macro0.2.114间接
crates.iowasm-bindgen-macro-support0.2.114间接
crates.iowasm-bindgen-shared0.2.114间接
crates.ioweb-sys0.3.91间接
crates.iowinapi-util0.1.11间接
crates.iowindows-link0.2.1间接
crates.iowindows-sys0.61.2间接
crates.iozerocopy0.8.47间接
crates.iozerocopy-derive0.8.47间接
crates.iozmij1.0.21间接
NuGetArgon0.35.2间接
NuGetAwesomeAssertions9.6.0间接
NuGetBenchmarkDotNet0.15.8间接
NuGetBenchmarkDotNet.Annotations0.15.8间接
NuGetCommandLineParser2.9.1间接
NuGetDiffEngine19.3.3间接
NuGetDotNet.ReproducibleBuilds2.0.5间接
NuGetEmptyFiles8.18.2间接
NuGetGee.External.Capstone2.3.0间接
NuGetGitHubActionsTestLogger3.0.5间接
NuGetGoogle.Protobuf3.30.2间接
NuGetH.Resources.Generator1.8.0间接
NuGetIced1.21.0间接
NuGetMicrosoft.ApplicationInsights2.23.0间接
NuGetMicrosoft.AspNetCore.App.Runtime.linux-x6410.0.11间接
NuGetMicrosoft.Bcl.AsyncInterfaces10.0.11间接
NuGetMicrosoft.Bcl.AsyncInterfaces9.0.4间接
NuGetMicrosoft.Bcl.HashCode6.0.0间接
NuGetMicrosoft.Bcl.Memory10.0.11间接
NuGetMicrosoft.CodeAnalysis.Analyzers3.11.0间接
NuGetMicrosoft.CodeAnalysis.Common4.14.0间接
NuGetMicrosoft.CodeAnalysis.CSharp4.14.0间接
NuGetMicrosoft.CodeCoverage18.4.0间接
NuGetMicrosoft.Diagnostics.NETCore.Client0.2.510501间接
NuGetMicrosoft.Diagnostics.Runtime3.1.512801间接
NuGetMicrosoft.Diagnostics.Tracing.TraceEvent3.1.21间接
NuGetMicrosoft.DiaSymReader2.2.9间接
NuGetMicrosoft.DotNet.ILCompiler10.0.11间接
NuGetMicrosoft.DotNet.PlatformAbstractions3.1.6间接
NuGetMicrosoft.Extensions.DependencyInjection6.0.0间接
NuGetMicrosoft.Extensions.DependencyInjection.Abstractions6.0.0间接
NuGetMicrosoft.Extensions.DependencyModel10.0.8间接
NuGetMicrosoft.Extensions.Logging6.0.0间接
NuGetMicrosoft.Extensions.Logging.Abstractions6.0.0间接
NuGetMicrosoft.Extensions.Options6.0.0间接
NuGetMicrosoft.Extensions.Primitives6.0.0间接
NuGetMicrosoft.ML.Tokenizers3.0.0-preview.26160.2间接
NuGetMicrosoft.ML.Tokenizers.Data.O200kBase2.0.0间接
NuGetMicrosoft.NET.ILLink.Tasks10.0.11间接
NuGetMicrosoft.NET.Test.Sdk18.4.0间接
NuGetMicrosoft.NETCore.App.Runtime.linux-x6410.0.11间接
NuGetMicrosoft.NETCore.App.Runtime.NativeAOT.linux-x6410.0.11间接
NuGetMicrosoft.NETCore.Platforms1.1.0间接
NuGetMicrosoft.NETFramework.ReferenceAssemblies1.0.3间接
NuGetMicrosoft.NETFramework.ReferenceAssemblies.net4621.0.3间接
NuGetMicrosoft.Testing.Extensions.CodeCoverage18.9.0间接
NuGetMicrosoft.Testing.Extensions.Telemetry2.3.3间接
NuGetMicrosoft.Testing.Extensions.TrxReport2.3.3间接
NuGetMicrosoft.Testing.Extensions.TrxReport.Abstractions2.3.3间接
NuGetMicrosoft.Testing.Extensions.VSTestBridge2.3.3间接
NuGetMicrosoft.Testing.Platform2.3.3间接
NuGetMicrosoft.Testing.Platform.MSBuild2.3.3间接
NuGetMicrosoft.TestPlatform.ObjectModel18.4.0间接
NuGetMicrosoft.TestPlatform.TestHost18.4.0间接
NuGetMinVer7.0.0间接
NuGetMSTest4.3.3间接
NuGetMSTest.Analyzers4.3.3间接
NuGetMSTest.TestAdapter4.3.3间接
NuGetMSTest.TestFramework4.3.3间接
NuGetNETStandard.Library2.0.3间接
NuGetNewtonsoft.Json13.0.3间接
NuGetPerfolizer0.6.1间接
NuGetPolySharp1.16.0间接
NuGetPragmastat3.2.4间接
NuGetruntime.linux-x64.Microsoft.DotNet.ILCompiler10.0.11间接
NuGetSharpToken2.0.6间接
NuGetSimpleInfoName3.2.0间接
NuGetSystem.Buffers4.6.1间接
NuGetSystem.CodeDom9.0.5间接
NuGetSystem.CommandLine2.0.11间接
NuGetSystem.IO.Pipelines10.0.11间接
NuGetSystem.Management9.0.5间接
NuGetSystem.Memory4.6.3间接
NuGetSystem.Numerics.Vectors4.6.1间接
NuGetSystem.Reflection.TypeExtensions4.7.0间接
NuGetSystem.Runtime.CompilerServices.Unsafe6.1.2间接
NuGetSystem.Text.Encodings.Web10.0.11间接
NuGetSystem.Text.Json10.0.11间接
NuGetSystem.Threading.Tasks.Extensions4.6.3间接
NuGetSystem.ValueTuple4.6.2间接
NuGetTiktokenSharp1.2.1间接
NuGetVerify31.28.0间接
NuGetVerify.MSTest31.28.0间接
依赖安全公告 1

该仓库未发布可被索引解析的包,因此评估的是其自身的依赖图——共 165 个包,其中也包含从不交付的开发与测试版本固定:1 个存在已知公告,0 个为直接依赖。

软件包版本关系严重程度公告数修复版本
crossbeam-epoch0.9.18间接未知10.9.20

公告表示依赖图中记录的版本落入某条公告的受影响范围。可达性未经分析,且依赖图包含开发与测试的版本固定——某项发现可能只涉及工具链而非交付的软件。

原始 JSON 报告 机器可读

反馈

发现这份报告有不准确之处,或有想法要分享?错误的测量、未识别的工具、建议、疑问——都欢迎提出。每条消息都会被阅读并得到回复。

登录过程中消息不会丢失。

评分是信号,而非担保。 评分反映的是 GitHub 上公开可见的实践——不是代码审计,也不是安全保证。

缺失数据将被剔除并重新归一化权重,绝不按零分计。方法论已版本化并公开:指标 v2.10.0、模式 v0.34.0—— 完整方法论 · 指标知识库.

单项结果在整体记录中的位置: 汇总统计.