본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3555

relsa-severity-assessment

하는 일

이 도구는 체중, 체온, 기타 징후 같은 다양한 측정값을 결합해, 연구에서 동물 복지를 요약하는 단일 점수를 계산합니다. 이 복지 점수가 앞으로 어떻게 바뀔지 예측할 수도 있습니다.

사용하는 경우

  • ✓여러 복지 측정치(체중, 체온 등)를 하나의 점수로 결합할 때.
  • ✓동물이 중요한 복지 지점에 도달할지 예측할 때.
  • ✓서로 다른 동물 집단이나 처치 사이의 복지를 비교할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 동물들에 대해 체중, 체온, 임상 점수를 결합해 복지 점수를 계산하고, 향후 3일의 점수를 예측해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 각 동물의 측정값을 기준 집단과 비교해 정상 범위에서 얼마나 벗어났는지 확인합니다. RELSA라는 방법으로 결합 점수를 만들고, ARIMA라는 다른 방법으로 예측을 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
  • id and a time column (day, time, hour, …) are required; treatment and condition are 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

…

자주 묻는 질문

RELSA 점수는 무엇을 뜻하나요?

RELSA 점수는 상대적 척도입니다. 0은 기준 대비 관찰된 악화가 없다는 뜻입니다. 1은 기준 척도의 한 단위이며 상한선이 아닙니다.

예측이 동물이 언제 죽을지 알려 주나요?

아닙니다. 예측은 미래 시점의 심각도 점수를 추정할 뿐, 종료점까지의 시간이나 사망 확률을 추정하지 않습니다.

도구는 어떤 측정값이 악화를 나타내는지 어떻게 아나요?

측정값이 증가해야(예: 체온) 악화인지, 감소해야(예: 체중) 악화인지 도구에 알려 줘야 합니다. 이를 올바르게 지정하지 않으면 그 측정값은 점수에 반영되지 않습니다.

상세 정보

작성자의 원본 설명

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

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3555
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