CodeFrog
AI Score Improvement & Fix Suggestions
← Back to CodeFrog

AI Score Improvement & Fix Suggestions

CodeFrog’s Mega Report includes AI-powered analysis that runs entirely on-device using Apple Intelligence. It analyzes your report findings and generates prioritized improvement plans and fix suggestions — all without sending any data off your Mac.

Overview

The AI analysis feature has two modes:

  1. AI Score Improvement Plan — Analyzes severity counts across all sections in your report. Identifies the worst-performing section, prioritizes which sections to fix first, and generates a comprehensive plan to improve your grade.

  2. AI Fix Suggestions (per section) — Analyzes individual findings within a specific test section and explains each issue, how to fix it, and its severity impact.

Both modes process everything on-device via Apple’s Foundation Models framework. No data is sent to Apple, cloud services, or any third party.

Requirements

How It Works

On-Device Processing

The feature uses Apple’s Foundation Models framework to run a language model directly on your Mac’s Neural Engine. The model is built into macOS 26 — no separate download, no API key, and no internet connection required.

What Data the AI Sees

The AI receives only minimal, structured data from your report:

Overall mode (Score Improvement Plan):

Section mode (Fix Suggestions):

The AI never sees raw HTML source code, full URLs with credentials, authentication tokens, or personally identifiable information.

Using the AI Score Improvement Plan

  1. Generate a Mega Report and wait for it to complete
  2. In the report header (next to the grade badge), look for the “AI Score Improvement Plan” button with the sparkle icon
  3. Click the button — a loading spinner will appear while the on-device model processes your results
  4. The improvement plan appears in a card below the header, showing:
    • Which sections have the most severe findings
    • Which section to fix first and why
    • Specific severity counts referenced from your scan
    • A prioritized action plan to raise your grade
  5. An attribution label reads “Generated on-device by Apple Intelligence”

Using AI Fix Suggestions for Individual Sections

  1. In a completed Mega Report, expand any section (Accessibility, Security, SEO, etc.)
  2. Look for the “AI Suggest Fixes” button with the sparkle icon within the expanded section
  3. Click the button — suggestions are generated on-device in a few seconds
  4. The fix suggestions appear inline below the button, covering:
    • What each specific issue is (quoting the exact finding from your scan)
    • How to fix it
    • The severity impact
  5. The AI only references issues from your actual scan — it does not give generic advice

Supported Test Sections

AI suggestions work with all 19 Mega Report test sections:

Web Testing: Accessibility, Security, Meta Tags, HTML Validation, SEO, Page Size

Link & Content Analysis: Broken Links, Redirect Analysis, Canonical Validation, Hreflang Validation, Structured Data, Image Optimization, Internal Link Structure, Duplicate Content

Browser-based Testing: Console Errors (JS errors, network failures, CORS issues, CSP violations — desktop only)

Code Analysis: Secrets Detection (Gitleaks), Supply Chain (OSV), Semgrep, OpenGrep

Privacy & Data Handling

Troubleshooting

Button Is Disabled or Grayed Out

“Apple Intelligence is not available”

This appears when:

Check System Settings > Apple Intelligence & Siri to verify status.

AI Returns Generic or Vague Suggestions

Suggestions Do Not Appear

Limitations