[Lane 3 · android] Precision/Recall/F1 — Android target parity check (enable host tests for skainet-backend-cpu)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Área
- mobile-dev, testing
Línea de trabajo
Start by checking the Android target configuration for skainet-backends/skainet-backend-cpu and the KMP/Android conventions under build-logic/convention/. Run the listed Gradle tasks command to confirm host-test availability, then identify and run the resulting Android host-test task; report any test failures rather than fixing unrelated ones. Done means posting the exact task and results, toolchain versions, and any target-specific findings on #1222, opening a separate linked bug if needed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Sub-issue of #1222 (Precision, Recall and F1Score metrics).
Lane: 3 · Platform verification · Android
Skill needed: Android 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: s (~1–2 h — see Notes: host tests are not enabled for this module yet, so the first step is a small build change)
Blocked by: #1229 (F1Score merged to develop), or check out its branch early.
What to do
- Check whether
skainet-backends/skainet-backend-cpurunscommonTeston the Android
target at all. As of today it does not:./gradlew :skainet-backends:skainet-backend-cpu:tasks --all
warns "The commonTest source directory exists, but android host tests are not
enabled. To enable android host tests, addwithHostTest {}to your android target
configuration" and lists no Android test task. - Add
withHostTest {}to the module's Android target configuration (the
com.android.kotlin.multiplatform.libraryplugin, applied viask.ainet.multiplatform
/libs.plugins.androidMultiplatformLibrary— check whether it belongs in the
convention plugin underbuild-logic/convention/so every module gets it, and say
which you chose in the PR). - Run the resulting host-test task (something like
./gradlew :skainet-backends:skainet-backend-cpu:testAndroidHostTest— take the name
from the task list) and, if you have a device or emulator, the instrumented variant too.
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
Enabling host tests may surface other failing tests in commonTest that have never run
on Android before. If so, that is a real finding: report the list on the parent and open
one bug for it; do not try to fix them in this PR. The kmp / Android conventions live
in build-logic/convention/ — see Explanation → Android NEON kernels via JNI for how
the Android target is wired.
- Lenguaje dominante
- Kotlin
- Estrellas
- 52
- Forks
- 15
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 36
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SKaiNET-developers/SKaiNET
-
coding good first issue size:xs skill:kotlin-core sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
SKaiNET-developers/SKaiNET#1323 ·
Los mantenedores suelen responder en 1 día
-
coding good first issue platform size:xs skill:js sub-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SKaiNET-developers/SKaiNET#1232 ·
Los mantenedores suelen responder en 1 día
-
skeep tracking
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
SKaiNET-developers/SKaiNET#1331 ·
Los mantenedores suelen responder en 1 día
-
assessment size:s skill:review sub-issue
Dificultad 4/5 1-2 días Aptitud para principiantes 18/100
SKaiNET-developers/SKaiNET#1330 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue size:s skill:docs sub-issue
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
SKaiNET-developers/SKaiNET#1329 ·
Los mantenedores suelen responder en 1 día
Todos los issues de SKaiNET-developers/SKaiNET
Issues similares
-
Default book icon displayed while loadingPosiblemente ocupada @Bhaskar-Guthula-137 la tomó hoy. Abiertobug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
kiwix/kiwix-android#5194 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
jellyfin/jellyfin-androidtv#5885 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 73/100
tortuvshin/open-apps#377 ·
Los mantenedores suelen responder en 1 día
-
contributor: external needs review
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
supabase-community/supabase-kt#1413 ·
Los mantenedores suelen responder en 5 días