Skip to main content

Week 12 Tutorial: Audit a complete evening

Run the final plan, trace one late or unscheduled order to its cause, and reproduce someone else's conclusion.

12 May 2027

You are hereW12 · Hilltop · twenty dinners

Open Week 12 in the Lab →Try your own change on this week's case.

Two-hour tutorial: preparation, coding and checks

This week’s task

Model: All twenty published orders and shared resources. The starting reference assignment is recomputed and checked.

Before you start · 15 minutes

Read W12. Choose #07, #13 or #20 and predict what limits its departure.

Trace the example · 25 minutes

Compare the greedy plan with the reference. Select an actual late or unexpected order and trace its previous task, readiness, charging and reservations.

Implement and compare · 55 minutes

No new implementation this week. Re-run your student planner and tests, complete the record, and import an exported browser experiment in a fresh workspace to reproduce it.

Use Open full Lab for editable inputs, strategy code, exports and the practice pack. The example on this page compares this week’s published cases; your local student runner must call the functions you complete.

Check and explain · 25 minutes

Ask another reader to recover one delivery time and its cause. Finish code, tests, checked plan, comparisons and your own explanation; keep a designed extra order in a separate scenario.

What to keep: A2: final audit, reproducible files and personal analysis. Show the tutor your prediction, experiment and explanation for this week’s participation point; keep the record to develop your assignment.

Optional extension

Explain one untested generalisation your successful reference run cannot justify.

W12 · Trace a dinner from ready to return.

Week 12 · This week’s decision

Can another person reproduce the run and trace one failure?

Audit the twenty-order evening. Choose an order to see its destination, or jump to the first late delivery.

Checks passed

20/20 on time. Every order delivered and every drone returned with all checks passing. The stored assignment was recomputed using this scenario.

On time20/20
Total lateness (s)0
All returned (s)8579

Computed from this case · 8.93 ms · lab-1.0 · evening

Starting case is ready.
Slop Hill · terrain & routes
0102030405060708091011121314151617181920Kitchen01020304050608091011121314151617181920SLOP HILL · 165 mNorth blockTOWER PASSAGESouth blockKitchen lowlandsNorth way roundSouth way roundElevation · low → hilltopN ↑ · metres east / north400 m

Colour bands show ground elevation. The marked passage runs between two towers; its rule allows one drone at a time. Height shown at 3× scale.

Follow one dinner through the evening

  1. Ready7758 s
  2. Previous return6239
  3. Take-off7818
  4. Deliver / due8221 / 10323

Drone D; 0 s of recorded queue or airborne wait; 0 s late. Return: 8579 s.

Explore the evidence, replay or open full Lab

Open full Lab ↗ for editable inputs, strategy code and saved comparisons.

Compare the recomputed 20/20 reference with the greedy plan, then select a late order and trace its cause.

Mixed fleet; complete trips · Shared charging, FCFS · Corridor capacity one

Assignment and complete tasks
InspectOrderDroneLoad startDeliverReturnLate (s)Energy (J)
#01A82358529052958
#02B5768461011056083
#03A125813931423012529
#04A164219782209076764
#05B178019462007021712
#07C260629373138080443
#08B287931743364063728
#06A323934593574043225
#10E3822414443610115863
#09A418044294573047704
#11B422944964658056437
#12A523655225703062354
#13B543156935850056781
#14D5438589162390183535
#15A655167606864034477
#16B662869337133060053
#17A736075417617027425
#20D7758822185790194341
#19A802483308531070019
#18B811982918358022572
0 s

Play the recorded flight, or drag the time slider.

Time and shared resources

Now 0 s

The vertical line marks the current time; outlined intervals are active. Select an interval to jump to its start. Intervals include their start and exclude their end.

A
B
C
E
D
pads
corridor

0 s 8639 s

Continue in the Lab →The same case, with every input open to change.

The spec

What you bring to the session. Written so a reader can tell whether it has been met without asking you.

Teaching team