Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính51k · #3555

relsa-severity-assessment

Skill này làm gì

Công cụ này tính một điểm số tổng hợp phản ánh phúc lợi động vật trong nghiên cứu, bằng cách kết hợp nhiều chỉ số như cân nặng, nhiệt độ và các dấu hiệu khác. Nó cũng có thể dự đoán điểm số này sẽ thay đổi thế nào trong tương lai.

Khi nào nên dùng

  • ✓Khi cần kết hợp nhiều chỉ số phúc lợi (cân nặng, nhiệt độ, v.v.) thành một điểm số duy nhất.
  • ✓Khi muốn dự đoán liệu một con vật có thể đạt đến ngưỡng phúc lợi nguy kịch hay không.
  • ✓Khi so sánh phúc lợi giữa các nhóm động vật hoặc các phương pháp điều trị khác nhau.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tính điểm phúc lợi cho các con vật của tôi, kết hợp cân nặng, nhiệt độ và điểm lâm sàng, rồi dự đoán điểm số trong 3 ngày tới.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ so sánh các chỉ số của từng con vật với nhóm tham chiếu để xem chúng lệch khỏi mức bình thường bao nhiêu. Nó dùng phương pháp gọi là RELSA để tạo điểm số tổng hợp và phương pháp ARIMA để dự đoán.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

…

Câu hỏi thường gặp

Điểm RELSA nghĩa là gì?

Điểm RELSA là một thước đo tương đối. Điểm 0 nghĩa là không ghi nhận suy giảm so với tham chiếu. Điểm 1 là một đơn vị của thang tham chiếu, không phải giới hạn trên.

Dự báo có cho biết khi nào một con vật sẽ chết không?

Không, dự báo chỉ ước lượng điểm mức độ nghiêm trọng vào một thời điểm trong tương lai, không phải thời gian đến một điểm kết thúc hay xác suất tử vong.

Công cụ biết chỉ số nào cho thấy tình trạng xấu đi?

Bạn cần cho công cụ biết mỗi chỉ số nên tăng (như nhiệt độ) hay giảm (như cân nặng) để thể hiện tình trạng xấu đi. Nếu điều này không được chỉ định đúng, chỉ số đó sẽ không đóng góp vào điểm số.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
51k
Vị trí xếp hạng
#3555
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự