Repository navigation
Fix squattable pkgguard extra and Claude provider; prepare PyPI release - #1
Merged
Merged
Conversation
…ility - The [pkgguard] extra depended on the PyPI name "pkgguard", which is unregistered: the install failed today, and whoever registered the name first would run code on every machine installing the extra. It now names the published distribution, blvkware-pkgguard>=0.1.2 (wheel checked: it provides pkgguard.service.verify_many, Python >=3.9). - The anthropic provider sent temperature on every request. Current Claude models reject it with HTTP 400, so every sample failed and no report was written. On that specific 400 the provider now drops temperature for the rest of the run, records it per sample (and in the cache), and the CLI, HTML and Markdown reports state how many samples used default sampling. max_tokens raised to 16000 because always-on thinking shares that limit. - README: install-from-git path (not on PyPI), current Claude model in the example, OPENAI_API_KEY fallback and default base URL, prompt counts per registry and tier, FAQ, citation and data licence. - Add CITATION.cff, AGENTS.md, CSV column dictionary for the panel report, and fuller package metadata (URLs, classifiers, keywords). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011GFY8v4QeVYzawpSLcJCzz
Lets the agent do live installs (for example the [pkgguard] extra) without being blocked. Scoped to pip and the repo's .venv; nothing else is allowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011GFY8v4QeVYzawpSLcJCzz
…data - Release workflow publishes on a v* tag via PyPI trusted publishing (no stored token); it runs the tests, checks the tag matches __version__, and validates the build with twine --strict first. - License as an SPDX expression with license-files (setuptools>=77); the table form and license classifier are deprecated. Build is warning-free. - README links are absolute so they work on the PyPI project page, and install instructions use `pip install slopbench`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011GFY8v4QeVYzawpSLcJCzz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Broken install fixed. The
[pkgguard]extra depended on the PyPI namepkgguard, which doesn't exist, sopip install "slopbench[pkgguard]"failed. PyPI refused to register that bare name for the real package because it is too similar to the existingpkg-guard, which makes it unlikely anyone else could register it either. Even so, a dependency should never point at a name you don't own. The extra now names the published distribution,blvkware-pkgguard>=0.1.2. I installed it live and ran slopbench's registry checks through it against PyPI, npm and crates.io.Provider fix. The
anthropicprovider senttemperatureon every request. Current Claude models reject it with HTTP 400, so every sample failed and no report was written. Now, on that specific 400, the provider dropstemperaturefor the rest of the run. It records the change on each sample and in the cache, and the CLI, HTML and Markdown reports state how many samples ran at the model's default sampling.max_tokensis raised to 16000 because always-on thinking counts against the same limit.PyPI release.
.github/workflows/release.ymlpublishes on av*tag through PyPI trusted publishing, so no token is stored anywhere. Before publishing it runs the tests, checks that the tag matches__version__, and runstwine check --strict. The package metadata now uses an SPDX license expression, so the build has no warnings.Docs and discoverability.
pip install slopbench, absolute links so they work on PyPI, current Claude model in the example,OPENAI_API_KEYfallback, prompt counts, and an FAQ.CITATION.cffandAGENTS.md.Agent permissions.
.claude/settings.jsonlets Claude Code sessions run pip installs and use the repo's.venv.Verification
After merge
Create a GitHub release with tag
v0.1.0onmain. That starts the release workflow, which publishes to PyPI.🤖 Generated with Claude Code
https://claude.ai/code/session_011GFY8v4QeVYzawpSLcJCzz