Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 3.48 KB

File metadata and controls

64 lines (40 loc) · 3.48 KB

Automated project grade — JavaScript Project 2 — Study Queue

GitHub grades this project without waiting for a KODE Ń VIBE reviewer.

The pass rule

  • PASS — Nailed it: every required check passes in one run.
  • REVISE — Keep building: one or more required checks fail.

There is no averaging and no partial-pass score. Do not delete, skip, rename, or weaken a check. Fix the project, push again, and GitHub replaces the result with a new grade for that commit.

Automatic learner flow

  1. On the KODE Ń VIBE starter, choose Use this template to create your own repository.
  2. Create an attempt branch, for example git switch -c attempt/my-project. Keep the untouched starter on main.
  3. Build the acceptance checklist, commit, and push the attempt branch. GitHub Actions starts the grade automatically; opening or updating a pull request to main is graded too.
  4. Open Actions → Automated project grade. Read the failed check names and logs if the result says REVISE.
  5. When the job summary says PASS — NAILED IT, save that run link as evidence.

Every repository's main branch is intentionally quiet, so unfinished starter code does not send false failure alerts. Grading starts automatically when you push an attempt branch or open a pull request to main.

Run the same grade locally

From the repository root, run:

node --test test/mastery.test.mjs

Every check must pass without skipping, deleting, or weakening a check.

  • All, open, and done filters derive the correct objects from application state.
  • Initial rendering creates safe rows and derives the open-minute summary with reduce.
  • Form and delegated list handlers add, toggle, and remove the intended object, with an explicit empty state.

These checks cover selected functional and structural criteria. The individual test names are the grading rubric; a failed name identifies what to revise.

Optional confidence check — not graded

No reviewer is required for the automated pass. These quick checks are still worth doing because code tests cannot see every visual, usability, or accessibility problem:

  • Using only the keyboard, add a topic, toggle it, filter it, and remove it; focus and button names remain understandable.
  • Exercise All, Open, and Done when they contain items and when the result is empty.
  • At 320 CSS pixels and 200% zoom, controls and dynamically added content remain visible and ordered.

Optional explain-back — not graded

Use these prompts to check your own understanding. They do not need a reviewer and they do not change the GitHub grade.

  1. What is the single source of truth, and which displayed values are derived from it?
  2. How does the delegated list listener identify exactly which item and action to update?
  3. Why do filter and reduce return or compute values instead of storing duplicate state?

Evidence to keep

GitHub keeps the commit, logs, and grade automatically. Save only:

  • the commit SHA;
  • the successful Actions run URL; and
  • one sentence about what you would improve next.

Honest boundary

PASS means every published requirement checked by this project passed on one revision. It is formative evidence, not a certificate or proof of independent authorship. A learner controls their copy and can edit visible tests or workflows, and automation cannot prove complete usability, accessibility, durable understanding, or professional readiness. Keep the supplied checks unchanged if you want the result to remain meaningful.