Skip to content

v3 import: recognition, installer, UI - #7

Merged
krod7 merged 6 commits into
krod7:mainfrom
keeganirish:keegan/v3-import
Nov 3, 2026
Merged

krod7 merged 6 commits into
krod7:mainfrom
keeganirish:keegan/v3-import

Conversation

@keeganirish

Copy link
Copy Markdown
Collaborator

Brings the v3 work (previously only in zip files) into the repo as real commits. This includes PR 1 and PR 2, so merge those first.

Contents:

  • Better OCR and shape recognition, plus an accuracy benchmark and new tests
  • Launcher, installers and release workflow
  • UI overhaul and README update
  • File modes normalized, and pytest moved to requirements-dev.txt

Tests: 157 passed, 6 failed, 15 skipped.

Changes to make v3 fit main's existing tests:

  • Wide boxes (like 360x100) were being rejected as arrows. They are now kept.
  • Terminal shapes can be wider (aspect cap raised from 3.5 to 4.5).
  • tests/drawing.py now draws Start/End shapes as capsules.

keeganirish and others added 6 commits November 3, 2026 14:52
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCyuFJS2RQPz5B3a2moRip
Programming-aware OCR validation, better OCR preprocessing, improved shape
classification and connector reconstruction, plus a flowchart accuracy
benchmark and regression tests with generated fixtures.

Reconciled with main's existing suite:
- shape_contours: only reject high-aspect regions when the short side is
  also small, so wide process/terminal boxes (e.g. 360x100) are kept.
- classify_shape: allow terminal capsules up to aspect 4.5.
- tests/drawing.py: draw terminals as capsules, which is what the
  classifier treats as a terminal.

Known: 6 existing tests still fail because graph_service now infers
connector direction from Start/End terminals (INFERRED_TERMINAL_DIRECTION)
while those tests expect AMBIGUOUS_ARROW_DIRECTION. See PR notes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCyuFJS2RQPz5B3a2moRip
…rements

Overlaps with keegan/installer-and-release-ci; drop this commit if that PR
is merged first. requirements.txt is now runtime-only with version ranges;
pytest moved to requirements-dev.txt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCyuFJS2RQPz5B3a2moRip
The imported v3 files were all marked executable. Restore 644 and keep
the executable bit only on the Linux/Mac install scripts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCyuFJS2RQPz5B3a2moRip
Resolved add/add conflicts in the installer/build files by keeping main's
versions (installer PR #4 is already merged): release.yml, BUILD.md,
assets/modulo.ico, assets/modulo.png, installer/install-unix.sh,
installer/install-windows.ps1, installer/modulo.iss, modulo.spec,
modulo_launcher.py, requirements-build.txt.

Also keep main's requirements.txt unchanged (CI installs pytest from it) and
drop requirements-dev.txt.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GCyuFJS2RQPz5B3a2moRip
@krod7
krod7 merged commit f312b6f into krod7:main Nov 3, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants