Repository navigation
Skillloop improvements - #1
Merged
Merged
Conversation
…, automated verification re-runs - Replace the question-word filter with a task/create/knowledge/creative intent classifier. Tasks phrased as questions now get their skills (held-out Q: 2/14 -> 14/14). - Creation requests only fire authoring-scoped skills (R1 D traps: 8/14 -> 14/14). - recall_for_error(): match raw error output against recorded symptoms; verbatim symptom matches can only be vetoed by verbatim not_for entries (held-out S: 12/14 -> 14/14). - Session: failed tool calls queue matching skills for the next step (hints/hints_text/on_hint). - One shared generic word no longer fires a skill, unless it is an anchor and the user reports a problem. - Strong embedding matches bypass the anchor rule (paraphrase rescue; SKILLLOOP_EMBED_STRONG). - run_pending_evals(runner): automated verification re-runs promote candidates to active. - Warn once when traces queue with nothing processing them; SKILLLOOP_AUTO_PROCESS env. - Offline demo now shows the loop closing; qa/run_r2.py + held-out probes; tests/test_purpose.py.
…ed gates - generator.py: library with 6 of 9 generic conventions per seed; 18 train / 18 trap test / 3 no-trap tasks. - harness.py: fence-safe extraction, truncation = harness error, sandboxed execution, identical episodes. - run.py: control (x2, null check), oracle, simple memory, REAL SkillLoop; gates; McNemar exact; verdict. - --selfcheck validates everything without a model; PROTOCOL.md fixed before any model run.
- qa/conv_eval/resume.py: every episode cached; restart resumes (survives stopped processes, rate limits) - skillloop/llm.py: each client starts on a random key in the pool - RESULTS.md + raw episodes + learned skills for seed 2; partial seed 3 - Result: SkillLoop 61% vs control 17% (8/0, p=0.008); vs simple memory 56% (4/3, p=1.0)
tests/test_conv_eval.py imports qa.conv_eval.*, but pyproject excludes qa from the installed packages, so it resolves only when the repository root is on sys.path. Pytest guarantees that for the rootdir conftest directory, making the import behave identically locally and in CI.
test_key_rotation asserts that rotation starts at key 0, but the new key-pool spreading started each client on a random key, so the test passed or failed depending on the draw and CI was flaky. The random offset is now opt-in via SKILLLOOP_SPREAD_KEYS=1, with a deterministic default of key 0, keeping load-spreading available without the flake. Also removes the temporary workflow and output files used to capture the Linux-only failure.
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.
No description provided.