Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Lane 2 · kotlin-core] NotImplemented stubs — Tensor.sliceCopy {} via CopyMaterializationStrategy

オープン 初心者向け
#1,415 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
kotlin

調査の方向性

TensorSlicingExtensions.ktを読み、sliceCopy {}とsliceView {}を比較します。次に、既存のマテリアライザーを探すためにCopyMaterializationStrategy.ktを調べます。コピーを変更しても元の値が変わらないことを示すテストを追加し、config/stub-allowlist.txtからファイルを削除して、./gradlew :skai-net-lang:skai-net-lang-core:jvmTest checkUnmarkedStubsを実行します(issueに記載されたプロジェクトのパスを使用)。コピーにスライスされた値が含まれ、独立しており、stubチェックが通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

coding good first issue size:s 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. No tensor-storage internals needed — the materializer already exists.
Size: s (a few hours)
Blocked by: nothing

What to do

  1. Tensor.sliceCopy {} in skainet-lang/skainet-lang-core/src/commonMain/kotlin/sk/ainet/lang/tensor/TensorSlicingExtensions.kt throws NotImplementedError.
  2. Implement it by building the view exactly like sliceView {} in the same file and passing it to CopyMaterializationStrategy.materialize(view) (.../lang/tensor/CopyMaterializationStrategy.kt).
  3. Add a test that mutating the copy does not change the source.
  4. Delete the file's line from config/stub-allowlist.txt; run ./gradlew :skainet-lang:skainet-lang-core:jvmTest checkUnmarkedStubs.

Acceptance

  • sliceCopy returns an independent tensor with the sliced values
  • checkUnmarkedStubs passes without the allowlist entry
  • 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日 10時間
マージ済み PR(30日)
59

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SKaiNET-developers/SKaiNET のほかの issue

SKaiNET-developers/SKaiNET の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。