v1.0.0 #21
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 281 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #21"
general
weight: 0.35
chshersh
1.0.0
1.0.0 is a complete rewrite of ansifmt.
At this stage, ansifmt has been fully rewritten. It now includes a test suite. This version is entirely incompatible with ansifmt 0.3.0 and older. Notably, some of its features were purposefully lost in this rewrite.
Users should expect a new library on top of this one to replace them in the future.
Changes
ansifmtis now split in two modules:Ansi, which provides APIs for escape sequences (inAnsi), attributes as a low-level representation (inAnsi.Attribute) and terminal-compatible colors (inAnsi.Color), andFmt, which provides a pretty-printable string API built on top ofAnsi.ColorAPI has been simplified. Colors can now be constructed using built-in integers ; they will be normalized-on-demand.Advancedis now calledBasic.Minimalhas been dropped as it is already covered byBasic, assuming that modern terminal emulators support 8-bit colors.StylingAPI (now calledAnsi) has been tremendously simplified and is now based on a choice type instead of a record type.parse_hexis nowof_hex_repr.Features
FmtAPI is available, which allows to construct strings with specific parts stylized usingAnsi. This includes a convenient function,Fmt.print, to print in the terminal, stripping escape sequences when the output channel is not a TTY (by default -- this is configurable).rgb(r, g, b).Ansi,Attributes,ColorandFmtobjects are serializable.Ansiobjects are now deserializable.Removed
FormattingAPI has been fully dropped. We estimate thatansifmtis not the right place to put this in. Instead, we are working on another library, built on top ofansifmt, that will provide these features in an improved manner.IOAPI has been removed followingFormatting.Performance
No benchmark has been done, so this should be taken with a grain of salt, but it is likely that the new version exhibits better performance, due to simplification of implementation and lightening of the library overall.