You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose Docxodus comparison settings via Python kwargs
Thread WmlComparerSettings options from Python kwargs through CLI
flags to the Docxodus C# binary. Supports detail_threshold,
case_insensitive, detect_moves, simplify_move_markup,
move_similarity_threshold, move_minimum_word_count,
detect_format_changes, conflate_spaces, and date_time.
- Extract _build_command() in BaseEngine, override in DocxodusEngine
- Add input validation for thresholds and word count
- Update Docxodus CLI to parse --flags (backward compat with legacy format)
- Rebuild all platform binaries with new flag support
- Add 13 new tests (integration, validation, unit)
- Update README with Comparison Settings section
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The system uses a two-layer wrapper pattern with a shared base class:
44
44
-`XmlPowerToolsEngine(BaseEngine)` — sets constants for the Open-XML-PowerTools binary (`dist/`, `bin/`, `redlines`)
45
45
-`DocxodusEngine(BaseEngine)` — sets constants for the Docxodus binary (`dist_docxodus/`, `bin_docxodus/`, `redline`)
46
46
47
-
Both engines share the same CLI argument format: `<author_tag> <original.docx> <modified.docx> <output.docx>`
47
+
Both engines expose `run_redline(author_tag, original, modified, **kwargs)`. `DocxodusEngine` overrides `_build_command()` to translate kwargs (e.g. `detect_moves`, `detail_threshold`) into CLI flags for the Docxodus binary. `XmlPowerToolsEngine` uses the legacy 4-positional-arg format and ignores kwargs.
0 commit comments