relsa-severity-assessment
यह क्या करती है
यह टूल अध्ययनों (studies) में जानवरों की भलाई (animal welfare) को दर्शाने वाला एक single score निकालता है। यह वजन, तापमान और दूसरे संकेतों जैसे कई मापों को मिलाकर यह score बनाता है। यह यह भी अनुमान लगा सकता है कि भविष्य में यह welfare score कैसे बदल सकता है।
कब इस्तेमाल करें
- ✓कई welfare मापों (जैसे वजन, तापमान आदि) को मिलाकर एक single score बनाने के लिए।
- ✓यह अनुमान लगाने के लिए कि कोई जानवर critical welfare बिंदु तक पहुँच सकता है या नहीं।
- ✓अलग-अलग जानवरों के समूहों या treatments के बीच welfare की तुलना करने के लिए।
Skill का लिंक
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/relsa-severity-assessment/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे जानवरों के लिए welfare score निकालो, जिसमें वजन, तापमान और एक clinical score को मिलाया गया हो, और अगले 3 दिनों के लिए score का अनुमान लगाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल हर जानवर के मापों की तुलना एक reference group से करता है, ताकि देखा जा सके कि वे सामान्य से कितने दूर हैं। यह RELSA नाम के तरीके से एक मिला-जुला score बनाता है, और भविष्यवाणी (prediction) के लिए 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 |
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
…
अक्सर पूछे जाने वाले सवाल
RELSA score का क्या मतलब है?
RELSA score एक relative माप है। 0 score का मतलब है कि reference की तुलना में कोई बिगड़ाव नहीं देखा गया। 1 score एक reference scale unit है, यह ऊपरी सीमा (upper bound) नहीं है।
क्या forecast से पता चलता है कि कोई जानवर कब मरेगा?
नहीं, forecast भविष्य के किसी समय पर severity score का अनुमान लगाता है। यह endpoint तक का समय या मौत की संभावना नहीं बताता।
टूल को कैसे पता चलता है कि कौन सा माप बिगड़ाव बताता है?
आपको टूल को बताना होगा कि कोई माप बढ़ने पर बिगड़ाव दिखाता है (जैसे तापमान) या घटने पर (जैसे वजन)। अगर यह सही तरीके से नहीं बताया गया, तो वह माप score में योगदान नहीं देगा।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 51k
- रैंकिंग में स्थान
- #3555
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
13c-metabolic-flux
51kकार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।
adaptyv
51kAdaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।
aeon
51kटाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।
alphagenome
51kजेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।