Scouting program framework and testing code