As usual various fun paper activities are ongoing! Our paper on estimating the carbon impacts of leakage from forest restoration, led by Francisco d'Albertas with Thomas Swinfield, Andrew Balmford and a big cast of coauthors, has been accepted (yay!). More on that soon as I'm writing a blog note on the overall learnings from our years of work on 4C on how we think about additionality, leakage and permanence when fitted together into a counterfactual framework.

Shane Weisz's paper on AI agents passing the Red List assessor exam got multiple (quick) desk rejections for being out of scope in various conservation journals. It's always a bit tricky to find the right fit for work that is partly computer science and also environmental science. I still think this is better than a multi-month wait for a rejection though, and one kind editor wrote back with immediate suggestions that we're actioning now to resubmit.
Back firmly in computer science, Max Carroll put up a homepage for our forthcoming POPL27 paper on Bidirectional Type Slicing, complete with an interactive version in Hazel that runs in-browser. Camera ready paper uploading to arXiv soon (if we don't get 'on hold' as Josh Millar and I have both found for another paper I'll write about next week).
Co-author Cyrus Omar also gave the Computer Lab Wednesday seminar on programming experience design for a live and direct computational commons to a spirited turnout, and he included a cool demo of a live coding agent working inside Hazel's typed holes.

Check out the video for an entertaining talk!
1 Evidence TAP and reporting to MacArthur
Over at the Evidence TAP, Sam Reynolds, Sadiq Jaffer and I have been hacking quite hard on integrating our three main pieces together. The Taposaur crawls and indexes our fulltext corpus, Parsosaur recovers the structure of each paper into semantic markup, and Synthesaurus helps (human) experts refine the inclusion criteria for a review. Joined up, they're a pretty powerful pipeline from original scientific publication (like a PDF) through to a screened and traceable study, all running on local models (and hopefully the Cambridge private LLM for example!).
I've also been working on our first annual report to the MacArthur Foundation, who generously fund this work. While I usually dread this process, they have massively simplified what they ask of grantees, and published a guide to demystify the process.
This is a breath of fresh air!! For example, most of the discussions among our group haven't been on "what we did", but rather on "what surprised us" about our exploration so far. This prompted a bunch of conversations we would never otherwise have had. Our main surprise in this project is how much the route from evidence to policy differs across subjects. Conservation has a curated evidence base and a clear (but relatively small) community of users, while education has a more mature but more fragmented evidence culture. We've been having some fascinating discussions on the subject with Jenny Gibson and Eleanor Toye Scott who've been interviewing education policymakers about how they might use our evidence engines.
2 Tessera at Wolfson

On Friday I nipped over to my old haunt Wolfson College for the Nature as Infrastructure conference. This was hot on the heels of a (fairly failed) COP31 and the biodiversity COP17, and was about turning their commitments into investable action. I was a last minute addition to give a live demo of Tessera, where I showed its applications to estimating crop yields and dealing with droughts.
The opening keynote was from Kevin Chika Urama, chief economist of the African Development Bank, who framed the need for a pathway from "green wealth" to investable assets that starts with a "map and measure" approach. This involved both satellite and community monitoring, which set me up nicely for how to use Tessera with open downstream tasks that are easily customisable to the regions they are deployed in.


It was also lovely to catch up with Robin Daniels, who delivered the welcome remarks and who helped us bootstrap Canopy PACT, the charitable spinout from 4C, as its founding CEO!

3 Local (LLM) inference comes to Cambridge
Big local Cambridge computer news this week is that Research Computing Services has set up a beefy private LLM inference service, thanks to Ryan Daniels who talked about this at the Pint of Science earlier in the year. The cluster hosts full-quality open-weight models such as Kimi K3.1 Pro, GLM 5.3 and Mistral's Le Chonk behind a LiteLLM gateway. Sadiq Jaffer suggested that our (mostly batch) workloads could act as a convenient load test and also soak up out-of-hours capacity, which I was happy to have a go at!
In addition to literature scanning, I also had an immediate use of this for security responses (something that has been taking up most of my 'spare time' in recent months). I'd previously been running Scrutineer for the OCaml community against a local GLM on my Mac Studio and also against OpenRouter on my personal credit card. While the Mac worked ok, it isn't fast and also results in my desktop running out of memory all the time. I therefore migrated Scrutineer over to a larger Cambridge VM on our XenServer cluster, fixed up its OpenCode support (1, 2) so it works with the Cambridge LLM endpoint, and left it running security scans over the weekend.

