Skip to content

Latest commit

 

History

History
144 lines (110 loc) · 3.74 KB

File metadata and controls

144 lines (110 loc) · 3.74 KB

DevSketch Mobile - End-to-End Test Results

Date: December 2, 2025 Tester: Automated (Claude Code + Maestro) Platform: iOS Simulator (iPhone 14, iOS 16.4)


Test Summary

Component Status Details
App Launch PASS Successfully launched on iOS Simulator
Model Loading PASS YOLOv8 custom model loads correctly
UI Detection PASS Detects UI elements with bounding boxes
Code Generation PASS Generates valid Flutter/Dart code
Export Options PASS Copy Code and Export buttons functional

Detailed Test Results

1. Model Performance

Metric Value
Elements Detected 9
Inference Time 312ms
Processing 100% On-device
Average Confidence 85%

2. Detected Element Types

The custom-trained YOLOv8 model successfully identified:

  • Image (logo area) - Purple bounding box
  • Text Input (Email field) - Gray bounding box
  • Text Input (Password field) - Gray bounding box
  • Text Input (Welcome Back header) - Gray bounding box
  • Text (labels) - Orange bounding box
  • Button (SIGN IN) - Gray bounding box
  • Button (CREATE ACCOUNT) - Gray bounding box
  • Text (Forgot Password?) - Orange bounding box

3. Generated Flutter Code

import 'package:flutter/material.dart';

class GeneratedPage extends StatefulWidget {
  const GeneratedPage({super.key});

  @override
  State<GeneratedPage> createState() => _GeneratedPageState();
}

class _GeneratedPageState extends State<GeneratedPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('GeneratedPage'),
        centerTitle: true,
      ),
      body: SafeArea(
        child: SingleChildScrollView(
          padding: const EdgeInsets.all(16),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            children: [
              ElevatedButton(
                onPressed: () {
                  // TODO: Add action
                },
                style: ElevatedButton.styleFrom(
                  minimumSize: Size(300, 74),
                ),
                // ... additional widgets
              ),
            ],
          ),
        ),
      ),
    );
  }
}

4. App Navigation Flow

  1. Home Screen - DevSketch Mobile branding with ARM AI badge
  2. Demo Mode - Sample sketch with "Run AI Detection" button
  3. Detection Results - Bounding boxes overlay on sketch
  4. Code Generation - Flutter code with syntax highlighting
  5. Export Options - Copy to clipboard or export project

Test Environment

  • Device: iPhone 14 Simulator
  • iOS Version: 16.4
  • Xcode Version: 14.3
  • Model: Custom YOLOv8n trained on VINS dataset
  • Model Size: 5.9 MB (CoreML)
  • Training: 50 epochs on Google Colab T4 GPU

Automation Tools Used

  • Maestro v1.33 (Xcode 14 compatible)
  • xcrun simctl for screenshots
  • Claude Code for test orchestration

Known Limitations

  1. Camera in Simulator: Camera capture requires real device; simulator uses demo images
  2. Photo Library: No photo picker implemented yet (camera-only flow)

Conclusion

DevSketch Mobile is ready for ARM AI Challenge 2025 submission.

The app successfully demonstrates:

  • Real-time on-device ML inference
  • Custom UI element detection (12 VINS classes)
  • Automatic Flutter code generation
  • Privacy-first architecture (no cloud required)
  • Fast inference (~312ms per image)

Screenshots

Screenshots saved to /tmp/:

  • main_menu.png - Home screen
  • demo_mode.png - Demo mode with sample sketch
  • after_done.png - Detection results with bounding boxes
  • devsketch_test.png - Generated Flutter code view