Spaces:
Runtime error
Runtime error
Commit History
-
Add CI, typed ORM models, and packaging cleanup
Aryan MishraIntroduce repo-wide engineering guardrails with GitHub Actions CI (ruff, mypy, bandit, pytest), pre-commit hooks, editor config, and contributor/security docs. Refactor API persistence models into `api/models` with SQLAlchemy 2.0 typed mappings, wire imports accordingly, and align project packaging/test execution by adding `py.typed` markers, pytest pythonpath config, and Makefile/docs updates that remove ad-hoc `PYTHONPATH` usage. This also cleans generated artifacts from git, updates notebook/script paths to src-layout module execution, and refreshes project structure documentation.a00fee9
-
Restructure to api/src and add Streamlit UI
Aryan MishraRefactors the project layout by moving backend modules from `app` to `api`, moving ML code under `src/absa`, and updating imports, Docker entrypoints, DVC commands, and scripts to match. Replaces the HTMX/Jinja web layer with a new Streamlit frontend (`frontend/`) including analyzer, admin overview, batch, and monitor views backed by an HTTP API client. Also consolidates dependencies and tooling in `pyproject.toml`, adds a Makefile workflow, and updates tests (new Streamlit/client and pipeline tests, removed legacy web page tests). The pipeline rule-based fallback was strengthened with clause-aware scoring, Unicode-aware tokenization for Devanagari, broader sentiment lexicons, noun-near-sentiment target extraction, and an overall fallback aspect so predictions remain useful when lexicon matches are missing.7535e76