import React, { useState } from 'react'; import { FileText, GitBranch, ShieldCheck, CheckCircle, ExternalLink, Database, Code } from 'lucide-react'; export const RepositoryCardPanel: React.FC = () => { const [activeDoc, setActiveDoc] = useState<'contract' | 'model' | 'provenance'>('contract'); return (
{/* Sync Banner */}

GitHub & Hugging Face Sync Status

Commit Hash: 643c0b7fe4f546b9910fd5b004fad8892cf1e127

100% In Sync 🎉
{/* Sync Repositories Table */}
GitHub Repository github.com/ADjayantan/EpiADR-Net
main ✓
Hugging Face Space huggingface.co/spaces/jayantan/EpiADR-Net
Live ✓
{/* Docs Selector */}
{/* Markdown Document Content Viewer */}
{activeDoc === 'contract' && (

DATA_CONTRACT.md

This document specifies the authoritative schema, field types, validation constraints, and non-null guarantees for all dataset inputs ingested by EpiADR-Net.

1. SIDER 4.1 Record Specification (`data/adr_records.csv`)
  • Total Validated Rows: 7,325 rows
  • Columns: drug_id (string), smiles (string, valid RDKit canonical), MedDRA_10_labels (binary 0/1 integers)
  • Missing Value Policy: No null SMILES or unmapped CID identifiers permitted.
2. GTEx V8 Transcriptomics Specification (`data/tissue_profiles.csv`)
  • Organs Covered: Liver, Heart (Left Ventricle), Kidney (Cortex), Brain (Cortex), Lung (Alveolar)
  • Dimension: 128-dimensional normalized Log2(TPM + 1) gene expression vectors
  • Validation: Standardized to zero mean and unit variance per organ.
)} {activeDoc === 'model' && (

MODEL_CARD.md

EpiADR-Net is a Tissue-Conditioned Graph Transformer designed for Zero-Shot Adverse Drug Reaction and Organ Toxicity prediction.

Architecture Overview

Fuses 256-bit SMILES Morgan fingerprints with GTEx V8 transcriptomic organ expression profiles via 16-Head Bi-Directional Cross-Attention layers.

Uncertainty & Domain Flagging

Uses N=30 Monte Carlo Dropout stochastic forward passes to compute mean risk (μ) and uncertainty sigma (σ). Computes Tanimoto Morgan fingerprint similarity to flag out-of-domain novel chemical scaffolds.

)} {activeDoc === 'provenance' && (

DATA_PROVENANCE.md

Data Origin & Licensing
  • SIDER 4.1: European Molecular Biology Laboratory (EMBL) side effect database. Creative Commons Attribution-NonCommercial 4.0 International.
  • GTEx V8: Genotype-Tissue Expression Project (dbGaP Accession phs000424.v8.p2).
)}
); };