Spaces:
Sleeping
Sleeping
Commit History
-
IP Radar patents (env-gated) + Toxicity & Synthesis Oracle (Red Team)
Tengo Gzirishvili +1: Claude Opus 4.8PART A — free patent layer for the IP Radar (env-gated): - core/ip_radar.check_patents(): recent patents mentioning the target gene + editing terms via the FREE PatentsView Search API. Needs a free, registered PATENTSVIEW_API_KEY env var; without it the radar stays literature-only (graceful). Cached. GENE-LEVEL 'related patents in this space' — NOT a precise sequence-to-claim match (that needs Lens PatSeq, paid), framed accordingly. Merged into /api/crispr/ip_radar; banner shows a 'Related patents' subsection. Mocked tests (no-key + parse). NOTE: Lens.org is NOT free for commercial use (14-day trial only); the free route is PatentsView (metadata) + optional NCBI patent BLAST later. PART B — Toxicity & Synthesis Oracle (pre-export Red Team gate): Pure client-side, ZERO new deps (the engine is vanilla JS + Flask, not React/pnpm — so no installs; minimal bundle). - Synthesis (Twist-style): global+local GC (<20% / >65%), homopolymer (>6), lightweigh…13a90b2 -
Live Collision IP Radar v1 — opt-in literature scan (Europe PMC)
Tengo Gzirishvili +1: Claude Opus 4.8Warns when a generated guide overlaps existing work. v1 = literature only (preprints + papers via free Europe PMC); patents deferred to v2 (needs a Lens.org token). Per the agreed posture: OPT-IN, METADATA-FIRST — only the gene + validated point-mutation set + 20-mer guide leave the Space; never the full novel sequence (the endpoint refuses arbitrary strings in 'mutations'). Matching is on SPECIFIC identifiers, not noise: exact guide spacer (full-text phrase) or gene + mutation set. A novel guide returns 0 hits; a published one returns the papers that printed it (verified: EMX1 guide -> real matches). - core/ip_radar.py: Europe PMC client, query builder, recency classify, result shaping (authors/date/source/link), 24h thread-safe TTL cache that also caches empty results -> 50 users checking the same guide ping PMC once (the rate-limit requirement). Pure stdlib. - POST /api/crispr/ip_radar: sign-in gated; validates spacer (ACGT) + HGVS-ish mutations; non-critical (…61e171c