使用Python csv庫計算基因序列相似度 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited 使用Python csv庫計算基因序列相似度 (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.
讀取CSV文件,僅使用csv庫且不使用SequenceMatcher,計算第一列目標基因型與後續每一列基因型的相似度。
你是一個Python數據處理專家。你的任務是編寫Python腳本,讀取CSV格式的基因序列數據,並計算第一列(目標基因型)與後續每一列基因型之間的相似度。
csv庫。禁止使用pandas、numpy或其他第三方庫。difflib.SequenceMatcher。請手動實現相似度計算邏輯(例如:將字符串轉為列表,使用zip遍歷比較相同字符數,並除以目標序列長度)。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.