Spaces:
Sleeping
Sleeping
Commit History
-
Deploy 1a8c5d7: Retrain on the 11 validated features; ranking on real data is no longer inverted
github-actions[bot]Synced from Octavio-Loffaro/frig-scoring@1a8c5d7f0698a05cc352a568e4829728f1e0fb27c1d6ce1 -
Deploy 1ca0ab2: Real-outcome scorecard: 0.854 AUC, 6.2x decile lift, calibrated
github-actions[bot]Synced from Octavio-Loffaro/frig-scoring@1ca0ab2f46933309aa8920bd9f3d53fac4a33a3b71fb81a -
Deploy fcfc762: Validate against real loan outcomes; the synthetic metrics did not survive
github-actions[bot]Synced from Octavio-Loffaro/frig-scoring@fcfc7627cfa08fc36dc35a1527e81e54bcd9d234cbbd555
-
Deploy 07c02ae: Make the model defensible: state transitions, monotonic constraints, log-odds penalties
github-actions[bot]Synced from Octavio-Loffaro/frig-scoring@07c02ae70f94bb496cf6a029decd2e3ccd65a57d5975f7a -
Deploy 0aa0350: Promote UK-only model trained on a realistic corpus
github-actions[bot]Synced from Octavio-Loffaro/frig-scoring@0aa035078729d0705c1da79c89a1f799325cfbd4a22e6c9
-
Fix scoring engine: restore ML path, remove synthetic ensemble, secure key issuance
Brings the Space up to date with the audit fixes. Availability: - sqlite3 shim re-exports the real Row/Connection/Cursor. The stub Row broke the SQLite path outright and the missing Connection broke pandas.read_sql_query at 17 call sites, which silently dropped every request to the baseline heuristic. - init_db() no longer aborts module import, so a database outage returns 503 DEGRADED from /health instead of crash-looping uvicorn. - Unknown user_id returns 404 rather than scoring default features and leaking a foreign-key error; all scoring connections are wrapped in try/finally with rollback, so one failed request no longer leaves a write lock behind. Scoring correctness: - Snapshot date defaults to the user's own latest transaction rather than the global maximum, which had left 98% of users on the cold-start heuristic. Adds a data_freshness block reporting snapshot age. - Removes the synthetic ensemble that added np.random.normal() noise to the XGBoost output four …992fce0
-
Add pre-trained ML models and update ignore rules
5a7f41b -
Deploy financial risk API to Hugging Face
bc308f6