alpha
Login
or
Join now
isaaccorbrey.com
/
helicase
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Helix keybinds for JetBrains products
modal-editor
helix
jetbrains
plugin
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
helicase
/
oracle
/
at
main
2 folders
2 files
Isaac Corbrey
HelixAnnotation parser + DifferentialTest harness
2mo ago
5af10a05
src
HelixAnnotation parser + DifferentialTest harness Kotlin port of helix_core::test::print and ::plain for the #[anchor|head]# / #(...)# annotated state format, with 4 tests mirroring helix-core's own examples (forward/backward ranges, multi-cursor). DifferentialTest loads cases/from_helix.json, runs each case through both oracle and engine, compares the annotated outputs. Per-source-file pass tally; regression floor enforced (will ratchet up as commands land). Also silences helix-term's setup_integration_logging, which writes log records to STDOUT (not stderr — surprising). Any JSON-on-stdout client gets log lines mixed into responses without this. Default HELIX_LOG_LEVEL=off at the oracle's main(); the env var can override for debugging.
2 months ago
tests
Add determinism fuzz harness Random keypress sequences from a curated vocabulary (motions, edits, textobjects, counts, exits — no file ops or shell-out). Each case runs twice; outputs must be byte-identical. 2000 cases pass with zero panics and zero non-determinism, single-threaded ~12ms/case. Seed printed for reproducibility; HELICASE_FUZZ_CASES env var overrides default.
2 months ago
Cargo.lock
HelixAnnotation parser + DifferentialTest harness Kotlin port of helix_core::test::print and ::plain for the #[anchor|head]# / #(...)# annotated state format, with 4 tests mirroring helix-core's own examples (forward/backward ranges, multi-cursor). DifferentialTest loads cases/from_helix.json, runs each case through both oracle and engine, compares the annotated outputs. Per-source-file pass tally; regression floor enforced (will ratchet up as commands land). Also silences helix-term's setup_integration_logging, which writes log records to STDOUT (not stderr — surprising). Any JSON-on-stdout client gets log lines mixed into responses without this. Default HELIX_LOG_LEVEL=off at the oracle's main(); the env var can override for debugging.
2 months ago
Cargo.toml
Extract library; add canonical-Helix faithfulness tests Move types and run_case into lib.rs so the same code path can be driven by the stdio bin AND by integration tests. Add 11 tests ported verbatim from helix-term/tests/test/movement.rs that assert byte-identical output against Helix's own hardcoded expectations. Supports both plain-text initial state (initial_text/initial_selections) and Helix-annotated state (initial_helix). The annotated round-trip output is included in every response for compact diffing.
2 months ago