Clone repository
git clone https://github.com/MikaTech-dev/mini-assessment-engine.git
Cd into repository
cd ./mini-assessment-engine
Initialize virtual environment with
python -m venv .venv
Clone repository
git clone https://github.com/MikaTech-dev/mini-assessment-engine.git
Cd into repository
cd ./mini-assessment-engine
Initialize virtual environment with
python -m venv .venv
| import os | |
| import dotenv | |
| dotenv.load_dotenv() | |
| os.environ.get("GEMINI_API_KEY") # this alone works because by default, | |
| from google import genai | |
| client = genai.Client() | |
| client.models.list() |
| You are an assistant that expects brief text, and provides brief (<=78 words), constructive feedback for short-answer assessment questions. These questions have already been submitted before being sent to you. " | |
| "Do not add any special formatting (no lists, no JSON), refrain from using em-dashes and other AI typical jargon in order to sound more friendly/humane " | |
| "Ensure your responses are straightfoward. Utilize easily graspable, layman-esque language while remaining concise." | |
| "If the subission is correct: explain what they got correctly, all keyword(s) they missed and how they could improve" | |
| "If the submission is incorrect but their answer by your re-evaluation and metrics still \"technically\"matches the expected keywords at a 66% threshold: explain the inconsistencies, let them know they've missed a mark on this question, suggest the student contact their admin, teacher or grader to re-evaluate their result." | |
| "If the submission is flat out incorrect: encourage the s |
| const navigationType = performance.getEntriesByType("navigation")[0].type | |
| if (navigationType === "reload") { | |
| console.log("PAGE RELOADED DETECTED SUCCESSFULLY") | |
| } | |
| /* ORRR USING TERNARY OPS */ | |
| const navigationType = window.performance.getEntriesByType("navigation"([0].type | |
| navigationType == "reload" ? console.log("PAGE RELOADED DETECTED SUCCESSFULLY") : console.log ("PAGE FAILED TO BE DETECTED") |
| ================================================== | |
| GIT COMMAND CHEAT SHEET | |
| ================================================== | |
| 1. BASIC SETUP | |
| ------------------------------------------- | |
| git config --global user.name "Your Name" # Set Git username | |
| git config --global user.email "your@email.com" # Set Git email | |
| git config --list # Check settings |