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

[Lane 3 · native] Precision/Recall/F1 — Kotlin/Native (macOS/Linux) target parity check

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1 小时以内
新手友好度
54/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
冷清
技术栈
kotlin
领域
testing

调研方向

First check whether #1229 has merged or use its branch. Run at least one listed Gradle task for macOS Apple Silicon or Linux x86-64; consult .github/workflows/native-cpu-multiarch.yml to see which native targets CI already tests. Compare the metric results bit-for-bit with the JVM run, then report the target, toolchain versions, task, outcome and wall-clock on #1222; open and link a separate bug issue if something fails.

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

描述

coding good first issue platform size:xs skill:native sub-issue

Sub-issue of #1222 (Precision, Recall and F1Score metrics).

Lane: 3 · Platform verification · Kotlin/Native (macOS / Linux)
Skill needed: Kotlin/Native desktop targets build tooling — running a Kotlin Multiplatform module's tests on this target. No tensor-internals or metrics knowledge required. The code under test is pure commonMain Kotlin over Double counters; this is a smoke check, not new implementation.
Size: xs (~30–60 min)
Blocked by: #1229 (F1Score merged to develop), or check out its branch early.

What to do

  1. macOS Apple Silicon: ./gradlew :skainet-backends:skainet-backend-cpu:macosArm64Test --tests "sk.ainet.exec.metrics.*"
  2. Linux x86-64: ./gradlew :skainet-backends:skainet-backend-cpu:linuxX64Test --tests "sk.ainet.exec.metrics.*"
    (linuxArm64 is link-only — note it rather than run it).
  3. Run at least one of the two; say which.

Then, in every case:

  • Confirm the metric tests (sk.ainet.exec.metrics.*) pass and the values match the JVM run
    bit-for-bit — pure Long counting and Double division, so any drift is itself a finding.
  • Report on #1222: target, toolchain versions, pass/fail, wall-clock, anything
    target-specific you hit (an expect/actual gap, a disabled test source set, a task
    that doesn't exist).

Acceptance

  • Result posted on #1222 with the exact Gradle task(s) run
  • If something is wrong, a separate bug issue opened and linked — don't block the
    parent on investigating it here

Notes

The CI matrix in .github/workflows/native-cpu-multiarch.yml shows which native targets
CI already exercises — if the metric tests are picked up there automatically after
#1229 merges, a link to the green run is an acceptable report.

主要语言
Kotlin
星标
52
派生
15
平均合并
1 天 15 小时
30 天内合并 PR
36

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

SKaiNET-developers/SKaiNET 的其他 Issue

查看 SKaiNET-developers/SKaiNET 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

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