Repository navigation
Conversation
This branch has not been deployed
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.
A passage can sound unlike a writer even when its aggregate style-distance label says “close.” This adds sentence-level rhetorical evidence and an optional personal profile that reuses existing passage ratings.
The four measurements cover hypothetical reader prompts, observation prefaces, short/long sentence pairs, and explicit lesson statements. Each returns counts, rates per 1,000 prose words, and exact evidence spans in normalized text. Baseline Delta/contrast features score the original draft, preserving its Markdown structure.
feedback-buildlearns separate voice and revision-effort associations from rated JSONL passages, the existing scores, and the new measurements.feedback-scorereports those estimates with evidence. Profiles embed their base reference and preserve rating IDs, notes, grouping, and text hashes so later judgments can build on earlier feedback. Ordinary build/score behavior is unchanged; there are no new runtime dependencies.Topic metadata is resolved consistently across every passage from a source before fitting; missing topic labels inherit the source’s supplied topic, conflicting assignments are rejected, and source/topic namespaces cannot collide. Grouped development diagnostics hold related passages out together and fit scaling on training groups only. Each target is disabled when it does not beat a mean-only baseline, and estimates are withheld below 75 words.
File I/O uses explicit UTF-8. Non-object JSON profiles produce a normal invalid-profile error. The experimental feedback format is version 2: earlier version-1 feedback profiles must be rebuilt from saved ratings and the base reference because baseline feature semantics changed. Existing judgments need not be repeated. Estimates remain experimental personal associations, not AI-authorship probabilities; feedback used to design features is not independent validation.
Validation:
pytest -n 4— 895 passed, 46 skipped.