relsa-severity-assessment
Was er macht
Dieses Tool berechnet einen einzelnen Score, der das Tierwohl in Studien zusammenfasst. Dafür kombiniert es verschiedene Messwerte wie Gewicht, Temperatur und weitere Anzeichen. Außerdem kann es vorhersagen, wie sich dieser Wohlfahrts-Score in Zukunft entwickeln könnte.
Wann du ihn nutzt
- ✓Um mehrere Wohlfahrtsmessungen (Gewicht, Temperatur usw.) zu einem einzigen Score zusammenzufassen.
- ✓Um vorherzusagen, ob ein Tier einen kritischen Wohlfahrtspunkt erreichen könnte.
- ✓Um das Wohlergehen zwischen verschiedenen Tiergruppen oder Behandlungen zu vergleichen.
Link zum Skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Berechne den Wohlfahrts-Score für meine Tiere, indem du Gewicht, Temperatur und einen klinischen Score kombinierst, und sag mir den Score für die nächsten 3 Tage voraus.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool vergleicht die Messwerte jedes Tieres mit einer Referenzgruppe, um zu sehen, wie stark sie von der Norm abweichen. Es verwendet eine Methode namens RELSA, um einen kombinierten Score zu erstellen, und eine weitere Methode (ARIMA), um Vorhersagen zu treffen.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
…
Häufige Fragen
Was bedeutet der RELSA-Score?
Der RELSA-Score ist ein relatives Maß. Ein Wert von 0 bedeutet, dass im Vergleich zur Referenz keine beobachtete Verschlechterung vorliegt. Ein Wert von 1 ist eine Einheit der Referenzskala und keine Obergrenze.
Sagt die Prognose voraus, wann ein Tier sterben wird?
Nein. Die Prognose schätzt einen Schweregrad zu einem zukünftigen Zeitpunkt. Sie sagt weder, wann ein Endpunkt erreicht wird, noch wie hoch die Sterbewahrscheinlichkeit ist.
Wie erkennt das Tool, welche Messwerte eine Verschlechterung anzeigen?
Du musst dem Tool sagen, ob ein Messwert steigen (z. B. Temperatur) oder sinken (z. B. Gewicht) soll, um eine Verschlechterung anzuzeigen. Wenn das nicht richtig angegeben wird, fließt der Messwert nicht in den Score ein.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 51k
- Platz im Ranking
- #3555
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
13c-metabolic-flux
51kSchätzt Stoffflüsse im Stoffwechsel anhand von Kohlenstoff-13-Isotopendaten. Nützlich für die Analyse des Zellstoffwechsels und biochemischer Stoffwechselwege.
adaptyv
51kPlant Experimente zur Proteincharakterisierung mit der Adaptyv API. Hilft beim Schätzen der Kosten, Einreichen von Sequenzen und Verfolgen der Laborergebnisse.
aeon
51kFührt Machine-Learning-Aufgaben mit Zeitreihendaten aus. Nützlich zum Klassifizieren, Prognostizieren, Erkennen von Anomalien und Finden von Mustern.
alphagenome
51kSucht vorberechnete genomische Effekte für genetische Varianten heraus. Liefert Scores und Erklärungen zu den Auswirkungen der Varianten auf das Genom.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.