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
/
src
/
at
main
3 files
Isaac Corbrey
HelixAnnotation parser + DifferentialTest harness
2mo ago
5af10a05
faithfulness.rs
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
lib.rs
Porter robustness; oracle catches panics Three fixes the corpus build forced out: - strip_comments is now string-literal-aware. The naive version ate `//` occurrences inside Rust string literals (specifically: the surround marker `//` inside indoc!{...} multi-line strings), producing malformed annotations missing their primary marker. - indoc!{} dedent ported correctly: source-first, before Rust escape resolution. `\n` (the escape sequence) does NOT count as a source newline for indent calculation — only real \n bytes do. Backslash line-continuation preserves the trailing whitespace so indoc can see it. - run_case_blocking wraps the oracle in catch_unwind. helix_core::test::print panics on malformed annotations; the binary should keep serving requests after a bad input instead of dying. Corpus jumps 68 → 167 cases.
2 months ago
main.rs
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