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

[Lane 2 · kotlin-core] NotImplemented stubs — remove or implement TensorDefineDslImpl.create()

未关闭 适合新手
#1,417 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

阅读 TensorDSL.kt,并与可正常工作的 tensor {} 路径进行比较,追踪 TensorDefineDslImpl.create() 是否可达。删除无效实现,或将其委托给可正常工作的路径,然后从 config/stub-allowlist.txt 中删除对应条目。运行 ./gradlew :skainet-lang:skainet-lang-core:jvmTest apiCheck checkUnmarkedStubs;当 TensorDSL.kt 中不再有 TODO(),且结果已在父级 issue 中报告时,即表示完成。

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

描述

coding good first issue size:xs skill:kotlin-core sub-issue

Sub-issue of #1414 ([Feature]: Close the remaining NotImplemented stubs outside the operator surface).

Lane: 2 · Kotlin core
Skill needed: Kotlin. Mostly code archaeology.
Size: xs (under 1 hour)
Blocked by: nothing

What to do

  1. TensorDefineDslImpl.create() in skainet-lang/skainet-lang-core/src/commonMain/kotlin/sk/ainet/lang/tensor/dsl/TensorDSL.kt is TODO("Not yet implemented").
  2. Find out whether anything reaches it (tensor {} works through another path). If nothing does, delete the dead code; otherwise implement it by delegating to the working path.
  3. Delete the file's line from config/stub-allowlist.txt; run ./gradlew :skainet-lang:skainet-lang-core:jvmTest apiCheck checkUnmarkedStubs (run apiDump if you removed public API and say so in the PR).

Acceptance

  • No TODO() left in TensorDSL.kt
  • Result reported back on the parent issue

Notes

If something here turns out to be wrong or much bigger than the size label, comment on this issue or open a specific bug instead of blocking the parent.

Coverage matrix: docs/modules/ROOT/pages/reference/ops-status-matrix.adoc · How lanes work: Issue taxonomy

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

环境准备

  • 没有 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 摘要。