Skip to content

chore(paper): move the cpc paper to its own repository - #140

Merged
HaoZeke merged 2 commits into
developfrom
chore/remove-paper-r5
Dec 3, 2026
Merged

HaoZeke merged 2 commits into
developfrom
chore/remove-paper-r5

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

the cpc manuscript does not belong in this repository. it now lives in
a separate private repository, so this commit removes paper/ and the
tasks, workflow, and scripts that existed only to build it. the library,
its benchmarks, and the records those benchmarks read stay here.
the library tests still read tests/corpus31/make_corpus31.py,
tests/corpus31/manifest.toml, tests/fixtures/v31_large_ids.con, and
tests/fixtures/survey_frame.con.
a campaign that still calls those scripts reads the checkout from
READCON_PAPER_ROOT and stops when that variable is unset.

This replaces #139 and stacks on #138.

macOS libSystem has no `posix_fallocate`, and the declared extern failed
to link the gpridge wheels. `libc::fallocate` is the Linux and Android
binding. `libc::posix_fallocate` is the FreeBSD binding. macOS reserves
the gap with `fcntl(F_PREALLOCATE)` and `File::set_len` sets the logical
size, because `F_PREALLOCATE` does not. Both of those calls set
`F_ALLOCATEALL`. `fcntl(2)` allows `F_ALLOCATECONTIG` alone to succeed
after a short allocation, and returns `ENOSPC` for a shortfall only when
`F_ALLOCATEALL` is set. Windows and every other host use `File::set_len`.
A filesystem that returns `EOPNOTSUPP`, `ENOTSUP`, `ENOSYS`, or `EINVAL`
still extends that way. `ENOSPC` and any other error are returned, and
the file ends at the requested length. CON-bin uses the same helper.

Kitline-Change: ksrqwnpsuvlqpmozvwnmsurzrskyupzn
the cpc manuscript does not belong in this repository. it now lives in
a separate private repository, so this commit removes `paper/` and the
tasks, workflow, and scripts that existed only to build it. the library,
its benchmarks, and the records those benchmarks read stay here.
the library tests still read `tests/corpus31/make_corpus31.py`,
`tests/corpus31/manifest.toml`, `tests/fixtures/v31_large_ids.con`, and
`tests/fixtures/survey_frame.con`.
a campaign that still calls those scripts reads the checkout from
`READCON_PAPER_ROOT` and stops when that variable is unset.

Kitline-Change: ommwzyywtkzozmsuykqtxvkysurrmvmq
@cursor

cursor Bot commented Dec 3, 2026

Copy link
Copy Markdown

This PR is too large for Bugbot to review. It changes 136,897 lines and 3,887,394 characters. Split the change into smaller pull requests to get a review.

@HaoZeke
HaoZeke merged commit 0f44ebb into develop Dec 3, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant