Tier 1 Series 7

7G: The Scout Exam

Capstone Exam
Pilot Record
Student Profile
"The AI has generated a "Flight Recorder" that is technically functional but visually chaotic. Identify the **three critical syntax failures** to ensure this script is pilot-ready."

Target Asset for Audit

FRAGILE_CODE_DETECTED
using UnityEngine;
using System.Collections.Generic;

public class FlightRecorder : MonoBehaviour {
    // Audit Requirement: Lesson 7A (Exposed Wires)
    public List<Vector3> log_data = new List<Vector3>();

    void Update() {
        // Audit Requirement: Lesson 7C (Magic Number Fog)
        if (Time.time > 0.5f) { 
            RecordPosition();
        }
    }

    void RecordPosition() {
        log_data.Add(transform.position);
    }

    // Audit Requirement: Lesson 7F (Structural Clutter)
    // There are 50 more methods below this line with no organization...
}

Supervisor's Certification

Authenticated Pilot
pilot_657388f787c0d1b4
Session Secure

Failure Point #1

Access Modification

Command the AI to make the log collection private. Ensure it remains visible in the Inspector for the Pilot.

Failure Point #2

Magic Number Eviction

Command the AI to replace the 0.5f threshold with a named constant to explain what that timing represents.

Failure Point #3

Regional Scaffolding

Command the AI to organize the script using #region blocks to prevent "Navigational Friction."