Skip to content

docs: add paper preprint v0.2 (EN+ZH) + README links - #407

Merged
ranxianglei merged 5 commits into
masterfrom
2026-09-13_paper-preprint
Sep 12, 2026
Merged

ranxianglei merged 5 commits into
masterfrom
2026-09-13_paper-preprint

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Adds paper/ with the v0.2 preprint (English + Chinese) and links both from the bilingual READMEs.

Paper: Model-Driven Incremental Hierarchical Compression: Training-Free Multi-Generational Context Management for Long-Lived Coding Agents — a production-scale longitudinal study: 4.5 months, three hosts, 174,327 model calls, 18.76B cumulative input tokens (~24.7B across hosts), zero window violations on 204,800-token models, marathon sessions of 8,584–12,049 calls.

Contact: ranxianglei@gmail.com

Paper tracking: dog/billion-context-pi#40

@github-actions

github-actions Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Extension Artifact

Branch: 2026-09-13_paper-preprint (ea7a344)

Option A — Install from npm PR tag (recommended)

pi install npm:billion-context-pi@pr-407

Each push to this PR publishes a new version under the pr-407 npm tag.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pi-pr407.tgz
pi install ./package

This comment is automatically updated on each push.

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 PR review — docs: add paper preprint v0.2 (EN+ZH) + README links

Duplicate screen: searched open+closed issues/PRs for "paper preprint" — no prior entries; this PR is unique.

Diff hygiene: clean. Exactly 4 files, +793/−0, every line on-topic: two new paper/*.md preprints (v0.2) and a "Paper / Preprint" section (+10 lines) in each bilingual README. No unrelated changes, no generated artifacts.

Verified:

  1. Links — all relative markdown links in both READMEs resolve (script-checked), including the new ./paper/... targets.
  2. Markdown integrity — code fences balanced in both papers; no BOM/CRLF/null bytes; EN and ZH heading trees match 1:1 (32 headings each).
  3. EN↔ZH numeric parity — spot-checked ~20 headline stats across both versions: 174,327 calls; 18.76B = 187.6亿 cumulative input (1.75B fresh + 17.01B cache reads); ≈24.7B = 约247亿 across hosts; marathon sessions of 8,584–12,049 calls; cache-read share 94.2% / 90.7% / 88.3%; re-fetch −63% (2.7×); median compression output 185 tok with 97.5% ≤2K; 2.29亿 tokens compressed; Pi per-call mean 88,218 / p99 217,742; single-session ceiling 286亿 by day 106 — all consistent. The README blurbs match the paper's Table 1 (§6.1).
  4. Sensitive-info scan — no IPs, internal hostnames, absolute filesystem paths, or credential patterns in either paper. Footnote [^issue80] → issue # 建议:支持低成本子 Agent 压缩,并尽量保持 Prompt Cache 前缀稳定 #80 exists and matches its description.
  5. CI — all 9 check runs were green on 34ef0c1 (test ×4, e2e ×2, pr-validation, docker, build-artifact).

Fixed directly on the PR branch (commit d6ce4d8, pushed): both READMEs had a double blank line between the new --- rule and the "Paper / Preprint" heading — reduced to a single blank line to match the file's convention elsewhere. Whitespace-only; CI re-triggered (pr-validation, build-artifact, e2e-ubuntu already green).

Non-blocking observation (your call): the ZH paper's filename uses Chinese characters (模型驱动的分层增量压缩-免训练多代上下文管理.md) while repo doc convention is ASCII basenames (README.zh-CN.md, docs/omp.zh-CN.md). It renders fine on GitHub and paper/ isn't shipped in the npm tarball (files: dist, README.md, LICENSE), so it's purely stylistic — I left it as-is; happy to rename if you prefer.

Otherwise ready — merges are human-only per system rules, so please merge from your side once the remaining checks finish: #407


中文摘要:审查通过——diff 干净、链接全部可达、中英数字一致、无敏感信息泄漏;已直接在分支上修掉两个 README 中多余的空行(commit d6ce4d8),剩余 CI 转绿后即可合并。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 Follow-up: all 9 CI check runs are now green on d6ce4d8 (test ×4, e2e ×2, pr-validation, docker, build-artifact). Nothing outstanding from review — ready for you to merge whenever: #407

CI 已全部转绿,无遗留问题,等你合并即可。

@ranxianglei
ranxianglei merged commit dd183bd into master Sep 12, 2026
9 checks passed
HangxiangMa pushed a commit to HangxiangMa/billion-context-pi that referenced this pull request Sep 21, 2026
…preprint

docs: add paper preprint v0.2 (EN+ZH) + README links
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