The security scanning (using Le Chonk mostly) came to an eye-watering 11.3 billion tokens, almost all of it in one day, with 8 or so parallel scans. The "spend" isn't real money but the equivalent OpenRouter price (and of course, is real energy expenditure but I think software security scanning warrants it). Ryan told me that I was one of around twenty people hammering on the service, so there was token capacity to spare. This is really encouraging for something that'll be university wide when released, especially given the controversy over how Anthropic and OpenAI are using academic data to undermine existing researchers' hard work.
Having a local LLM is also a surprising psychological lightener, as there are no subscriptions (and expenses) to juggle, the rate limits can be scheduled via a quick chat, and we know where the energy expenditure is coming from. The "house rules" are to keep to eight concurrent requests during working hours and do larger workloads overnight, and Ryan's working on a batch endpoint too for Sadiq to test out. Having spent the last few years hustling for training time, it's great to see us closing the gap. Thanks Ryan and team!
3.1 Stop runaway file growth with Docker
One operational thing I learnt while re-deploying Scrutineer is that Docker can be constrained to stop a runaway container from filling the disk with one enormous file. One particular scan filled up a 500GB volume due to an enormous logfile, which stalled all the other tasks. I discovered that you can set a default ulimit in /etc/docker/daemon.json that caps the size of any single file that a container can write. TIL there's always a new ulimit option!
{
"default-ulimits": { "fsize":
{ "Name": "fsize", "Hard": 4294967296, "Soft": 4294967296 } }
}
As for what was scanned: there are still hundreds of bugs to triage I'm afraid. Hannes Mehnert, @etorok and Thomas Gazagnaire are all helping out in a private channel on the OCaml Zulip, and I'll notify more of the OCaml Platform maintainer team about the new setup when it's been running for a few more days.
3.2 Hardening our OCaml stack
After the initial deluge of security vulnerabilities over the summer, I'm trying to be more proactive about security hardening these days. The same LLMs that chain exploits are almost as good at scanning for flaws (although it's always harder to defend than to find a single vulnerability). I focussed last week on fixes to ocaml-uring and Eio, which have now been released or merged (with thanks especially to Thomas Leonard for careful reviews here).
3.2.1 uring 2.15.2
I released ocaml-uring 2.15.2. I opened up a big stream of fixes, and Thomas Leonard broke them out into individual PRs for review and reworking. None of the fixes are dramatic, but they are in a dangerous area of the FFI where they could be used as part of a chain exploit and so definitely worth fixing. The general classes of errors are:
- An OCaml integer is 63 bits wide whereas the kernel always picks 32-bit values, so lengths are now clamped to fit and negative ones rejected at the OCaml level.
- OCaml strings can contain a NULL byte, which C of course uses as the end of string marker. In order to avoid the situation where an OCaml string 'smuggles' a NULL into a string that lets the kernel open a shorter path, these are now rejected.
- Asking for more buffers than the kernel can allocate is now refused before queuing anything.
- Unix signals are a constant pain to manage due to their extremely preemptive nature. It turns out that a signal arriving at just the time while waiting for I/O crashed the program.
- Avoiding exposing junk stacks via uninitialised data is good hygiene. The statx file metadata buffer is zeroed now.
The release also removes some deprecated functions to keep our API surface as small as possible.
3.2.2 Eio on Windows, one chunk at a time
My IOCP branch is a lot to review in one go, so I've been cherry-picking independent fixes out of it in order to get it as small as possible before showing it more widely to Patrick Ferris and Thomas Leonard. This has been greatly helped by Thomas Gazagnaire's chaos engineering stack that replays Eio behaviour on each platform against an abstract model of what it "should" do. Windows turned out to deviate from the model fairly often, which highlighted some edge cases where a portable Eio application might see something different on Linux and Windows.
Some fixes were in the same spirit as the uring ones above. Hostname lookups with embedded NULLs are rejected, negative file offsets are refused in the portable Eio module, and a shutdown error maps onto the same connection reset exception used for other closed sockets. Then there are Windows-specific errors that cover:
- Name resolution now uses Eio's own getaddrinfo and socket creation failures and unsupported positioned I/O raise proper Eio errors.
- File operations return partial progress from single writes and opening output files does so for both reading and writing. Previously it was write-only, which is different than Linux's behaviour (or POSIX more generally).
- We reject abstract Unix socket addresses, which Microsoft claimed are supported but which don't actually work when you try them. Yay.
- Processes are rechecked for cancellation before spawning a child, which only showed up under stress testing if we can trigger a tiny race condition. An external attacker could probably make those conditions happen if they really wanted to.
There are a bunch of still-open issues I'm figuring out. More on this next week; it's difficult to find the interest to work through such tedious edge cases, but now that I've started I just want to finish it so Windows is a first-class backend!
4 Fun links
Two good podcasts about the AI mania this week. The first was Chloe Casale on Signals and Threads with Yaron Minsky, which had the maddest opening about her 1,000 km horse race across the Mongolian steppe (which Kathy told me about a few years ago as well!). Chloe made an interesting offhand remark near the end of the podcast about "feeling tired" with code review in the age of LLMs. This is, of course, entirely spot on, and Simon Willison also mentioned it in his interview with Lenny Rachitsky, who observed that Simon has "never worked harder—or felt more intellectually exhausted". Is everyone quite...mentally tired...this year? I feel like I haven't stopped concentrating since about March 2025!
Shriram Krishnamurthi has a splendid new lab in his Brown course on the "programming essence of agents" called In the Loop, where students build an agentic system for themselves in Pyret to demystify them. It took some inspiration from my note on language integrated LLMs, along with Hadley Wickham's What is an agent?.
If you're in Cambridge and haven't caught Mark Wormald's poetry, art and the fight for clean rivers exhibition on "Living Water" yet, I highly recommend you go visit before Saturday! It's just brilliant and inspirational and you get some great Barry Cooke artistry and poetry.

