dileep-kishore/beril-pi-agent/data-validity
Claude Code and agent skill by dileep-kishore/beril-pi-agent
- community
Checking that the SKILL.md file is still in the repository.
Use before an analysis consumes lakehouse data, or when a result looks suspiciously clean, strong, or strange — to profile the rows for silent traps that invert conclusions: zero-as-missing sentinels (0 ≠ measured), numbers stored as strings (lexicographic ordering flips comparisons), near-constant columns, sparse coverage, and pseudoreplication (rows collapsing to a few independent groups). Applies whenever data quality or the unit of analysis could be wrong. This is the data-validity judgment…
Install
npx vskill@latest install dileep-kishore/beril-pi-agent/data-validitySKILL.md
The same SKILL.md was published earlier as dileep-kishore/beril-pi-agent/data-validity.
Data Validity
The most consequential errors in lakehouse analysis are not in the model — they are in the data, and they are silent. A column that looks numeric but is stored as text will sort "-0.0001" > "9.997", inverting the biology. A 0 that means "not measured" rather than "measured zero" shifts every mean. Rows that look independent but collapse to three clades pseudoreplicate the headline. berdl_validate profiles the rows feeding an analysis and surfaces these before they corrupt a conclusion.
When to run it
- On the rows that will feed an analysis, before building on them — pass the
sampling sql, or rows_json from a prior berdl_query.
- When a result is too clean or too strong to believe.
- With
group_colset to the finest independent unit (genome, subject, study)
when the analysis makes a per-row claim — that is the pseudoreplication check.
- With
axisset to a categorical grouping column to check effective vs. raw
group counts (a none/unknown/na value is missing, not a category).
Reading the verdict
- pass — no traps found; note it and proceed.
- warn — one or more findings. This is a judgment gate, not a wall: read
each finding, decide whether it changes the analysis (cast the string column, treat the sentinel as null, re-grain to the group), then record the decision with gate_record data-validity pass|fail and a one-line note of what you concluded. The verdict never blocks on its own — you are the arbiter.
Judgment
- 0 ≠ measured. A zero-inflated continuous column almost always encodes
missingness. Confirm what the source means by 0 before averaging over it.
- Trust the finest independent unit. If 400 rows are 6 genomes, the n is 6.
Prescribe and analyze at the group grain; a row-grain p-value is a mirage.
- Numbers as strings are invisible until they bite. A column that is ≥90%
castable to float but typed as string will pass every eyeball check and fail every comparison. Cast, then re-validate.
- Validity is a checkpoint, not paperwork: the point is to catch the invert
cheaply, up front, so the analysis you build is one you can defend.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/data-validity/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dileep-kishore/beril-pi-agent/data-validity)