Commit Graph

22 Commits

Author SHA1 Message Date
Lasha Efremidze 3a998f6407 Relocate evals and scripts into tooling/
Move the evals/ and scripts/ trees into tooling/ (tooling/evals, tooling/scripts) and update all references accordingly. Adjusted CI workflow, docs (AGENTS.md, CONTRIBUTING.md, evals README), manifests and runner scripts to use the new paths, updated .gitignore, and fixed script path resolution (parents index and ROOT_DIR adjustments) so tooling runs and validations continue to work from their new location.
2026-02-26 00:46:38 -08:00
Lasha Efremidze 07e2c2ef52 reorganized folders 2026-02-25 11:00:39 -08:00
Lasha Efremidze 29aeaabe70 Update release.yml 2026-02-25 00:01:53 -08:00
Lasha Efremidze 776db468c1 Update release.yml 2026-02-25 00:00:53 -08:00
Lasha Efremidze 36e4fc5667 Update release.yml 2026-02-24 23:52:34 -08:00
Lasha Efremidze 44580a7c29 Update release.yml 2026-02-24 23:00:43 -08:00
Lasha Efremidze b5cb77015f Create release.yml 2026-02-24 22:59:02 -08:00
Lasha Efremidze 2e8f293747 Improve test determinism and tooling validation
Make benchmark & corpus tests deterministic and add stricter validation across tooling and CI. Key changes:

- CI: install Python 3.11 in validate-skill workflow.
- Tests: replace nondeterministic sleeps with Task.yield/explicit scheduling, use subjects and collectors, add small TestError enums and helpers, adapt TCA tests to use deterministic stubs and assertions.
- Manifests/corpus: tighten regexes, add semantic description for an intentionally-broken case, and pin upstream SOURCE URLs to specific commits.
- Scripts: use sys.executable for subprocess calls, validate assertion scopes, compile/validate heading regex, better JSON error messages, surface unknown README entries, and improve behavior for architecture assertion format checks.
- Shell validation: detect unclosed Swift fences by parsing filtered blocks and reporting swiftc parse errors.
- Docs: minor CONTRIBUTING guidance and reference updates for clean-architecture and MVI examples.

Overall this commit improves test reliability and hardens validation scripts used by CI and local tooling.
2026-02-24 21:48:01 -08:00
Lasha Efremidze 9e48c73130 Add benchmark/corpus cases and validation scripts
Add many benchmark and real-world corpus cases, update manifest assertions, and introduce validation tooling and CI steps. New files add architecture-focused benchmark cases (clean, mvi, reactive, viper, tca/mvvm adjustments) under quality/benchmarks/cases and several real-world corpus examples under quality/corpus/cases. Added scripts/validate-benchmark-coverage.py to ensure each architecture has positive/negative cases and scripts/run-realworld-corpus-eval.py to invoke the existing runner with a corpus manifest; run-testing-benchmark-suite.py was enhanced to extract Swift code blocks and make architecture assertion evaluation more robust (scoped matching and regex error handling). Updated quality/benchmarks/manifest.json to include new cases, improved regexes (TCA cancellable pattern and MVVM stale-assert), and set architecture fields; docs (AGENTS.md, CONTRIBUTING.md, SOURCES.md) and CI (.github/workflows/validate-skill.yml) were updated to surface and run the new validations.
2026-02-23 16:17:23 -08:00
Lasha Efremidze df1bfb4de0 Add architecture validator and cancellation checks
Add a new architecture consistency validator script and CI job (scripts/validate-architecture-consistency.py + workflow entry) to verify references in swift-architecture-skill. Update docs (AGENTS.md, CONTRIBUTING.md, README.md) to surface the new validation step. Tighten the testing-quality contract to require at least one cancellation/stale-response focused test. Update reference materials: add cancellation-focused async test and blocking stub in clean-architecture, rename a reactive test for clarity, and refactor viper stubs/tests to use an async closure-based interactor plus an extra cancellation behavior test and guidance about using a cancellation-aware presenter.
2026-02-23 15:13:46 -08:00
Lasha Efremidze 87ca7a8558 Add testing quality benchmarks and validators
Introduce a testing-quality benchmark suite and validators: add quality/benchmarks (cases, manifest, SOURCES) and a testing-quality-contract.json; add scripts/run-testing-benchmark-suite.py and scripts/validate-testing-quality.py to run cases and validate playbooks; update CI (.github/workflows/validate-skill.yml) with validate-testing-quality and validate-testing-benchmarks jobs; update docs (README.md, AGENTS.md, CONTRIBUTING.md) to document the new checks; tweak scripts/validate-testing-snippets.sh to accept an optional playbook dir and verify it exists; and update several playbook references to emphasize cancellation handling and deterministic tests. These changes enable automated evaluation of snippet syntax and guidance quality against curated benchmark cases.
2026-02-23 15:06:24 -08:00
Lasha Efremidze 418affa89a added improved testing 2026-02-23 10:58:50 -08:00
Lasha Efremidze a72093d223 Rename agent to skill and update references 2026-02-15 12:36:18 -08:00
Lasha Efremidze ed7b348322 Update validate-skill.yml 2026-02-15 04:24:42 -08:00
Lasha Efremidze f0d0bc416e Update validate-skill.yml 2026-02-15 04:21:39 -08:00
Lasha Efremidze b5e1c0eaff Update validate-skill.yml 2026-02-15 04:21:13 -08:00
Lasha Efremidze 5624c3c286 Update validate-skill.yml 2026-02-15 04:19:14 -08:00
Lasha Efremidze 2f393ef4ae Update validate-skill.yml 2026-02-15 04:10:33 -08:00
Lasha Efremidze 4f858ac3c5 Update validate-skill.yml 2026-02-15 04:06:12 -08:00
Lasha Efremidze fa970fa12c Update validate-skill.yml 2026-02-15 04:03:35 -08:00
Lasha Efremidze 3b64084133 Update validate-skill.yml 2026-02-15 04:02:50 -08:00
Lasha Efremidze b007c9a71f Create validate-skill.yml 2026-02-15 04:01:45 -08:00