igiveyouarendezvous: an interview scheduler in pure Go (local search, lexicographic objectives)

Hi gophers,

I’ve released igiveyouarendezvous, a command-line tool and Go library that plans interview days. Each candidate must meet several recruiters, and the tool builds the timetable.

What it handles:

  • a recruiter sees one candidate at a time; recruiters of the same “joint group” may interview together;
  • all of a candidate’s interviews happen the same day, back to back (or with a bounded wait), never across the lunch break;
  • availabilities per person, every day or by date, and an interview length per recruiter;
  • strict priorities, plus an automatic urgency for candidates with few days left.

The objectives are lexicographic, with no weights to tune: candidates seen first, then meetings, then sparing recruiters’ days and half-days, then fewer interviews and less recruiter time.

Under the hood:

  • a greedy start, then a ruin-and-recreate local search with late acceptance hill climbing, one search per core;
  • Ctrl+C returns the best schedule so far, and a run can resume from a saved plan, where the candidates already convened are “fixed”: kept as they are, with an alert if one no longer holds;
  • on 60 to 100 candidates and 10 to 12 recruiters, it reaches the proven optimum (checked with HiGHS) on the number of candidates in every benchmark case;
  • the tests compare it with a MILP model (go-milp) and with an exhaustive enumeration on 300 small random problems.

The input is a single YAML or JSON file, with a JSON Schema for editor validation, and -rest writes the next day’s file while keeping your comments. Pure Go, no cgo, 0BSD or WTFPL.

Feedback welcome, on the search above all. I measured 2-opt-style swaps and ALNS against plain ruin & recreate and got no gain, which surprised me: ideas are welcome. Comments on the API are welcome too.

1 Like

Interesting Project - I like the clear and flexible configuration options via YAML/JSON. Two Ideas come to mind:

  1. Performance:
    Have you thought about using SIMD instructions to increase performance? Since this problem seems mostly CPU bound it could greatly benefit from vectorized execution: Go-Blog:SIMD
  2. Adoption:
    If you want to ease adoption you could provide a simple online demo. Then users could just edit the YAML text in the text-field and get the schedule with a single click without having to run local binaries. (You could for example build the code as WASM and provide static hosting via GitHub, so everything runs in the browser)

Thanks a lot for the feedback!

  1. SIMD: I profiled the search, and most of the time goes into exploring the possible placements of each candidate: branchy code over a handful of time slots, not wide data-parallel loops. The bit operations that could be vectorised take less than 20% of the time, and an earlier switch to 64-bit word bitsets gained nothing. Smarter pruning would help more than raw speed, but I’ll keep an eye on the simd package once it leaves the experiment.

  2. Online demo: great idea, and it’s done: igiveyouarendezvous demo — pick an example, edit the YAML and click Plan. The engine is pure Go, so it compiled to WebAssembly as is. It runs in a web worker, in the browser, so the data never leaves the user’s machine, which matters for HR people handling candidates’ names. The schedule shows as a board, one row per person, and improves while the search runs.

1 Like