Spaces:
Sleeping
Sleeping
Commit History
13 days ago
-
Update Dockerfile
Verified signature6cb4458
-
fix: install libgomp1 in Docker image for xgboost/lightgbm
shehanmakaniRoot-cause fix for OSError: libgomp.so.1 import failure on HF Space.222ad62 -
fix: catch OSError on optional ML library imports (libgomp missing)
shehanmakanixgboost/lightgbm raise OSError (not ImportError) when libgomp.so.1 is unavailable, which was crashing the whole space_solar module import and breaking /api/v1/spacechem-predict on the HF Space.30ba546 -
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: use measured ASTM E595 TML/CVCM values for all 38 space materials
Shehan MakaniReplace physics-model-only approach with direct measured values from NASA outgassing DB and ESA test reports. Physics model retained as fallback for materials not in the DB. Kapton HN now correctly shows TML~1.01% (not 0.05%), Hysol EA 9394 shows 1.78% (FAILS as expected), DC 93-500 shows 0.06% (PASS). Results are now qualification-grade.d13c57b -
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 -
initial commit
Verified signatureaae5e86