A rate limit is not a failure, so do not spend retry attempts on it. Work out which limit you hit,...#ai #node #redis #backend #software #coding #development #engineering #inclusive #community
Do Not Retry an LLM Rate Limit, Reschedule It
- Joined
A single failing golden case tells you almost nothing, and a single passing run tells you even less. If your grader is a string match, a judge model, or a schema check on free-form output, then the same prompt can pass six times and fail twice without anything in your system changing. The practical fix is not a heavier eval framework; it is a per-case noise floor measured from repeated baseline runs, plus a rule that refuses to escalate a verdict the data cannot support.
This article builds that gate in roughly eighty lines of standard-library Python. It assumes you already keep a stamp of model, sampling parameters, and grader version next to every score, because a score without its stamp is not comparable to anything. The artifact here is the layer above that: repetition, a one-sided Wilson bound, and a quarantine list for cases that are too unstable to judge at all.
Why one run cannot separate noise from a regression
Think of each graded case as a coin whose bias you are trying to estimate from a handful of flips. A prompt that passes five of eight baseline repeats and three of eight candidate repeats looks alarming on a dashboard, but with n=8 the confidence interval is simply too wide to justify that alarm. Working the numbers makes the point concrete: six passes out of eight gives a one-sided 95% Wilson lower bound near 0.46, while three out of eight gives roughly 0.16. The candidate is below the baseline floor, yet it is not zero, so the honest verdict is "inconclusive, sample more" rather than "regression".
That distinction is where most eval suites quietly lose their credibility. Teams wire a threshold to a single run, the threshold fires on sampling jitter, and within a month everyone has learned to ignore the report. A noise floor turns the report back into a signal, because it encodes how much variation the harness itself produces before any prompt changes.
The harness: repetition, a floor, and a stamp guard
The module below is runnable as written; you only supply the load_project() adapter that returns your cases plus generate and grade callables.
#!/usr/bin/env python3
"""eval_noise_floor.py - separate grader noise from a real prompt regression.
Stdlib only, Python 3.10+. You supply load_project().
"""
from __future__ import annotations
import argparse, hashlib, json, math, pathlib, sys
from dataclasses import dataclass, asdict
Z = 1.645 # one-sided 95%
FLAKE_BAND = 0.25 # baseline-vs-baseline gap that marks a case unstable
SLACK = 0.05 # jitter you tolerate without escalating
def wilson_lower(passes: int, n: int, z: float = Z) -> float:
"""Lower bound of the Wilson score interval for a binomial proportion."""
if n == 0:
return 0.0
p = passes / n
denom = 1.0 + z * z / n
centre = p + z * z / (2 * n)
margin = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n))
return max(0.0, (centre - margin) / denom)
@dataclass
class CaseResult:
case_id: str
passes: int
n: int
@property
def rate(self) -> float:
return self.passes / self.n if self.n else 0.0
def stamp(model_id, temperature, top_p, grader_version, case_ids) -> str:
payload = json.dumps(
{"model": model_id, "temperature": temperature, "top_p": top_p,
"grader": grader_version, "cases": sorted(case_ids)},
sort_keys=True,
)
return hashlib.sha256(payload.encode()).hexdigest()[:12]
def run(cases, generate, grade, repeats: int) -> list[CaseResult]:
out =
[] for case in cases:
passes = 0
for i in range(repeats):
completion = generate(case["prompt"], i)
passes += int(bool(grade(case, completion)))
out.append(CaseResult(case["id"], passes, repeats))
return out
def verdict(base_a, base_b, cand) -> str:
if abs(base_a.rate - base_b.rate) > FLAKE_BAND:
return "quarantine"
floor = max(0.0, wilson_lower(base_a.passes, base_a.n) - SLACK)
if cand.rate >= floor:
return "within_noise"
if cand.passes == 0:
return "regressed"
return "inconclusive"
def main(argv=None) -> int:
ap = argparse.ArgumentParser()
sub = ap.add_subparsers(dest="cmd", required=True)
c = sub.add_parser("collect")
c.add_argument("--out", required=True)
c.add_argument("--repeats", type=int, default=8)
c.add_argument("--model", required=True)
c.add_argument("--temperature", type=float, default=0.7)
c.add_argument("--grader-version", required=True)
p = sub.add_parser("compare")
p.add_argument("baseline_a")
p.add_argument("baseline_b")
p.add_argument("candidate")
args = ap.parse_args(argv)
if args.cmd == "collect":
cases, generate, grade = load_project()
results = run(cases, generate, grade, args.repeats)
manifest = {
"stamp": stamp(args.model, args.temperature, 1.0,
args.grader_version, [c["id"] for c in cases]),
"model": args.model,
"grader_version": args.grader_version,
"results": [asdict(r) | {"rate": round(r.rate, 3)} for r in results],
}
pathlib.Path(args.out).write_text(json.dumps(manifest, indent=2))
return 0
a, b, cand = (json.loads(pathlib.Path(f).read_text())
for f in (args.baseline_a, args.baseline_b, args.candidate))
if len({r["stamp"] for r in (a, b, cand)}) != 1:
print("refusing to compare: stamps differ", file=sys.stderr)
return 2
idx = [{r["case_id"]: CaseResult(r["case_id"], r["passes"], r["n"])
for r in run_["results"]} for run_ in (a, b, cand)]
table = {cid: verdict(idx[0][cid], idx[1][cid], idx[2][cid]) for cid in sorted(idx[0])}
print(json.dumps(table, indent=2))
return 1 if "regressed" in table.values() else 0
if __name__ == "__main__":
raise SystemExit(main())
The two baseline collections are the part people skip, and they are the part that pays for itself. Both are produced by the same stamp against unchanged prompts, so any gap between them is pure harness variance, which is exactly the quantity you want to know before blaming a prompt. The exit code stays non-zero only when a case fails at zero passes or after escalation, so a noisy suite stops blocking deploys it should never have blocked.
python eval_noise_floor.py collect --out runs/base_a.json --repeats 8 \
--model your-model-id --grader-version g7
python eval_noise_floor.py collect --out runs/base_b.json --repeats 8 \
--model your-model-id --grader-version g7
python eval_noise_floor.py collect --out runs/cand.json --repeats 8 \
--model your-model-id --grader-version g7
python eval_noise_floor.py compare runs/base_a.json runs/base_b.json runs/cand.json
Repetition is cheap to design and expensive to run
Repeats multiply spend linearly, and the arithmetic gets uncomfortable fast. Forty cases at k=8 for two baselines plus a candidate is 960 generations, and escalating every inconclusive case to k=16 pushes the total past two thousand calls before you have tuned anything. That cost profile is the main reason teams keep shipping one-shot evals: the honest version is roughly ten times the traffic of the dishonest one.
This is the one place where MonkeyCode's operator-supplied availability claims become relevant to the method. The project advertises free model access for prototyping, currently described as a ten-million-token allowance, and a free server option for running long repeat jobs off your laptop. Both figures and terms are promotional and time-sensitive, so confirm the current numbers on the project's own page before you size a repeat budget around them. Disclosure: This article was prepared as part of MonkeyCode's product outreach.
Keep the harness behind your own adapter regardless of which endpoint fills the generate callable. A regression gate that only runs on one provider's promotional tier is not a gate; it is a dependency, and it will fail the week the terms change.
What each verdict should trigger
| Verdict | Evidence pattern | Action |
|---|---|---|
within_noise | Candidate rate at or above the baseline floor | Ship, and log the rate so the floor drifts with reality |
inconclusive | Below floor, but at least one pass | Re-run that case only, at k=16, before touching the prompt |
regressed | Zero passes across repeats, or still below floor at k=16 | Block the change and bisect the prompt or the model stamp |
quarantine | Two identical baseline runs disagree by more than 0.25 | Fix the grader first; the case cannot gate anything |
Quarantined cases deserve a sentence of their own, because they are usually misread as model problems. A judge model that flips on the same completion twice, or a regex that depends on whitespace, will look exactly like an unstable prompt until you measure it twice. Pull those cases out of the gate, fix the grader, then reintroduce them with their own floor.
Limitations and who should not use this
Deterministic graders on structured output rarely need k=8, since exact key matching is effectively noiseless and a single sanity repeat is enough. Stateful agents that mutate a database, a queue, or a sandbox between calls break the independence assumption outright, so reruns must start from a reset fixture or the floor means nothing. Anyone unable to pin temperature, top-p, and grader version should stop here, because repetition without a stable stamp just produces a more expensive kind of guessing.
Regulated environments with data-retention obligations should also read the terms of any free tier before sending golden cases through it, and this harness gives you no protection there. Finally, teams chasing latency or cost budgets need a separate harness, because a pass-rate floor says nothing about the tail behaviour you actually care about.
If the repeat-heavy version sounds worth trying and the token bill is the blocker, the free model access and free server option in MonkeyCode are a reasonable place to start. Keep the adapter boundary intact, verify the terms yourself, and the gate stays yours even if the promotion does not.#testing #ai #python #llm #software #coding #development #engineering #inclusive #community
Compute a Noise Floor Before You Call an Eval Regression
Factory workers in India are being asked to wear GoPro cameras to record the way they do their jobs. The ultimate goal is to train robots to take over. Will it work?
#wellness #automation #ai
These workers help train robot...
(diesec.com) Exploitation of Unpatched AhsayCBS Backup Server Vulnerabilities Enables Remote Code Execution and Cryptocurrency Mining
In brief - This article discusses the exploitation of two vulnerabilities in AhsayCBS backup servers that allow unauthenticated remote code execution, noting that initial patches were ineffective.
Technically - This article details a vulnerability chain consisting of CVE-2026-105133 (improper authentication in checkSysPwd) and CVE-2026-105134 (OS command injection via /rps/api/json/UpdateReceivers.do). Attackers leverage an authentication bypass using random tokens to execute code as NT AUTHORITY\SYSTEM, subsequently deploying JSP web shells and a Monero miner (edge.exe) managed by a modified NSSM service (msedge.exe) under the name MicrosoftEdgeUpdateSvc. Mitigation requires installing hotfix 10.3.4.45 for version 10 or 9.15.2.70 for versions 7-9, as version 10.3.4.0 was found to be insufficient.
Source: https://diesec.com/2026/10/ahsaycbs-backup-server-vulnerability-cve-2026-105134/
@hipsterelectron @hiker @smallcircles to solve the problem of multiple standards Fighting for adoption, we invented one more standard. Some people didn't like this and now there is another body that publishes standards.
Sakana ChatにAIの記憶を可視化する新機能「My Fish」が登場、覚えている内容や記憶同士のつながりを確認可能に
A rotund little cat joined Nao-san for tea and to catch the last rays of the day🌞🙌🐈🍊
Originally published on dbln.me. A couple of months ago I started developing Kept, an open-source...#ai #llm #agents #architecture #software #coding #development #engineering #inclusive #community
Reliability at the core: five ground rules for building an agent loop
Originally published on The Daily Flare. Key takeaways ✓ Gemini 4 Argon beats Claude...#ai #llm #machinelearning #claude #software #coding #development #engineering #inclusive #community
Gemini 4 Argon vs Claude Opus 5.5: Benchmark Comparison
Jevが画像入力に対応&長大コンテキストに対応&意思決定モデルのベンチマークテストも発表
Me and Ilhan Omar are far apart policy wise. I’m pro life, she’s pro abortion. I’m pro 2A, she’s pro gun control. And on and on.
But can someone tell me how pretending to get ready to deport Ilhan Omar is going to bring gas down under $2, make health insurance freaking affordable, make a family’s weekly grocery bill make sense, and stop sending our beloved military off to fight for another fucking foreign war???
People are so sick and tired of the bullshit.
When you dumb mf’ers at the WH actually release the Epstein files and lock up the pedophiles and rapists you all hang out with, then we will start paying attention.
Until then 🖕.
Birthday Inventory 2026
It’s my birthday today, 14 Oct 2026. As has become my tradition over the last few years (2025, 2024, 2023, 2022, 2021, 2020, 2019, 2018, 2017), I’m going to try to take a personal inventory of where I stand in the world and what is happening with me and my life. I try not to spend too much time reviewing the old inventories when I’m writing this year’s, so maybe some of these points are repetitive for frequent readers. Get used to it; I will probably have many of the same things right and wrong in my life next year and the year after that.
- Family. My family remains an essential part of my life — the centre of everything I do. We continue the slow-motion reconfiguration from an atomic group — two parents, two kids, one house, variable number of cats — to a looser, more asynchronous collection. We are still intimate and we are still a big part of each other’s lives, but my daughter has been living in her own apartment for two years or so, and my son, who started CEGEP (our unique somewhat mandatory form of Quebec junior college) at Dawson College this year, is spending more evenings out of the home, and cooking for himself when he is here. But my daughter is coming home from her fall break trip to New York this week just to be here for my birthday dinner, so I’d say we’re still pretty close.
- It’s meant that my wife and I are developing our relationship for the next part of our life. It is likely that our son will move out before college, leaving just the two of us (and the cats). We are still figuring which part of the atomic-family schedule and activities we want to maintain into our empty-nester time, and what we want to trim back to make more room for our preferred activities. We’ve been growing closer, now that we have time to talk about things we’re actually interested in, and not just scheduling who gets which kid to which class or appointment. She’s been more proactive about exploring her other interests, and I’ve been tagging along about 50% of the time, which is nice.
- My parents are getting older, and that’s hard. They live in Half Moon Bay, California, thousands of kilometres from Montreal, and I see them once or twice a year. They are doing OK, but they’re in their 80s, and every day is precious. I’d like to get better about spending more time with them while we both can.
- My Uncle Happy, who lived in Biloxi, MS, passed away in January. His longtime partner Joy had passed only a few months before. He was my mother’s brother, and I liked him a lot — funny and dignified and understated in a Yankee way. This was the first time I’ve been part of the first-string team dealing with the bureaucracy and mechanics of death — cremation, spreading ashes at sea, sorting finances and belongings and clearing out an apartment where two people had lived for 25 years or more.
- One thing that health issues and relatives’ death has done has brought me closer with my three brothers. Ted and I spent a week in Biloxi taking care of business for Uncle Hap; my brother Andy, a doctor, has been leading the way with my parents’ health issues. We chat online almost every day, which is great. I got to see Andy and his family in Burlington VT just last week for a visit, too.
- Further out, my extended family continues to stay connected somehow. I would have thought that my generation would be out of weddings at this point, but with 17 cousins we seem to keep having a wedding to bring us all together every year or two. It’s a real highlight.
- Work. This is the biggest change since my last inventory. Last year at this time, I had started the Social Web Foundation to work on Fediverse projects, while at the same time keeping my job at Open Earth Foundation, working on climate change projects. It was exhausting me — I was doing 1.5 to 2 jobs, and it pushed me almost to the breaking point. But last fall, we got a series of grants that meant I could work full-time for SWF, which I’ve been doing since January. It’s been a really different work environment — I do most of my technical work alone or with a loose Open Source community providing help and contributions, rather than the 10-person tech team I was director of this time last year. And my coordinating work for events, projects and research is much more about working with allies and fellow travellers rather than employees of my same foundation. I miss my friends at OEF, but to be honest my work this year has been so busy that I haven’t kept up with where things stand for them. My SWF work is really interesting and fun, though.
- I also took on a role as board member at NANPS, the North American Native Plant Society last year. I have been on a few boards of directors before, where I usually found my role to be asking obvious questions to management about their plans (“How will you know if you’ve succeeded?”) and moving to accept the minutes from the last meeting (or seconding the motion). This work at NANPS has been much more involved — it’s a working board. I’m the head of membership, so my committee works on increasing our paying members and providing services they want and need. It’s really rewarding, and it helps me feel like I didn’t leave my ecological work behind when I stepped away from OEF. I also love talking to people about native plants!
- I have had a lot of travel for work in this last year — Brussels, Berlin, Vancouver, New York (twice!), Halifax. It’s been pretty nice, and I’ve usually been able to schedule a few days before or after a trip to see the sites and enjoy the cities I’m visiting. My wife and I are going to Dublin in a few weeks for a conference — I’m really looking forward to it.
- Health. It’s better, thank goodness. Last year, around my birthday, I started taking Wegovy, the Canadian rebranding of Ozempic. I lost about 15 kg, enough to take me out of the danger zone of uncomfortably overweight, into the upper bounds of slightly overweight. I think I developed some bad eating and exercise habits while taking the shots, but since I got off them, I’ve been trying to improve those habits back again. I had actually hit a plateau, and shaking things up has been good. Other health is OK — my car-accident injuries are as healed as they’re ever going to get. And my teeth are good — although I’ve been rescheduling the same dental appointment for the last 3 months — I should probably get that settled.
- School. Wow, it’s been a great school year. Last year at this time, I was taking Computer Networks, getting into the nitty gritty of how the Internet works. Since then, I’ve taken Network Science — the fascinating study of complex networks of people, computers, species, genes, or any other related objects. I also did a project over the summer in Modern Internet Research Methods, studying how people on the Fediverse are connected to each other. My research team is going to submit our findings to a conference in January when we finish our data collection. Now, I’m taking Distributed Systems, trying to understand how applications that run on tens of thousands of computers talking across the Internet can give consistent and reliable answers.
As it stands, I will be graduating from my master’s program in Spring 2027, which will be awesome — almost 4 years of study. The hard decision for me now is whether I want to double down and go for a Ph.D. I think I could continue my Fediverse work with a Canadian research group, but I’d need to find them, and then it’d be another few years before I’m done. And I’d have to figure out how to balance that with my “day job” at the foundation. I really do love the academic work, though, so I’m trying to work it out. - Home. My wife and I have really developed a migratory lifestyle, moving back and forth from our country home in Melbourne, Quebec during the week to our Montreal house during the late week and weekend. We’re doing about 3-4 days in each house, and driving between them, occasionally with kids or guests or cats. The work I’ve done on our garden in Melbourne is starting to pay off — the perennials, shrubs and trees I planted 5 years ago are all coming into their own. And our vineyard is thriving — we had our first intentional harvest of grapes this fall. I still have a lot to learn about how to grow grapes, but I’m having fun and making wine is a blast.
- The other new resident at the country house is my 1972 Citroën DS — a beautiful old car. It got a major overhaul last year, and I got it back to street legal after years in storage. I’ve had fun this year tinkering with it this year.
- Technology. Like most people on the planet, I’m trying to figure out where LLMs fit into my life and work. I’m a little annoying about the issue — I ask friends and family a lot about their habits with AI. I’ve found myself replacing Google and other search engines with ChatGPT or Claude (although I fired Claude earlier this year because we couldn’t come to an agreement about Gaza). When I’m writing code, I use LLMs for brainstorming, reference, and code review — it’s a real pleasure to work with, and I feel like I’m making measurably better software.
- I’ve stuck with my boycott of Minecraft for BDS, and I kind of got tired of Stardew Valley. If I have free time with my phone, I’m usually watching lectures or reading papers for school. I also have rekindled my enjoyment of Duolingo, the language-learning game app. I’ve been learning Irish for our trip to Dublin, and it’s a lot of fun. On top of that, I continue to play games like Wordle, the NYT crossword, and new faves maptap.gg and catfishing.net.
- Life’s purpose. The last 4-5 years have really pushed me into more work on the social web, AKA the Fediverse. That’s the network of interconnected social platforms that use the protocol ActivityPub to communicate. Now that I work on it full time, I find myself spending a lot of hours working towards its success. Between protocol meetings, extension development, advocacy, onboarding, and software development, it feels like it fills my whole horizon. Which is tough, because by any measure the growth of the network has slowed down since the heyday of the purchase of X. I’m trying to remind myself that having this time to build and organise will make us more prepared for the next big upswing, if and when it comes.
- State of the world. This remains strange. As a Canadian and an American, I don’t think I’ve ever felt so aware of the differences between those two countries until the last few years. The governments in Canada and Europe and elsewhere are determining what kind of world they want to have that’s more independent of the US. That covers everything from international relations to technology. My work on social networks has put me in the middle of this discussion, where advocates and policymakers are considering “digital sovereignty” as an essential part of their planning.
- I remain committed to an end to the genocide in Gaza. Last year, the ceasefire had just started, and over the ensuing 12 months, hunger and lack of medical care and continued attacks still are making life hard in Gaza for the people there. And there remains no plan for fixing it. I continue to do what I can to help from afar, donating and keeping attention fixed.
- I am deeply concerned that the world is losing its focus on issues of climate change and biodiversity collapse — the most important issues of our time. The wars that have erupted in the last few years are distractions from, and symptoms of, the massive collective challenges we have as a planetary civilization. My hope is that we can pull back from the brink.
- Friendships. I’m tired of saying that I don’t spend enough time on my friendships. I need to start accepting that the people I’m spending time with are my friends, and the time I’m spending with them is meaningful and important. Whether that’s in W3C protocol discussions, or at Fediverse Night at Foulab, or in a membership committee meeting at NANPS, the people I’m around are the people I should spend time with. I’ve had a lot of time to go out dancing, or have nice dinners with couples we like. I think I need to accept the friendship around me instead of expecting something different.
- Time with myself. I don’t know what to call this — “interiority”? I am finding myself alone for hours per day lately, which is really nice. Whether it’s working in the garden, cooking, coding, exercising or meditating (which I do rarely, now!), I find myself spending time with my own thoughts and feelings. This can be great, as long as I balance it with time with others.
That’s where things stand, I think. I sometimes come back and edit these inventories over the days and weeks after I post, so feel free to ask me questions if you want to know more. Thanks for reading this far.
UPDATE: I nearly forgot one of the biggest changes from the last few years — I shaved my moustache off on New Year’s Eve 2025. This is one of the things people ask me about most often, and my son continuously razzes me about having a bare and lonely lip. It’s been interesting getting to know my shaven face again after so many years with a handlebar on my upper lip.
#birthday #career #family #personal@alcinnz
iirc, NetBSD's drivers can be run in both kernel space and user space. The user space way is done with their "rump kernel" thing.
Why Voice Interfaces Matter If you’ve ever watched a user scroll through a page while...#ai #programming #discuss #webdev #software #coding #development #engineering #inclusive #community
The Future of Voice Interfaces in Web Applications
Self-hosting email with Mailcow Dockerized is easy and awesome
https://bookofadamz.com/self-hosting-email-with-mailcow-dockerized-is-easy-and-awesome/@cwebber I hate copyright but want some credit for stuff I do, cuz that's the coolest thing someone can give me for the work I do for fun. So, the thing I care about the most is attribution, and that is why I license my stuff copyfree. If I didn't care, I would license it public domain, but attribution feels kinda like praise; I made something useful enough for someone to use, and I know that because they are attributing me
An AI-racing drone beat the best humans and set a world record. Via @popsci #AI #ArtificialIntelligence 💻 🧠 #Robotics 🤖
An AI-racing drone beat the be...
can i stop being cassandra for one day
@tychotithonus that first one is amazing
Hidden cost: seed data and auth. Agents are flaky because fixtures are unstable, not because the UI is complex.
Keep agents on exploratory work. The critical-path suite stays deterministic and human-owned.
Build the plumbing and the model barely matters.