Spaces:
Sleeping
Sleeping
Commit History
-
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
-
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
-
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