Skip to content

Dev#9

Merged
Amanbig merged 14 commits intomainfrom
dev
Apr 19, 2026
Merged

Dev#9
Amanbig merged 14 commits intomainfrom
dev

Conversation

@Amanbig
Copy link
Copy Markdown
Owner

@Amanbig Amanbig commented Apr 19, 2026

This PR enhances the ML Core platform across three areas:

Dataset Analytics UX
Enhanced the dataset statistics sidebar to include comprehensive descriptive statistics (count, mean, std, min, 25%, 50%, 75%, max) for every numeric column, and added a Pearson correlation heatmap with colour-coded cells (green = positive, red = negative) that adapts to both light and dark modes. The backend now computes df.corr() and exposes it via the dataset metadata pipeline.

Model Workflow UX
Migrated Train, Retrain, and Predict interfaces from blocking Dialog overlays to persistent Sheet sidebars. Added a searchable checkbox grid for feature selection and refactored PredictInputs into a tabular list that gracefully scales to large feature counts.

Deployment Controls
Added three new environment variables (DISABLE_SIGNUP, DEFAULT_ADMIN_EMAIL, DEFAULT_ADMIN_PASSWORD) to support locked-down Docker deployments. When set, the server auto-seeds an admin user on first boot and blocks public registration at the API level. The client fetches GET /api/auth/config on mount and hides the Sign Up tab automatically — no client-side config needed.

Updated all three READMEs (root, server, client) to document the new features and environment variables.

Fixes # (issue)

#4

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  1. Dataset stats — Uploaded a CSV with numeric columns; verified all 8 stat columns render correctly in the sidebar table.
  2. Correlation heatmap — Verified green/red colour gradients scale with correlation magnitude; checked tooltip shows 3-decimal precision on hover; confirmed readability in both light and dark modes.
  3. DISABLE_SIGNUP — Set DISABLE_SIGNUP=True in .env, restarted server; confirmed POST /api/auth/signup returns 403 and the Sign Up tab disappears from the UI on page load.
  4. Default admin seeding — Set DEFAULT_ADMIN_EMAIL + DEFAULT_ADMIN_PASSWORD; confirmed server logs Seeding default admin user on first boot and skips it on subsequent restarts (idempotent).
  5. Lintinguv run ruff check src → All checks passed. npm run lint → 0 errors, 0 warnings.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@Amanbig Amanbig merged commit 7c6da5f into main Apr 19, 2026
3 checks passed
@Amanbig Amanbig linked an issue Apr 19, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data Profiling Report

1 participant