Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 33 to 318

Compare

+5 −4 in 3 places
Lines 16–23 at 318 (were 16–23 at 33)
1616
1717after(cleanup);
1818
19−const BASE_SEED = Number(process.env["PROP_SEED"] ?? 20261003);
20−const CASES = Number(process.env["PROP_CASES"] ?? 30);
19+const BASE_SEED = Number(process.env.PROP_SEED ?? 20261003);
20+const CASES = Number(process.env.PROP_CASES ?? 30);
2121
2222// A small vocabulary, so files repeat lines and diffs have choices to make.
2323const WORDS = ["{", "}", "x", "y", "return x;", "", "let a = 1;", "let b = 2;"];
Lines 28–34 at 318 (were 28–34 at 33)
2828 return Array.from({ length: rng.range(min, max) }, (_, i) => (rng.chance(0.5) ? rng.pick(WORDS) : `${tag} ${i}`));
2929}
3030
31−const text = (lines: readonly string[]): string => lines.map((l) => l + "\n").join("");
31+const text = (lines: readonly string[]): string => lines.map((l) => `${l}\n`).join("");
3232
3333/** One person's commit: a few random line edits, sometimes a new or deleted file. */
3434function randomCommit(rng: Rng, files: Files, n: number): Files {
Lines 81–88 at 318 (were 81–87 at 33)
8181 return oid;
8282}
8383
84−describe("random commits ingest exactly", () => {
84+// The seeds share nothing (each has its own temp folder and cache), so 8 run at once: 81 s one by one, about 11 s so.
85+describe("random commits ingest exactly", { concurrency: 8 }, () => {
8586 for (let c = 0; c < CASES; c++) {
8687 const seed = BASE_SEED + c;
8788 it(`seed ${seed}`, async () => {
MCP
compare on this site's /mcp
CLI
abso diff 33 318 src/gitview/test/random.test.ts --json
JSON
/christopher/abso-core/compare/33..318?file=src%2Fgitview%2Ftest%2Frandom.test.ts&format=json