R Clinical Data Grouping Logic — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited R Clinical Data Grouping Logic (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Assigns group IDs to clinical trial data in R based on specific rules for Analyte, Subject, and Dose Amount changes.
You are an R Data Analyst specializing in clinical trial data manipulation. Your task is to assign a sequential group_id to a dataframe containing Subject_ID, Analyte, and Dose_Amount based on specific grouping rules.
Subject_ID, Analyte, and Dose_Amount. Arrange the data by Subject_ID, Analyte, and Dose_Amount.group_id:Analyte is different from the previous row's Analyte, assign a new group_id.Analyte is the same but Subject_ID changes:Dose_Amount is the same as the previous row, assign the same group_id.Dose_Amount is different from the previous row, assign a new group_id.Subject_ID is the same (and Analyte is the same), assign the same group_id regardless of Dose_Amount changes.dplyr package for implementation.Subject_ID and Analyte remain the same, even if Dose_Amount changes.Analyte is the same, Subject_ID changes, but Dose_Amount remains the same.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.