Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Proposal: add a versioned public-safe JSON export for downstream tools

未关闭
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript
领域
tooling

调研方向

Start by locating the existing full JSON export, the VERSION value, and the representations for completed lanes and probe metadata. Agree the public-safe envelope with maintainers, then add an offline test for the version, metadata, selected results, and excluded fields; document the non-authentication and non-safety-rating boundary.

由索引模型根据 Issue 内容生成。

描述

Context

ModelPrint currently exports completed lanes as an unversioned JSON array:

[
  {
    "provider": "openrouter",
    "model": "example/model",
    "results": {},
    "raw": {}
  }
]

The existing export is useful for local forensic analysis: raw intentionally preserves timing, headers, request IDs, and error details. This proposal would keep that export available and add a separate, versioned public-safe export for downstream tools.

This is an interoperability/format proposal, not a vulnerability report.

Consumer use case

I am exploring optional interoperability with API Relay Audit, following the documentation contribution merged in ModelPrint PR #4.

API Relay Audit would treat a ModelPrint artifact as independent, informational model-fingerprint evidence. It would not turn fingerprint matches into an audit verdict, include them in its 6D risk matrix, imply ModelPrint endorsement, or claim that shared infrastructure proves model identity.

Proposal

Add a second export path, such as Public-safe JSON, with a small versioned envelope. For example:

{
  "schema_version": "modelprint-export-v1",
  "tool_version": "0.7.4",
  "generated_at": "2026-08-24T00:00:00Z",
  "export_mode": "public-safe",
  "probes": [
    {"id": "tok-english", "version": "1.0.0"}
  ],
  "lanes": [
    {
      "provider": "openrouter",
      "model": "example/model",
      "results": {
        "tok-english": 42
      }
    }
  ],
  "raw_included": false
}

The exact field names are open to maintainer preference; the important interoperability properties are an explicit schema version, the ModelPrint version, probe IDs plus versions, and a public-safe lane/result collection.

Suggested acceptance criteria

  • Keep the current full forensic JSON export available.
  • Add a distinct public-safe export path.
  • Include a schema version, ModelPrint version, generation timestamp, and selected probe versions.
  • Export only completed lanes and selected probes' deterministic value results.
  • Exclude raw, response headers, request IDs, timing samples, error bodies, custom endpoints, and pinned hosts.
  • Add an offline test covering the envelope, consistency with VERSION, probe metadata, and absence of excluded fields.
  • Document that fingerprints are infrastructure/model-family signals, not identity authentication or a safety rating.

If this boundary fits ModelPrint's direction, I can follow up with an implementation PR after the schema shape is agreed.

主要语言
JavaScript
星标
119
派生
14
平均合并
10 小时 23 分钟
30 天内合并 PR
4

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。