Skip to content

About

Free, open-source AI platform delivering STEM writing feedback and CS coding tutoring to rural and underserved K-12 students

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

26 Commits

Folders and files

Repository files navigation

STEM Bridge AI

Live Demo License: MIT Version Open Source

A unified, open-source AI platform delivering expert-level STEM writing feedback and coding tutoring to rural and underserved U.S. students β€” free, zero-dependency, and deployable in any school environment.

Status (v0.10.0): working and publicly deployed. It has been built and tested by its developer, but it has not yet had a classroom pilot, so there is no data yet on learning outcomes. See the Roadmap for what comes next and PRIVACY.md for how student data is handled.


🎯 The Problem

The United States faces two simultaneous, documented crises in STEM education:

  1. Teacher Shortage: 48 states reported critical shortages of qualified teachers in 2023–2024 (U.S. Dept. of Education Teacher Shortage Area designations). Over 667,000 new computing jobs are projected by 2030 (BLS, 2023), and students without CS instruction are poorly positioned to compete for them.

  2. STEM Writing Gap: Scientific writing is a foundational skill for STEM careers, and students in schools without science specialists have few chances to practice it and receive expert feedback.

Both gaps fall hardest on the same students: those in rural and Title I schools, who are less likely to have access to specialized tutors, coding bootcamps, or AP CS courses.

STEM Bridge AI addresses both gaps in a single, free, open-source platform.


πŸš€ Live Demo

β†’ Try STEM Bridge AI

No signup and no account. Free to use, on any device with a browser.

Good to know: the shared free AI connection has daily limits (10 analyses per student and 100 per class per day), and Google's free Gemini tier is sometimes busy, so a request can occasionally need a retry. Teachers who photograph student work should use a paid Gemini key β€” see TEACHER_SETUP.md and PRIVACY.md.


✨ Platform Overview

STEM Bridge AI contains three integrated tools:

πŸ”¬ SciWrite AI β€” STEM Writing Feedback

Delivers instant, personalized feedback on student scientific writing calibrated to grade level and assignment type.

Feature Detail
Scoring 5 dimensions (Scientific Accuracy, Evidence Use, Clarity, Structure, Reasoning) for grade 2 and up; a simplified 2-dimension rubric for Kindergarten–1st Grade dictated observations
Assignment types Lab Report, Research Essay, Hypothesis, Data Analysis, Scientific Explanation
Grade levels K–1, 2, 3–5, 6–8, 9–10, 11–12, Undergraduate
Input options Type, or speak ("Speak Instead of Type") for Kindergarten–1st Grade
Output Overall score, strengths, improvements, specific next steps β€” with Read Aloud, progress-since-last-attempt comparison, and Save as Word
Standards alignment Next Generation Science Standards (NGSS)

πŸ’» CodeBridge AI β€” CS Coding Tutor

Provides grade-calibrated coding assistance for text-based programming languages, with three interaction modes.

Feature Detail
Feedback modes Code Feedback, Concept Q&A, Debug Help
Languages Python, JavaScript, Java, Scratch, C++, SQL
Grade calibration Strict language complexity matching (6-8 β†’ Undergraduate)
Teaching style Guidance-first β€” explanations lead with hints; the corrected code stays hidden behind a "try it yourself first" reveal
Output Quality metrics, explanation, corrected code, learning next steps β€” with Read Aloud and progress-since-last-attempt comparison
Population focus Rural and low-income students without CS specialist access

K-5 students are better served by block-based tools (Scratch, CodeMonkey) and are directed to SciWrite AI instead, which covers the full K-12 range.

πŸ“· Photo Check β€” Handwritten Work

Photograph a student's handwritten page on a phone and the AI reads it, shows what it read, and scores it with the SciWrite rubric.

Feature Detail
Who uses it A teacher grading (AI draft scores they can adjust before saving), or a student checking their own work instead of typing it
Input Phone camera, gallery, or a live camera (a USB document camera or webcam, with a Capture button and a clearer-writing boost), up to 4 pages per check
Output Transcription of what the AI read, scores, strengths, improvements, suggestions
Safeguards Warns when handwriting is too hard to read; photos are never stored or logged

Grade a paper test: in Teacher mode (unlocked with your PIN), save an answer key β€” typed, or read from a photo β€” then photograph each student's paper. The AI marks every question against the key and shows what it read next to the correct answer, with editable points. Only the percent is logged.

Use a paid Gemini key before photographing real student work β€” see TEACHER_SETUP.md.

πŸ”‘ Works With No Setup, or Bring Your Own Key

By default the app runs on a free Google Gemini connection configured by whoever deploys it β€” students need no API key, no signup, nothing. A "Use our own AI key" option in Settings (βš™οΈ) lets anyone switch to their own Anthropic (Claude) or Gemini key when they'd rather not use the shared default.

