Claude
04e19d375c
FEATURE: Implement proper attention masking + update defaults
User-tested calibration based on real-world results.
Key Changes:
1. Fixed box values showing 0 on initial load (JS bug)
- js/RegionalPrompting.js:497-506
- Added setTimeout to trigger region selector callback
- Box widgets now initialize with Region 1 values immediately
2. Updated strength defaults to user-tested values
- RegionalPrompting.py:220-262
- background: 0.4 → 1.0 (user-tested)
- region1: 1.2 → 0.7 (user-tested)
- region2: 1.8 → 0.8 (user-tested)
- region3: 2.2 → 1.5 (user-tested)
- region4: 2.5 (unchanged)
3. Updated tooltips with user-tested ranges
- Changed from "recommended" to "user-tested"
- Changed from placement tips to size/detail tips
- More actionable guidance for users
4. Created comprehensive TESTING_GUIDE.md
- 4 systematic test scenarios for strength calibration
- Prompt engineering tips for size/scale control
- Recommended testing order
- Hypothesis for "tiny bird" issue (likely prompt-related)
User Testing Results (1344x768, Flux, 3 regions):
✅ Car appears (good size) at strength 0.7
✅ Giraffe appears (good size) at strength 0.8
⚠️ Bird appears but TINY at strength 1.5 (needs prompt tweaks)
Next Steps for User:
1. Try Test 1 from TESTING_GUIDE.md (prompt change only)
2. If bird still tiny, try Scenario 1 (boost bird strength to 2.5)
3. Document results for further calibration