Skip to content

Make Extra Fast profile-aware and recognition-first - #30

Merged
Vxiey merged 4 commits into
mainfrom
fix/extra-fast-profile-recognition
Sep 13, 2026
Merged

Vxiey merged 4 commits into
mainfrom
fix/extra-fast-profile-recognition

Conversation

@Vxiey

@Vxiey Vxiey commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes Extra Fast behaving like one generic line/scanline policy across unrelated targets and drawing styles.

1. Target-profile binding

  • Adds ExtraFastProfilePolicy.py.
  • Binds Extra Fast renderer defaults to the active target profile (Paint, Gartic Phone, Skribbl Fast/quality, Gartic.io, SketchHeads, Sketchful, Drawize, Kleki, Magma, generic).
  • Target policies now explicitly control speed/precision, planning resolution, palette reduction/color ceiling, background simplification and detail policy.
  • Keeps profile calibration/native-input safety isolated; this is planner policy only.

2. Drawing-style binding

  • Uses the already-resolved deterministic Drawing Style classification.
  • Pixel Art locks exact pixel/component behavior (Pixel Accurate, no simplification, exact color, no generic stroke cap).
  • Line Art routes to connected contour sketch behavior.
  • Logo/Cartoon prioritize large flat regions and silhouettes.
  • Portrait/Photo use regional structure/tone priorities rather than a generic line soup.
  • Generic legacy Auto callers retain the previous adaptive_detail=Auto fallback.

3. ETA + recognition diagnostics

  • Does not add a second fake ETA multiplier. The existing DrawTimeEstimate already costs the final execution sequence including travel, color changes, brush changes, Fill and verification; changing the actual selected plan therefore changes ETA truthfully.
  • Adds extra_fast_strategy_meta with the active target/style/engine/fill/palette policy and exact ETA model.
  • Populates the existing extra_fast_v2_meta.path_policy with RECOGNITION-FIRST/<profile>/<style>/<engine> so the Preview workspace summary and session plan log show why the renderer was selected.

Regression coverage

Adds focused tests for Gartic Phone, Skribbl Fast, Paint, Pixel Art, Line Art, ETA strategy metadata and generic compatibility.

No AI/model/network dependency is introduced.

@Vxiey
Vxiey merged commit e24501e into main Sep 13, 2026
6 checks passed
@Vxiey
Vxiey deleted the fix/extra-fast-profile-recognition branch September 13, 2026 15:00
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.

1 participant