relsa-severity-assessment
Fungsinya
Tool ini menghitung satu skor yang merangkum kesejahteraan hewan dalam sebuah studi dengan menggabungkan berbagai pengukuran, seperti berat badan, suhu, dan tanda-tanda lainnya. Tool ini juga bisa memprediksi bagaimana skor kesejahteraan tersebut mungkin berubah di masa depan.
Kapan dipakai
- βSaat ingin menggabungkan beberapa ukuran kesejahteraan (berat badan, suhu, dll.) menjadi satu skor.
- βSaat ingin memprediksi apakah seekor hewan mungkin mencapai titik kritis kesejahteraannya.
- βSaat ingin membandingkan kesejahteraan antar kelompok hewan atau perlakuan yang berbeda.
Link skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βHitung skor kesejahteraan untuk hewan saya dengan menggabungkan berat badan, suhu, dan skor klinis, lalu prediksi skornya untuk 3 hari ke depan.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini membandingkan pengukuran setiap hewan dengan kelompok referensi untuk melihat seberapa jauh penyimpangannya dari kondisi normal. Tool ini menggunakan metode bernama RELSA untuk membuat skor gabungan, dan metode lain bernama ARIMA untuk membuat prediksi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
RELSA severity assessment and exploratory score forecasting
Overview
This skill computes reference-relative multivariate scores and exploratory ARIMA forecasts.
It targets the equations and printed example of RELSA 0.0.1.9000
(commit e68e8451e8719ccc3600179f55900cd7254ede9d, current upstream at review), plus the
published foRcast methodology.
The Python forecast helper is an independent nonseasonal approximation, not an exact R port.
RELSA is the RMS of directional deviations divided by each variable's reference maximum deviation. Zero means no measured worsening in those directions; it does not establish normal welfare. One is a reference scale unit, not a universal endpoint or an upper bound. Different variables may attain their reference extrema in different animals or at different times, so the reference cohort need not contain a score of exactly one.
Forecasts estimate a score at a specified time, not time-to-endpoint or probability of death. Keep the approved study's observation schedule and humane endpoint criteria separate from these exploratory outputs. See Boundaries.
When to use this skill
- Combining weight loss, temperature, clinical scoring, biomarkers, or telemetry into a single per-animal severity score
- Asking which animals in a cohort are at risk of reaching a humane endpoint, or predicting the severity score at a coming time point
- Comparing severity between treatment groups, interventions, or animal models on a common relative scale
- Defining thresholds or zones on a severity scale from the data
- Writing the severity-assessment section of an animal welfare report, a 3Rs/refinement analysis, or an application under EU Directive 2010/63/EU
For general forecasting of a time series that is not a severity score, use timesfm-forecasting or statsmodels. For study design and sample size, use experimental-design and statistical-power.
Installation
uv venv --python 3.13 .venv-relsa
uv pip install --python .venv-relsa/bin/python numpy==2.5.3 pandas==3.0.6 scipy==1.18.1 statsmodels==0.15.0 matplotlib==3.11.2
source .venv-relsa/bin/activate
Run the examples from this skill directory. relsa_score.py needs numpy/pandas;
kde_thresholds.py additionally needs scipy; statsmodels is required
for forecasting and matplotlib only for figures.
Data format
One row per animal per time point, in a CSV:
| id | treatment | condition | day | temp | weight | score | il6 |
|---|---|---|---|---|---|---|---|
| M01 | treated | endpoint | -1 | 37.15 | 25.17 | 0 | 35.1 |
| M01 | treated | endpoint | 0 | 37.26 | 25.25 | 0 | 39.5 |
| M01 | treated | endpoint | 1 | 35.83 | 23.12 | 4 | 162.0 |
idand a time column (day,time,hour, β¦) are required;treatmentandconditionare optional labels used for grouping and for selecting the reference set.- Time must be finite, with one consistent unit and origin across cohorts. Forecast training and
target times must align with the chosen regular grid; disable interpolation only on regular observations. The RELSA
convention codes the baseline time point as
-1. - One row per animal per time point. Average hourly telemetry to one value per interval first (the published models average heart rate, HRV, and temperature, and sum activity).
- Preserve lexical animal IDs (including leading zeros). Duplicate IDs/times, nonnumeric measurements and infinities are rejected. Leave missing measurements empty. They are dropped from the score, never imputed β a missing value treated as "no deviation" biases severity downward.
assets/example_cohort.csv is a small synthetic cohort (6 mice, 9 days, temperature, body
weight, an 0β8 clinical score, and an IL-6-like biomarker) used by every command below, so
each one is runnable as written.
The four decisions that determine the result
Make these explicitly and write them into the methods. Nothing else about the procedure matters as much.
1. Directionality β which variables rise under worsening? Falling is the default (body
weight, activity, food intake, burrowing, wheel running). Variables that rise must be
declared as --turned: clinical scores, inflammatory biomarkers, fever, tachycardia. Get
this wrong and the variable contributes nothing at all, silently, because deviations in the
β¦
Pertanyaan umum
Apa arti skor RELSA?
Skor RELSA adalah ukuran relatif. Skor 0 berarti tidak ada perburukan yang teramati dibandingkan dengan referensi. Skor 1 adalah satuan skala referensi, bukan batas atas.
Apakah prediksi ini menunjukkan kapan seekor hewan akan mati?
Tidak. Prediksi hanya memperkirakan skor keparahan pada waktu tertentu di masa depan, bukan waktu menuju suatu titik akhir atau peluang kematian.
Bagaimana tool ini tahu pengukuran mana yang menunjukkan perburukan?
Anda perlu memberitahu tool apakah sebuah pengukuran harus naik (seperti suhu) atau turun (seperti berat badan) untuk menandakan perburukan. Jika ini tidak ditentukan dengan benar, pengukuran tersebut tidak akan berkontribusi pada skor.
Detail
Deskripsi asli dari pembuat
Supports multivariate severity assessment and exploratory endpoint-time score forecasting for laboratory animal studies using the RELSA (RELative Severity Assessment) score and ARIMA-based foRcast forecasting. Use when combining welfare readouts β body weight or weight loss, body temperature, clinical or nesting scores, biomarkers, activity, heart rate, burrowing, wheel running β into one severity
Popularitas
- Bintang GitHub
- 51k
- Peringkat
- #3555
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
13c-metabolic-flux
51kMemperkirakan fluks metabolik menggunakan data pelacakan isotop karbon-13. Berguna untuk menganalisis metabolisme seluler dan jalur biokimia.
adaptyv
51kMerancang eksperimen karakterisasi protein menggunakan Adaptyv API. Membantu memperkirakan biaya, mengirimkan sekuens, dan memantau hasil lab.
aeon
51kMenjalankan tugas machine learning pada data time series. Berguna untuk klasifikasi, peramalan, deteksi anomali, dan menemukan pola dalam data berurutan.
alphagenome
51kMencari efek genomik yang sudah dihitung untuk varian genetik. Memberikan skor dan penjelasan untuk memahami dampak varian terhadap genom.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.