Skip to content
RuvaS20Public

About

A planning tool for Technovation facilitators: enter your age group, what the team is building and how much time you actually have, and get a week-by-week lesson plan.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

80 Commits

Folders and files

Repository files navigation

Curriculum Crosswalk

A planning tool for Technovation facilitators: enter your age group, what the team is building and how much time you actually have, and get a week-by-week lesson plan counting down to the 5 May 2027 submission deadline.

Live at curriculum-crosswalk.netlify.app

Why it exists

The Technovation curriculum runs about 50 hours for Senior Mobile. A facilitator with 20 weeks of 90-minute sessions has 30. Something has to give, and deciding what — week by week, without breaking prerequisites or missing the submission deadline — is the job this tool does.

It answers one question: given my season, what do I teach, what do I set as homework, and what do I have to leave out?

Quickstart

file:// will not work — ES modules need a real server.

git clone https://github.com/RuvaS20/crosswalk && cd crosswalk
python3 -m http.server 8000
# open http://localhost:8000

That loads a real plan immediately using the committed curriculum.json. No build step, no dependencies, no package.json.

How it works

flowchart LR
  S[("Google Sheet")] -->|"Apps Script"| A["/exec endpoint"]
  A -->|"live fetch"| U["the page"]
  A -->|"twice-daily Action"| J[("curriculum.json")]
  J -.->|"fallback"| U
  U --> E["src/engine"]
  E -->|"plan"| U
Loading

The sheet is the source of truth. The page draws straight away from the committed snapshot (or the browser's cached copy of the last live payload, whichever is newer), then fetches the live endpoint in the background and re-renders only if it differs. A Google outage leaves a working planner.

src/engine/ is a pure function of (data, params) — no DOM, no globals — which is why every configuration can be swept in a test.

Given a plan that doesn't fit, the engine pulls four levers in order, cheapest first:

flowchart TD
  F["filter to the course"] --> T["1. reserve the dated tail"]
  T --> P["1b. drop optional Work Time"]
  P --> H["2. move lessons to homework"]
  H --> D["3. drop optional lessons"]
  D --> Q{"fits?"}
  Q -->|"yes"| W["pack weeks, anchor to deadline"]
  Q -->|"no"| R["refuse, and offer a fix that works"]
Loading

Move work before cutting it; cut padding before content. Nothing required is ever dropped — only lessons marked optional, and only after moving work out of class was not enough. Full pipeline and rationale →

Common tasks

Run the tests — 2,537 assertions, standalone, no framework:

node test/engine.test.mjs
python3 tools/qa-check.py       # data integrity rather than engine behaviour

Refresh the data from the sheet:

curl -sL "$(sed -n "s/.*ENDPOINT = '\([^']*\)'.*/\1/p" config.js)" -o /tmp/fresh.json
head -c 200 /tmp/fresh.json     # confirm JSON, not an HTML sign-in page
mv /tmp/fresh.json curriculum.json
node test/engine.test.mjs

Never curl straight over the tracked file. A GitHub Action does this twice a day and refuses to commit anything that fails the tests.

See what's feasible across every age, mode, week count and session length:

node tools/plan-matrix.mjs

Point it at your own sheet: edit config.js — the one file you must change. It needs the /exec form of the Apps Script URL. A script.googleusercontent.com/…echo?… URL will never work from a browser, and passing a curl test proves nothing, because the failure is CORS. Endpoint setup and the two silent failures →

Deploy: connect the repo on Netlify. Build command and publish directory both empty. Every push to main redeploys.

Layout

index.html              the page — markup only
styles.css
config.js               your Apps Script endpoint — the one file you must edit
curriculum.json         committed snapshot, drawn first while the endpoint loads

src/engine/             the planner — a pure function of (data, params)
  index.js              buildPlan, the constants, the public exports
  filter.js             which lessons are in this plan
  schedule.js           ordering, packing, and fitting a course into a season
src/ui/
  main.js               loads the data, owns the controls, drives the updates
  render.js             everything that writes HTML
  progress.js           per-configuration ticks, and the CSV export

test/engine.test.mjs    2,537 assertions. Standalone — no framework
tools/qa-check.py       data integrity rather than engine behaviour
tools/plan-matrix.mjs   feasibility grid across every configuration
assets/                 the logo
docs/                   architecture.md, decisions.md
apps-script/            Crosswalk.gs, Sync.gs — how the sheet publishes
.github/workflows/      twice-daily curriculum refresh, gated on the test suite

Imports are native ES modules with relative paths, so the tree is the dependency graph: ui imports engine, and nothing imports ui.

Further reading

  • Architecture — the pipeline, the data model, publishing, testing, and every interface behaviour worth knowing
  • Decisions — what changed and why, and what is knowingly unfinished

Before editing the sheet, read Data model. Three rules there are only learnable by breaking them: never sort the sheet, a choice_group needs two members naming different builders, and an empty url is the sole marker of a Work Time row.

About

A planning tool for Technovation facilitators: enter your age group, what the team is building and how much time you actually have, and get a week-by-week lesson plan.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages