lcode-cli 0.57.0__tar.gz → 0.58.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/CHANGELOG.md +22 -1
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/PKG-INFO +1 -1
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/bench.md +34 -9
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/quickstart.md +1 -1
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/__init__.py +1 -1
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/bench.py +41 -25
- lcode_cli-0.58.0/src/lcode/bench_budgets.py +442 -0
- lcode_cli-0.58.0/src/lcode/bench_dedupe.py +285 -0
- lcode_cli-0.58.0/src/lcode/bench_flaky.py +291 -0
- lcode_cli-0.58.0/src/lcode/bench_logsum.py +317 -0
- lcode_cli-0.58.0/src/lcode/bench_quotes.py +760 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/cli.py +8 -4
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_bench.py +33 -1
- lcode_cli-0.58.0/tests/test_bench_work.py +424 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.editorconfig +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/CODEOWNERS +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/ISSUE_TEMPLATE/model_request.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/dependabot.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/workflows/ci.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/workflows/docs.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.github/workflows/release.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.gitignore +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/.pre-commit-config.yaml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/AGENTS.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/CODE_OF_CONDUCT.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/CONTRIBUTING.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/LICENSE +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/README.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/SECURITY.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/action.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/agents.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/assets/demo.svg +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/assets/extra.css +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/assets/film-fox-and-kitten.jpg +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/assets/long-clip-tulip.jpg +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/automation.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/changelog.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/commands.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/configuration.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/contributing.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/editors.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/git.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/hooks.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/how-it-works.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/index.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/installation.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/lsp.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/mcp.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/memory.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/models.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/modes.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/public-benchmarks.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/sandbox.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/search.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/servers.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/traces.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/troubleshooting.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/docs/usage.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/examples/README.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/examples/api/fix_tests.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/examples/commands/review.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/examples/skills/commit-message/SKILL.md +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/examples/skills/commit-message/scripts/staged.sh +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/install.sh +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/mkdocs.yml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/overrides/main.html +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/pyproject.toml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/scripts/make_logos.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/scripts/record_demo.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/scripts/social-preview.html +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/__main__.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/acp.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/action.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/agent.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/api.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/assistant.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/backends.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/bench_backend.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/bench_runtime.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/catalog.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/checkpoints.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/checks.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/clipboard.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/cloud.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/codesearch.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/comfy.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/config.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/context.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/edits.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/escalate.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/extensions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/film.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/frontmatter.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/gitflow.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/harbor.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/harbor_bench.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/hardware.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/hooks.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/imageopts.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/jobs.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/limits.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/lsp.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/manual.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/matching.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/__init__.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/auth.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/catalog.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/catalog.toml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/client.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/commands.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/config.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/http.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/manager.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/protocol.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/server.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/mcp/stdio.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/media.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/media.toml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/media_catalog.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/media_cloud.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/memory.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/models.toml +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/modes.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/notify.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/ollama.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/permissions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/planning.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/preview.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/render.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/repeats.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/repl.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/replay.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/repoid.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/repomap.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/residency.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/review.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/sandbox.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/screenshots.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/secretscan.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/servers/__init__.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/servers/encord.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/servers/valohai.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/servers/xai.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/sessions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/steer.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/subagents.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/tools.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/traces.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/unreachable.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/update.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/vision.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/web.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/__init__.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/flux2-klein-4b-t2i.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/remove-background.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/smooth-film.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/sound-stable-audio.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/upscale-esrgan.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/upscale-video-esrgan.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/wan21-fun-camera.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/wan21-vace.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/wan22-fun-inp-5b.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/wan22-ti2v-5b.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/src/lcode/workflows/z-image-turbo-t2i.json +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/comfy_standin.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/conftest.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/fake_lsp_server.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/fake_mcp_server.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_acp.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_action.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_agent.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_api.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_assistant.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_backends.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_catalog.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_checkpoints.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_checks.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_cli.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_clipboard.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_cloud.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_codesearch.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_comfy.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_config.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_context.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_context_picker.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_conversations.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_escalate.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_extensions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_film.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_gitflow.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_gpu_handover.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_harbor_bench.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_hooks.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_image_edit.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_image_generate.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_jobs.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_long_clips.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_look.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_lsp.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_manual.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_matching.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_mcp.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_media_catalog.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_media_cloud.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_memory.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_model_picker.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_modes.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_permissions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_plan_mode.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_repeats.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_repomap.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_residency.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_review.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_robustness.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_sandbox.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_screenshots.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_secretscan.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_servers.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_sessions.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_steer.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_stuck.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_subagents.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_tools.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_traces.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_update.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_video.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_vision.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_web.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/tests/test_xai.py +0 -0
- {lcode_cli-0.57.0 → lcode_cli-0.58.0}/uv.lock +0 -0
|
@@ -6,6 +6,26 @@ All notable changes to lcode are documented here. The format follows
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.58.0] - 2026-11-02
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **Six longer tasks in `lcode bench`** (#199), closer to real work, after the eight quick ones:
|
|
14
|
+
a command-line tool built from a spec (`cli-tool`), a test that fails now and then (`flaky-test`),
|
|
15
|
+
a bug reported only by its symptom in a 47-file repository (`repo-bug`), a feature across modules
|
|
16
|
+
with older data files still working (`wide-feature`), a slow job made fast with the same output
|
|
17
|
+
(`fast-dedupe`), and a bug that shows only when the code runs (`runtime-bug`, until now only with
|
|
18
|
+
`--tasks`). Each check runs on data or tests the model never saw. With
|
|
19
|
+
qwen3.6-35b at 32K on a 12 GB laptop GPU, 14 of 18 attempts passed: none at `runtime-bug`, and 2
|
|
20
|
+
of 3 at `fast-dedupe`, where after lcode made room in the context the model lost track and
|
|
21
|
+
repeated itself until the loop breaker stopped it.
|
|
22
|
+
- `lcode bench --quick` runs only the eight quick tasks, once each, as `lcode bench` did before 0.57.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- In `lcode bench`, the longer tasks stop after 10 minutes and the quick ones after 5. `--timeout`
|
|
27
|
+
sets one limit for all.
|
|
28
|
+
|
|
9
29
|
## [0.57.0] - 2026-11-02
|
|
10
30
|
|
|
11
31
|
### Changed
|
|
@@ -1222,7 +1242,8 @@ First public release.
|
|
|
1222
1242
|
- `AGENTS.md` project instructions and `/init` to generate them.
|
|
1223
1243
|
- One-line installer for Linux and macOS.
|
|
1224
1244
|
|
|
1225
|
-
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.
|
|
1245
|
+
[Unreleased]: https://github.com/nasser1941/lcode/compare/v0.58.0...HEAD
|
|
1246
|
+
[0.58.0]: https://github.com/nasser1941/lcode/compare/v0.57.0...v0.58.0
|
|
1226
1247
|
[0.57.0]: https://github.com/nasser1941/lcode/compare/v0.56.0...v0.57.0
|
|
1227
1248
|
[0.56.0]: https://github.com/nasser1941/lcode/compare/v0.55.0...v0.56.0
|
|
1228
1249
|
[0.55.0]: https://github.com/nasser1941/lcode/compare/v0.54.0...v0.55.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: lcode-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.58.0
|
|
4
4
|
Summary: A local-first terminal coding agent powered by open-weight models on your own GPU or Mac, via Ollama.
|
|
5
5
|
Project-URL: Homepage, https://nasser1941.github.io/lcode/
|
|
6
6
|
Project-URL: Documentation, https://nasser1941.github.io/lcode/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Benchmarking models
|
|
2
2
|
|
|
3
3
|
`lcode bench` answers the most common question about local models: *which one works best for
|
|
4
|
-
coding on my machine?* It runs a fixed set of
|
|
5
|
-
|
|
4
|
+
coding on my machine?* It runs a fixed set of coding tasks against one or more models, three times
|
|
5
|
+
each, and reports how many they solved, how fast they ran and how much memory they used.
|
|
6
6
|
|
|
7
7
|
To compare with other agents on public benchmarks (Terminal-Bench 2.0 and SWE-bench Verified),
|
|
8
8
|
see [Public benchmarks](public-benchmarks.md).
|
|
@@ -11,6 +11,7 @@ see [Public benchmarks](public-benchmarks.md).
|
|
|
11
11
|
lcode bench # the configured model
|
|
12
12
|
lcode bench qwen3.6-35b qwen3.5-9b # compare models
|
|
13
13
|
lcode bench --tasks fix-bug,rename # run some of the tasks
|
|
14
|
+
lcode bench --quick # only the eight quick tasks, once each
|
|
14
15
|
lcode bench --attempts 1 # each task once: quicker, but within the noise
|
|
15
16
|
lcode bench --json results.json # also save machine-readable results
|
|
16
17
|
lcode bench --markdown # also print a table to paste into a test report
|
|
@@ -40,7 +41,8 @@ lcode-qwen3.6-35b · 32K context · reasoning on · 8 tasks · 3 attempts each
|
|
|
40
41
|
|
|
41
42
|
At the end it prints a table comparing the models (see [results](#results-on-a-12-gb-laptop) below).
|
|
42
43
|
|
|
43
|
-
A model usually takes 4 to 12 minutes per attempt; each
|
|
44
|
+
A model usually takes 4 to 12 minutes per attempt at the quick tasks; each stops after 5 minutes,
|
|
45
|
+
and the [longer tasks](#longer-tasks) after 10 (`--timeout` sets one limit for all).
|
|
44
46
|
|
|
45
47
|
### Three attempts at each task
|
|
46
48
|
|
|
@@ -62,12 +64,10 @@ summary, a task's time is that of one attempt, on average, and *Time* is the tot
|
|
|
62
64
|
### More tasks and features
|
|
63
65
|
|
|
64
66
|
`--tasks find-concept` adds a task in a larger repository: 40 files of a small backend where the
|
|
65
|
-
model has to find a function by what it does.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
`--code-search` indexes each task's folder for [semantic search](search.md#semantic-code-search);
|
|
70
|
-
both are off in `lcode bench` by default, for the same reason.
|
|
67
|
+
model has to find a function by what it does. It's there to measure `--repo-map`, which gives the
|
|
68
|
+
model the [repository map](search.md), and `--code-search`, which indexes each task's folder for
|
|
69
|
+
[semantic search](search.md#semantic-code-search). Both are off in `lcode bench` by default, so
|
|
70
|
+
results compare across machines and versions.
|
|
71
71
|
|
|
72
72
|
### A second try, and a stronger model
|
|
73
73
|
|
|
@@ -132,6 +132,8 @@ Every task runs in a new temporary folder, with every permission granted (`yolo`
|
|
|
132
132
|
access off, and ends with an automatic check. The folders are deleted afterwards unless you pass
|
|
133
133
|
`--keep`, which also keeps each task's transcript (`lcode-bench.log`).
|
|
134
134
|
|
|
135
|
+
### Quick tasks
|
|
136
|
+
|
|
135
137
|
| Task | The model has to | Passes when |
|
|
136
138
|
|---|---|---|
|
|
137
139
|
| `fix-bug` | Find and fix a bug so the failing unit tests pass | The tests pass and the test file is unchanged |
|
|
@@ -148,6 +150,29 @@ reading and are where smaller models tend to slip. The checks are deterministic
|
|
|
148
150
|
by hard-coding: for example, `write-script` reruns the script on new data, and `rename`, `spec-fix`
|
|
149
151
|
and `feature` are checked with tests the model never saw.
|
|
150
152
|
|
|
153
|
+
### Longer tasks
|
|
154
|
+
|
|
155
|
+
Good models now get every quick task right: qwen3.6-35b passed all 24 attempts. Four longer tasks,
|
|
156
|
+
closer to real work, tell good models from great ones:
|
|
157
|
+
|
|
158
|
+
| Task | The model has to | Passes when |
|
|
159
|
+
|---|---|---|
|
|
160
|
+
| `cli-tool` | Write `logsum.py`, which summarizes web server logs, from a spec: options, text and JSON output, standard input, malformed lines, unreadable files and exit codes | 14 runs on logs it never saw give the same output and exit status as a reference implementation |
|
|
161
|
+
| `flaky-test` | Find why a test fails in about half the runs, with the same code, and fix it without changing the tests | The original tests pass under 24 hash seeds, and so does a hidden test of the order the code promises |
|
|
162
|
+
| `repo-bug` | Fix a bug reported only by its symptom (a second quote gets the first one's shipping cost) in a 47-file repository, keeping its lookups cached | Hidden tests of the report, of the same cause elsewhere and of the cache pass, and so do the repository's own tests |
|
|
163
|
+
| `wide-feature` | Add monthly budgets to an expense tracker: a new command, the report in text and JSON, and the data file, with older data files still working | Its tests pass, and a scripted session from an older data file gives exactly the expected output |
|
|
164
|
+
| `fast-dedupe` | Make a job that merges duplicate customer records fast, from hours to seconds for 200,000 records, without changing its output | On 60,000 records it never saw, it finishes within a minute and its output is the old job's, byte for byte |
|
|
165
|
+
| `runtime-bug` | Fix a camera wall whose window grows taller with every video frame and can't be made smaller again. Reading the code suggests band-aids; running it shows the cause | A hidden test: the window keeps its size, can be made smaller, and the video fits its cell |
|
|
166
|
+
|
|
167
|
+
qwen3.6-35b at 32K passed 14 of the 18 attempts: all of them at the first four, 2 of 3 at
|
|
168
|
+
`fast-dedupe` (in the third, after lcode made room in the context, the model lost track and repeated
|
|
169
|
+
itself until the loop breaker stopped it) and none at `runtime-bug`, where it settled for band-aids.
|
|
170
|
+
|
|
171
|
+
Each rewards what a careful developer does: reading the whole spec, running a flaky test more than
|
|
172
|
+
once, fixing the cause rather than the symptom, trying old data, and comparing the new output with
|
|
173
|
+
the old. The longer tasks stop after 10 minutes instead of 5. `--quick` leaves them out and runs the
|
|
174
|
+
quick tasks once, as `lcode bench` did before 0.57.
|
|
175
|
+
|
|
151
176
|
## What's measured
|
|
152
177
|
|
|
153
178
|
| | |
|
|
@@ -39,6 +39,7 @@ from lcode.ollama import Ollama, OllamaError
|
|
|
39
39
|
SCHEMA_VERSION = 1
|
|
40
40
|
DEFAULT_CONTEXT = 32768 # the same everywhere, so results compare across machines
|
|
41
41
|
DEFAULT_TIMEOUT = 300 # seconds per task
|
|
42
|
+
LONGER_TIMEOUT = 600 # for the longer tasks, which take a strong model up to five minutes
|
|
42
43
|
DEFAULT_ATTEMPTS = 3 # each task's attempts: one run is within the noise between runs
|
|
43
44
|
CHECK_TIMEOUT = 60
|
|
44
45
|
PROBE_WORDS = 3000 # about 4,000 tokens
|
|
@@ -65,6 +66,7 @@ class Task:
|
|
|
65
66
|
prompt: str
|
|
66
67
|
files: dict[str, str]
|
|
67
68
|
check: Callable[[Path, str], Check] # (task folder, the model's final answer) -> result
|
|
69
|
+
timeout: float = DEFAULT_TIMEOUT # seconds before it stops, unless --timeout says otherwise
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
# ----------------------------------------------------------------------------- helpers for checks
|
|
@@ -747,32 +749,41 @@ TASKS = [
|
|
|
747
749
|
|
|
748
750
|
|
|
749
751
|
def extra_tasks() -> list[Task]:
|
|
750
|
-
"""Tasks that only run when asked for with --tasks (
|
|
751
|
-
from lcode import bench_backend
|
|
752
|
+
"""Tasks that only run when asked for with --tasks (for optional features such as --code-search)."""
|
|
753
|
+
from lcode import bench_backend
|
|
754
|
+
|
|
755
|
+
return [Task("find-concept", "Find code by what it does (40 files)", *parts(bench_backend))]
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
def work_tasks() -> list[Task]:
|
|
759
|
+
"""Tasks closer to real work, after the quick ones: longer, and where good models still slip."""
|
|
760
|
+
from lcode import bench_budgets, bench_dedupe, bench_flaky, bench_logsum, bench_quotes, bench_runtime
|
|
752
761
|
|
|
753
762
|
return [
|
|
754
|
-
Task(
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
),
|
|
761
|
-
Task(
|
|
762
|
-
"runtime-bug",
|
|
763
|
-
"Fix a bug that shows only when it runs",
|
|
764
|
-
bench_runtime.PROMPT,
|
|
765
|
-
bench_runtime.FILES,
|
|
766
|
-
bench_runtime.check,
|
|
767
|
-
),
|
|
763
|
+
Task("cli-tool", "Build a tool from a spec", *parts(bench_logsum), LONGER_TIMEOUT),
|
|
764
|
+
Task("flaky-test", "Find why a test is flaky", *parts(bench_flaky), LONGER_TIMEOUT),
|
|
765
|
+
Task("repo-bug", "Fix a bug in a 47-file repo", *parts(bench_quotes), LONGER_TIMEOUT),
|
|
766
|
+
Task("wide-feature", "Add a feature across modules", *parts(bench_budgets), LONGER_TIMEOUT),
|
|
767
|
+
Task("fast-dedupe", "Make a slow job fast, same output", *parts(bench_dedupe), LONGER_TIMEOUT),
|
|
768
|
+
Task("runtime-bug", "Fix a bug that shows only when it runs", *parts(bench_runtime), LONGER_TIMEOUT),
|
|
768
769
|
]
|
|
769
770
|
|
|
770
771
|
|
|
772
|
+
def parts(module) -> tuple:
|
|
773
|
+
"""A task module's prompt, files and check."""
|
|
774
|
+
return module.PROMPT, module.FILES, module.check
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
def default_tasks() -> list[Task]:
|
|
778
|
+
"""What `lcode bench` runs: the quick tasks, then the longer ones."""
|
|
779
|
+
return [*TASKS, *work_tasks()]
|
|
780
|
+
|
|
781
|
+
|
|
771
782
|
def select_tasks(ids: str | None) -> list[Task]:
|
|
772
783
|
if not ids:
|
|
773
|
-
return
|
|
784
|
+
return default_tasks()
|
|
774
785
|
wanted = [i.strip() for i in ids.split(",") if i.strip()]
|
|
775
|
-
known = {task.id: task for task in [*
|
|
786
|
+
known = {task.id: task for task in [*default_tasks(), *extra_tasks()]}
|
|
776
787
|
unknown = [i for i in wanted if i not in known]
|
|
777
788
|
if unknown:
|
|
778
789
|
raise ValueError(f"unknown task(s) {', '.join(unknown)}; choose from {', '.join(known)}")
|
|
@@ -1082,7 +1093,7 @@ def run_model(
|
|
|
1082
1093
|
settings: Settings,
|
|
1083
1094
|
tasks: list[Task],
|
|
1084
1095
|
console: Console,
|
|
1085
|
-
timeout: float =
|
|
1096
|
+
timeout: float | None = None,
|
|
1086
1097
|
keep: bool = False,
|
|
1087
1098
|
verbose: bool = False,
|
|
1088
1099
|
session: bool = False,
|
|
@@ -1133,6 +1144,7 @@ def run_model(
|
|
|
1133
1144
|
pruned, compacted = pruned + shared.pruned, compacted + shared.compacted
|
|
1134
1145
|
shared = None
|
|
1135
1146
|
for task in tasks:
|
|
1147
|
+
limit = timeout or task.timeout # --timeout, or the task's own
|
|
1136
1148
|
log = console if verbose else Console(file=io.StringIO(), width=120, force_terminal=False)
|
|
1137
1149
|
if session and shared is None:
|
|
1138
1150
|
shared = Agent(ollama, settings, Path(tempfile.gettempdir()), console=log)
|
|
@@ -1141,10 +1153,10 @@ def run_model(
|
|
|
1141
1153
|
try:
|
|
1142
1154
|
if verbose:
|
|
1143
1155
|
console.rule(f"{task.id}: {task.title}")
|
|
1144
|
-
result = run_task(ollama, settings, task,
|
|
1156
|
+
result = run_task(ollama, settings, task, limit, log, keep, run.usage, shared, retry)
|
|
1145
1157
|
else:
|
|
1146
1158
|
with console.status(Elapsed(f" {task.id:<13} {task.title}")):
|
|
1147
|
-
result = run_task(ollama, settings, task,
|
|
1159
|
+
result = run_task(ollama, settings, task, limit, log, keep, run.usage, shared, retry)
|
|
1148
1160
|
except KeyboardInterrupt:
|
|
1149
1161
|
console.print(" [yellow]Stopped.[/]")
|
|
1150
1162
|
run.interrupted = True
|
|
@@ -1250,7 +1262,7 @@ def report(runs: list[ModelRun], hardware: Hardware, ollama_version: str, server
|
|
|
1250
1262
|
"server": server or f"Ollama {ollama_version}",
|
|
1251
1263
|
"date": dt.datetime.now().astimezone().isoformat(timespec="seconds"),
|
|
1252
1264
|
"hardware": {**asdict(hardware), "description": hardware.describe()},
|
|
1253
|
-
"tasks": [{"id": t.id, "title": t.title} for t in
|
|
1265
|
+
"tasks": [{"id": t.id, "title": t.title} for t in default_tasks()],
|
|
1254
1266
|
"runs": [run.to_json() for run in runs],
|
|
1255
1267
|
}
|
|
1256
1268
|
|
|
@@ -1280,7 +1292,11 @@ def print_tasks(console: Console) -> None:
|
|
|
1280
1292
|
table = Table(title="lcode bench tasks", title_justify="left", header_style="bold")
|
|
1281
1293
|
table.add_column("Task", style="cyan")
|
|
1282
1294
|
table.add_column("What it tests")
|
|
1283
|
-
|
|
1284
|
-
|
|
1295
|
+
table.add_column("Runs", style="dim")
|
|
1296
|
+
for tasks, when in [(TASKS, "always"), (work_tasks(), "not with --quick"), (extra_tasks(), "only with --tasks")]:
|
|
1297
|
+
for task in tasks:
|
|
1298
|
+
table.add_row(task.id, task.title, when)
|
|
1285
1299
|
console.print(table)
|
|
1286
|
-
console.print(
|
|
1300
|
+
console.print(
|
|
1301
|
+
"[dim]--quick runs the quick ones once; --tasks picks some, e.g. lcode bench --tasks fix-bug,rename[/]"
|
|
1302
|
+
)
|