πŸ“Š Optional Usage Tracking & Teacher Dashboard

Students enter their name once per device; the app can log usage (name, timestamp, tool, scores β€” never the submitted writing or code) to a Google Sheet the teacher connects themselves, and unlock a PIN-protected in-app Dashboard. See TEACHER_SETUP.md.


πŸ—οΈ Architecture

Student Input (Browser) β€” typed, or spoken via browser speech recognition (K-1)
       β”‚
       β”œβ”€β”€ Mode: SciWrite AI (Writing Track)
       β”‚         Grade Level + Assignment Type
       β”‚         β†’ NGSS-aligned rubric prompt (5 dimensions, or 2 for K-1)
       β”‚
       └── Mode: CodeBridge AI (Coding Track)
                 Grade Level + Language + Feedback Mode
                 β†’ Grade-calibrated, guidance-first tutoring prompt
                         β”‚
                         β–Ό
    Default Gemini connection (via a proxy that hides the key), or a
    visitor's own Anthropic/Gemini key
                         β”‚
                         β–Ό
             Structured JSON Response
                         β”‚
                         β–Ό
     Rendered Feedback UI (no framework required)
     β€” Read Aloud, progress-since-last-attempt, optional usage logging

πŸš€ Getting Started

Option A: Use the Live Demo (Recommended)

Visit dastanramazan.github.io/STEM-Bridge-AI β€” no setup needed.

Option B: Run Locally

git clone https://github.com/dastanramazan/STEM-Bridge-AI.git
cd STEM-Bridge-AI
open index.html   # or: python3 -m http.server 8080

If the deployer has set up a default AI connection (see TEACHER_SETUP.md), the app works immediately with no key needed. Otherwise, open Settings (βš™οΈ), turn on "Use our own AI key instead of the free shared one", and use either:

Option C: Deploy to GitHub Pages

# 1. Fork this repository
# 2. Settings β†’ Pages β†’ Deploy from branch: main β†’ / (root)
# 3. Live at: https://dastanramazan.github.io/STEM-Bridge-AI

Why single-file / zero-dependency? Rural and Title I schools frequently operate restricted IT environments where npm, build tools, or CDN access may be blocked. This application opens directly as an HTML file in any browser with no installation required.

Option D: Give Students a Default AI Connection & Track Usage (Optional)

Want students to use the app with zero setup β€” no API key, no signup β€” and see who's using it and how they're doing? See TEACHER_SETUP.md for a 10-minute, no-coding setup that connects a private Google Sheet, configures a default Gemini connection your Apps Script keeps hidden from visitors, and unlocks a PIN-protected πŸ“Š Teacher Dashboard inside the app β€” no student writing or code is ever logged, only names, timestamps, and scores.


πŸ”¬ Research Context & National Importance

This project is part of ongoing research into AI-assisted STEM education equity for underserved U.S. student populations.

Federal Policy Alignment

Policy / Program How STEM Bridge AI relates
Executive Order Advancing Artificial Intelligence Education for American Youth (Apr. 23, 2025) Sets a federal policy of "the appropriate integration of AI into education" and AI training for educators; this project is a free AI tool for classrooms plus the educator training goal below
NSF Dear Colleague Letter 25-036 (Aug. 25, 2025) Supports K-12 AI teams for the Presidential AI Challenge and asks funded teams to plan for engaging regions or localities particularly in need of AI education resources, the population this project targets
U.S. Dept. of Education, Artificial Intelligence and the Future of Teaching and Learning (2023) Emphasizes keeping teachers in the loop and attending to equity in educational AI, which is why the Teacher Dashboard and teacher review of AI marks exist
Code.org, State of Computer Science Education (2024) Documents that schools serving mostly low-income students are less likely to offer CS courses, the gap CodeBridge AI addresses

The Evidence Base

  • Feedback is among the most powerful influences on learning and achievement, but its effect can be positive or negative depending on how it is given (Hattie & Timperley, 2007) β€” which is why CodeBridge AI leads with hints and questions rather than finished answers.
  • 48 states reported critical teacher shortages in 2023–2024 (U.S. Dept. of Education Teacher Shortage Area designations).
  • Hispanic students are 26% of K-12 enrollment but earn fewer than 8% of computing degrees (NSF, 2023).

Planned Evaluation (not yet started)

No evaluation has been run yet. The plan is to work with a university computing-education researcher once classroom pilots exist.

  • Pre/post study: student writing improvement using SciWrite AI feedback vs. control
  • Coding comprehension gains: CodeBridge AI vs. no-feedback condition
  • Qualitative: teacher-reported integration experiences in Title I settings
  • Target venue: a peer-reviewed computing-education journal or conference such as CSTA

