LEARN. PRACTICE. EXPLAIN.
Learning paths & interview practiceP
← Build a delivery risk & RFC decision engine
BUILD → VERIFY → EXPLAIN · STEP 3 OF 6

Evaluate build-vs-buy and rewrite trade-offs

Compare alternatives against weighted criteria and require revisit triggers.

UNDERSTAND

Bring these concepts with you

BUILD

Your implementation

  1. Implement evaluateArchitectureOption(options, weights) scoring speed, reversibility, lifecycle fit, and migration risk.
  2. Require the winning decision to record explicit revisitTriggers so future engineers know when assumptions break.
export function evaluateArchitectureOption(options, weights) {
  // Score options under criteria weights and enforce revisitTriggers on winner.
}
Need a hint?
  • Subtract weighted migrationRisk from positive criteria.
  • Throw an error if the winning choice has an empty revisitTriggers array.

Saved on this device · 0 / 6000 · Do not include passwords or private data.

VERIFY

Acceptance checks

From the folder containing your downloaded files, run:

node checks.mjs ./starter.mjs 3

This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.

Record your attempt to enable the checklist and reference comparison.

Compare with the reference

Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.

EXPLAIN

Your interviewer asks

How do you decide between an incremental refactor and a six-month rewrite when engineers are frustrated?

Say your answer aloud, then record the trade-offs and evidence in your notes above.

LOCAL VOICE REHEARSAL

Rehearse your step walkthrough aloud

Target pacing: 02:00 · Stays in this browser only; never uploaded.

00:00/ 02:00
AlifBay Prep