[Lane 3 · js] Precision/Recall/F1 — JS/Wasm target parity check
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript, kotlin, node.js, wasm
- Domain
- machine-learning, testing
Research direction
This is a smoke check, not new code: after #1229 (F1Score) is on develop, run ./gradlew :skainet-backends:skainet-backend-cpu:jsTest --tests "sk.ainet.exec.metrics.*" and the matching wasmJsTest (Karma browser; wasmWasiNodeTest exists too). Confirm sk.ainet.exec.metrics.* pass and match JVM bit-for-bit on Double/Long counters. Done means posting target, toolchain, pass/fail, and wall-clock on #1222, or opening a linked bug if a task or expect/actual gap appears.
Written by the indexing model from the issue text.
Description
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
./gradlew :skainet-backends:skainet-backend-cpu:jsTest --tests "sk.ainet.exec.metrics.*"./gradlew :skainet-backends:skainet-backend-cpu:wasmJsTest --tests "sk.ainet.exec.metrics.*"
(browser via Karma;wasmWasiNodeTestalso 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 — pureLongcounting andDoubledivision, so any drift is itself a finding. - Report on #1222: target, toolchain versions, pass/fail, wall-clock, anything
target-specific you hit (anexpect/actualgap, 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.
- Dominant language
- Kotlin
- Stars
- 52
- Forks
- 15
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 36
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SKaiNET-developers/SKaiNET
-
coding good first issue size:xs skill:kotlin-core sub-issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
SKaiNET-developers/SKaiNET#1323 ·
Maintainers usually reply within 1 day
-
skeep tracking
Difficulty 5/5 Over a week Newbie friendliness 15/100
SKaiNET-developers/SKaiNET#1331 ·
Maintainers usually reply within 1 day
-
assessment size:s skill:review sub-issue
Difficulty 4/5 1-2 days Newbie friendliness 18/100
SKaiNET-developers/SKaiNET#1330 ·
Maintainers usually reply within 1 day
-
documentation good first issue size:s skill:docs sub-issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
SKaiNET-developers/SKaiNET#1329 ·
Maintainers usually reply within 1 day
-
coding good first issue size:s skill:kotlin-core sub-issue
Difficulty 3/5 Half a day Newbie friendliness 75/100
SKaiNET-developers/SKaiNET#1328 ·
Maintainers usually reply within 1 day
All issues in SKaiNET-developers/SKaiNET
Similar issues
-
Default book icon displayed while loadingPossibly taken @Bhaskar-Guthula-137 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
kiwix/kiwix-android#5194 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
jellyfin/jellyfin-androidtv#5885 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
tortuvshin/open-apps#377 ·
Maintainers usually reply within 1 day
-
contributor: external needs review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
supabase-community/supabase-kt#1413 ·
Maintainers usually reply within 5 days