Working notes: 2026-11-17: a sprint before the team meeting, and a third oracle, astrology
Claude, written on 11-19 from the session's transcript, the dashboard and the repositories' logs. Tuesday's work ran from 08:49 to 17:51 MST, in the same session as 11-16. Before: 11-16's note; next: 11-18's.
In short
The team met at 14:00 Mountain, and Matthew asked for a sprint before it, to finish what could be finished and lay out open questions for Cyrus and the team. By then ^report(54) had 17 questions, the evaluator's programs timed both ways, and an answer on step counts and probes, and build 49 was on the prototype branch. Meanwhile a third oracle, astrology, went live with its rules in Hazel. Those rules turned up two Hazel bugs, filed as #2831 and #2832. After the meeting, whose content the session does not record, John, an undergraduate on the Hazel team, offered to help; ^report(55) is his brief.
- On build 49, timed in CI, the median evaluator program is 222 times as fast compiled.
- Mixed mode's first step works in the tests:
fib(16)71.5 ms interpreted, 0.2 ms mixed. - The astrology rules compiled whole run 170 times as fast as the interpreter, with the same answer.
Matthew, today
There's a team meeting today at 2pm my time, Mountain Time.
I'd like to sprint for a few hours, to get as much completed as possible, and expose as many open design questions for Cyrus/team as possible.some answers [...] from my meeting on Friday 11-13 with Cyrus:
* we want to mimic the step counts in the compiled code, if possible. can we make it match the interpreter in each case? if not, why not?
* if we can mimic the step counts in the compiled code, can we support probes? if not, why not?please time the tests in interpreter vs jit and present those results in report 54
can we imagine another "oracle" app, based on astrology ideas? [...] the idea would be to rewrite the basic rules in Hazel, as much as possible.
that parse blow up should be filed as a Hazel issue, perhaps?
if there's something obvious next to do, just do it.
I don't want to babysit this terminal, like I need to pay attention just to say "keep going" every hour or so.I'm confused about the 233 evaluator tests that we timed and compared in report 54.
How many of those didn't have JIT counterparts because they had holes, or other stuck states that we aren't handling yet?
What was done
^report(54), for the meeting: the plan brought up to date, and "Questions for the team", each with our lean (15 at 08:53, 17 by 12:43).^ticket(767), step counts and probes, Cyrus's question of 11-13. Yes in principle to both: compiled code runs in the interpreter's order, so it can add up the same steps, and with them make the same probe samples. A calibration printed the interpreter's counts for 57 small programs: a literal is one step, and each level of simple recursion 16 more. Nothing built yet.^ticket(761), the last limits: an unlabeled entry(_=1),from_lvs, and a module member that is an expression. Now 260 of 313 compile, 233 agree, and none differ.^ticket(766), mixed mode, a first step. Top-level functions with their whole types declared are compiled. The interpreter calls each as a builtin made at run time, under a budget, and a call that stops falls back to the Hazel function. Single runs in CI, interpreter alone against mixed:fib(16)71.5 ms against 0.2 ms, and 200 I Ching readings 1,033 against 240 ms. For 500 calls of a one-line function, 22 against 27 ms, since crossing over costs more than the work.^ticket(756), the programs timed, in Node on GitHub's machines. Each repeats until its runs add up to 20 ms interpreted, or 5 ms compiled. On build 49, the 233 that agree took 32 ms a run in all interpreted, against 0.18 ms compiled. The slides' own programs joined the check: 15 of 129 compile, and all agree. To Matthew's question: of the 313, 53 are never compiled (15 holes, 10 type holes, 24 deliberately unbound names, 4 limits), and 27 are ill-typed, with no value to compare.- Build 49 (
0e56bdbd0a), the morning's branches merged. After all of CI passed,trial/694-view-jitfast-forwarded to it at 12:15. The Witch's view took 6.8 ms a frame (about 147 fps). ^ticket(761), the slide builtins. The operator builtins andto_lvswere added. Twice the full tests ran past 100 minutes; with timing left to the quick tests, they finished in 77. A real compiler bug turned up: two b2t2 table slides project a column through a list of rows, which was compiled as a plain property read. Fixed (bd08bb0872), and all 20 compiled slides agree.^ticket(768), an astrology oracle, its rules in Hazel: signs, aspects, the chart (Meeus), the sky (from astronomia, MIT, with Schlyter's terms for the outer planets), the reading and the wheel. Against Astronomy Engine, every body is within 0.11° from 1900 to 2100. Live as hazeljs-oracles 0.0.15 at 12:26. Its default chart is the app's own birth, its first commit, with the birthplace given by GPS coordinates only, as Matthew asked.- Two Hazel issues, filed on his word. #2831: a float literal with more than six decimals sends a module to the slow parse, which runs out of memory; writing them as ratios took the build from 70 s to 1.5 s. #2832:
Evaluator.finishcopies the environment into an answer that is a function, 656 MB for one, past 3 GB for another. - The astrology rules on hazel-jit, after four runs that timed out: one reading in CI parsed in 592 ms, elaborated in 196, ran in the interpreter in 437, compiled in 13, and ran compiled in 2.57 ms, with the same answer.
^ticket(732), the Tarot's woodcut faces (CC0 1.0), from a fork kept as a submodule, in black and white or in color (0.0.14).^ticket(765), one button switches every listing on a page between highlighted text and Hazel's editor. Matthew published it as hazeljs 0.0.8.^ticket(769), John's project, in^report(55), "Holes Across the Boundary": let a value with a hole cross into compiled code and out again unopened. No code with a hole is compiled, as agreed on 11-13. Four questions are to settle first. It also says where hazel-jit stands, for any newcomer.
Where things are
- hazel:
trial/694-view-jitis build 49, all green, under #2817.trial/761-slide-builtinsis in CI. - To dev, waiting on a review: #2828, #2825, #2818.
- hazeljs 0.0.8. hazeljs-oracles 0.0.15, now hazeljs-examples.
Next
- The slide builtins' CI, then build 50 (
^ticket(761)). - The astrology page compiled, as the other oracles are (
^ticket(768)). - Report 55's four questions, for Matthew and Cyrus, before John starts (
^ticket(769)).