# African High School Journal Platform
A Streamlit MVP for an AI-supported high-school research journal platform founded by Kavya. The platform is designed to help African high school students upload manuscripts, write drafts online, receive AI-assisted plagiarism checks, match submissions to teachers/professors with relevant expertise, collect peer-review recommendations, and publish accepted electronic papers in an online library.
This repository is intentionally built with a free/low-cost stack:
- Python 3.12+ recommended for Streamlit Community Cloud; Python 3.14 works locally if your dependencies support it.
- Streamlit for the web interface.
- SQLite for an MVP database.
- scikit-learn TF-IDF similarity for local AI-style matching and plagiarism similarity.
- pypdf and python-docx for PDF/DOCX text extraction.
> Important: This MVP does not search the whole internet for plagiarism. It compares a manuscript to the platform's local corpus: published manuscripts, submitted manuscripts, and the optional sample/source corpus. For production-level internet plagiarism checks, integrate a licensed plagiarism/search API and add an appeals process.
## Main functions
1. **Student upload and online writing**
- Students can upload TXT, Markdown, PDF, or DOCX files.
- Students can also draft directly in the browser and save the manuscript online.
2. **AI-based plagiarism detection**
- Uses local TF-IDF cosine similarity to compare the submission with the platform corpus.
- Shows matched source titles and similarity scores.
- Flags high similarity so students can revise before final submission.
3. **AI-based reviewer matching**
- Matches manuscripts to reviewers based on field, keywords, abstract, manuscript text, and reviewer expertise.
- Creates reviewer assignments with shareable invite links.
4. **Reviewer portal**
- Reviewers can view assigned manuscripts and submit recommendations: accept, minor revision, major revision, or reject.
- Review comments are stored …