Skip to content

docs(audits): --stats output format byte-for-byte audit (#2111) - #3971

Merged
oferchen merged 1 commit into
masterfrom
docs/stats-format-audit-2111
May 13, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/stats-format-audit-2111

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Byte-for-byte audit comparing oc-rsync --stats output against upstream rsync 3.4.1 output_summary() in main.c:416-465
  • Audits both output sites: the TransferStats::Display impl in the protocol crate and the emit_stats()/emit_totals() functions in the CLI crate
  • Documents 27 distinct discrepancies across number formatting, conditional emission, sub-category breakdowns, rate calculation, and locale handling
  • Includes --human-readable interaction matrix showing the off-by-one semantic gap between upstream levels and oc-rsync modes

Test plan

  • Verify audit document renders correctly on GitHub
  • Cross-reference discrepancy list against existing stats-block-format-audit.md for consistency
  • Confirm upstream source references match the C code at target/interop/upstream-src/rsync-3.4.1/

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 13, 2026
@oferchen
oferchen merged commit 2abb099 into master May 13, 2026
8 checks passed
@oferchen
oferchen deleted the docs/stats-format-audit-2111 branch May 13, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant