Spaces:
Sleeping
Sleeping
Commit History
-
fix: replace random Eg/efficiency in Type II score with deterministic ML prediction
shehanmakaniType II Score previously used Math.random() on the frontend for bandgap and absorption efficiency, so the same molecule produced a different score on every run. Adds /api/v1/spacechem-predict, which uses the SpaceChem-AI ExtraTrees models (Notebook 06, random_state=42, cached per-process) to deterministically predict Eg and η from SMILES.b90b0f5 -
feat: add contamination proximity calculator endpoint
shehanmakani5d63000
-
feat: /api/v1/bom-audit endpoint
Shehan MakaniAudits a list of materials individually against NASA MSFC-SPEC-1238 and ESA ECSS-Q-ST-70-02 outgassing limits. Returns pass/fail per material with ranked substitution suggestions grouped by function category (adhesive/potting/lubricant/etc). Caps at 50 materials per request.eae36f3 -
fix: fuzzy material name lookup + proper CORS wildcard via allow_origin_regex
Shehan Makani- Add _resolve_ing() to outgassing/radiation/thermal modules: matches 'Kapton HN' → 'Kapton HN (Polyimide Film)' etc. Prevents false conservative-default fallback for all materials in the DB. - Replace https://*.vercel.app (literal, not a glob in Starlette) with allow_origin_regex for Vercel preview URLs.b715fd9 -
fix: add orbitchem.chemenova.com to CORS allowlist
Shehan Makani1b9fcb0
-
feat: add root / endpoint for HF health check
Shehan Makani2ad0c54 -
Deploy OrbitChem FastAPI backend on Docker HF Space
Shehan Makani +1: Claude Sonnet 4.6Endpoints: /health, /api/v1/outgassing, /radiation, /thermal-cycling, /spacecraft-full, /brief (Groq AI), /api/v1/materials CORS: app.chemenova.com, orbitchem-web.vercel.app, *.vercel.app Port: 7860 (HF Spaces Docker requirement) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8c867c9