Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Lane 3 · js] Precision/Recall/F1 — JS/Wasm target parity check

Aperta Adatta ai principianti
#1,232 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
javascript, kotlin, node.js, wasm

Direzione di ricerca

Questo è un controllo smoke, non nuovo codice: quando #1229 (F1Score) è su develop, esegui ./gradlew :skainet-backends:skainet-backend-cpu:jsTest --tests "sk.ainet.exec.metrics.*" e il wasmJsTest corrispondente (browser Karma; esiste anche wasmWasiNodeTest). Conferma che sk.ainet.exec.metrics.* passi e corrisponda bit per bit a JVM per i contatori Double/Long. Il lavoro è terminato quando pubblichi la destinazione, la toolchain, l’esito (pass/fail) e il tempo di esecuzione su #1222, oppure apri un bug collegato se emerge una lacuna in una task o in expect/actual.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

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

Lane: 3 · Platform verification · JS / Wasm
Skill needed: Kotlin/JS & Kotlin/Wasm (Node.js, a headless browser via Karma) 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. ./gradlew :skainet-backends:skainet-backend-cpu:jsTest --tests "sk.ainet.exec.metrics.*"
  2. ./gradlew :skainet-backends:skainet-backend-cpu:wasmJsTest --tests "sk.ainet.exec.metrics.*"
    (browser via Karma; wasmWasiNodeTest also exists for the WASI target).

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

JS numbers are IEEE doubles, so Double results must match JVM exactly; Long counters
are emulated on JS — an overflow-free smoke test, but worth confirming a batch of a few
thousand samples still counts correctly.

Lingua principale
Kotlin
Stelle
52
Fork
15
Merge medio
1g 15h
PR unite (30g)
36

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SKaiNET-developers/SKaiNET

Tutte le issue di SKaiNET-developers/SKaiNET

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.