πŸ“ Project Structure

STEM-Bridge-AI/
β”œβ”€β”€ index.html              # Unified application (single-file, zero-dependency)
β”œβ”€β”€ README.md               # This file
β”œβ”€β”€ TEACHER_SETUP.md        # Optional: default AI connection + usage-tracking dashboard setup
β”œβ”€β”€ PRIVACY.md              # What student data the app handles, where it goes, and what is never stored
β”œβ”€β”€ google-apps-script/
β”‚   └── Code.gs             # Gemini proxy (hides the default API key) + usage-tracking backend
β”œβ”€β”€ LICENSE                 # MIT License
β”œβ”€β”€ CHANGELOG.md            # Version history and development milestones
└── research.md             # Research background, citations, national importance

πŸ—ΊοΈ Roadmap

βœ… Shipped (details in CHANGELOG.md)

  • v0.4.0: Teacher Dashboard, progress-since-last-attempt comparison, a free Google Gemini option, Read Aloud, and voice input for Kindergarten–1st Grade
  • v0.5.0: a default AI connection that needs no API key from students (the teacher's own Apps Script holds the key privately), with automatic retry and a fallback model when Gemini is busy
  • v0.6.0: Photo Check β€” photograph handwritten work to have it read and scored
  • v0.10.0: students can save their feedback as a Word document (to bring to a tutorial or email to a teacher), plus "AI is a helper, not a crutch" guidance: a "Check this yourself" box on every result, a reminder that AI can be wrong, and a short first-visit card. The AI is also told explicitly to give feedback, not solutions
  • v0.9.0: a live camera in Photo Check, so a student can work a problem on paper under a USB document camera and capture the page with one click
  • v0.8.0: a friendlier, student-first design: a light theme by default (dark optional), a simple greeting and three big tool cards, stars-and-words feedback with scores on request, system fonts only, and Settings and About windows
  • v0.7.0: grading of paper tests against a teacher's answer key, PIN-protected Teacher mode, and daily usage limits

🎯 Goals (not yet achieved)

These are goals, not results.

  • 2026–2027, field testing: gather structured feedback from teachers outside the author's own campus, publish an educator quick-start guide, and release improvements driven by that feedback. Targets: at least 10 educators and at least 3 schools outside the author's campus.
  • 2027–2028, district pilots: pilot with at least two Title I districts, publish a teacher training module for CS teachers without engineering backgrounds, and publish district-facing privacy documentation before any pilot begins (a first version is PRIVACY.md).
  • 2028–2029, independent evaluation: partner with a university researcher to evaluate learning outcomes, seek peer review, and apply for grant funding to sustain the platform.

πŸ’‘ Ideas (unscheduled)

  • Spanish-language interface for ESL student populations
  • PDF export of feedback reports for student portfolios
  • Offline / low-bandwidth mode and LMS integrations (Google Classroom, Canvas)

🀝 Contributing

Contributions are especially welcome from educators, CS teachers, and researchers.

git checkout -b feature/your-feature-name
git commit -m 'Add: description of change'
git push origin feature/your-feature-name
# Open a Pull Request

Priority areas: Spanish localization, offline mode, LMS integrations.


πŸ“œ License

MIT License β€” free for use by schools, nonprofits, researchers, and educators. See LICENSE.

This is intentional: the national-scope mission requires that any school in the United States can deploy this tool at zero cost and with no licensing friction.


πŸ‘€ Author & Research Contact

Developed as part of independent AI-in-education research focused on STEM equity for rural and underserved U.S. students.

Research inquiries, collaboration, and educational deployment: dastanramazan@gmail.com


πŸ“š References

  1. Hattie, J., & Timperley, H. (2007). The power of feedback. Review of Educational Research, 77(1), 81–112.
  2. U.S. Department of Education. Teacher Shortage Areas (2023–2024 designations).
  3. NSF. (2023). Women, Minorities, and Persons with Disabilities in Science and Engineering.
  4. Code.org. (2024). State of Computer Science Education Annual Report.
  5. U.S. Bureau of Labor Statistics. (2023). Occupational Outlook Handbook: Computer and Information Technology Occupations.
  6. U.S. Department of Education. (2023). Artificial Intelligence and the Future of Teaching and Learning.
  7. Executive Order, Advancing Artificial Intelligence Education for American Youth. (Apr. 23, 2025). The White House.
  8. NSF Dear Colleague Letter 25-036, Supplemental Funding Requests to Support K-12 AI Teams for the Presidential AI Challenge. (Aug. 25, 2025).
  9. Next Generation Science Standards (NGSS). (2013). Next Generation Science Standards: For States, By States.

About

Free, open-source AI platform delivering STEM writing feedback and CS coding tutoring to rural and underserved K-12 students

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages