- bench.py now generates every README table row (ANSI CI, pip/tqdm, pytest, pretty JSON added) and refuses to print chars/4 estimates — reproduced numbers can no longer silently diverge from the claims - eval.py: the receipt ratios can't give — 8 seeded failure logs with planted root causes and red herrings, asked raw vs compressed, graded by deterministic keyword check. First run (haiku 4.5): raw 6/8, compressed 8/8 at 3.1x fewer tokens; both raw misses were lost-in-the-middle - README: eval section, related-work section (rtk, Headroom, Drain3, LLMLingua-2, arXiv 2604.13066), prompt-cache claim sharpened to the rebuilt-prompt scenario, agent-harness integration (--run, --hook), re-measured receipts table Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
634 B
TOML
25 lines
634 B
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "lessismore"
|
|
version = "0.2.0"
|
|
description = "Squeeze text before it hits an LLM — deterministic prompt compression, measured in real tokens"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.8"
|
|
authors = [{ name = "John King (monsterrobotsoft)" }]
|
|
keywords = ["llm", "prompt", "compression", "tokens", "context"]
|
|
|
|
[project.optional-dependencies]
|
|
tokens = ["tiktoken"]
|
|
ml = ["llmlingua"]
|
|
|
|
[project.scripts]
|
|
lessismore = "lessismore:main"
|
|
lm = "lessismore:main"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["lessismore"]
|