Skip to content

Scenarios

Definition

Scenarios are more programmatic and complex methods for selecting Holes and their corresponding Strokes that are generated as clips

Structure

javascript
None: 0,
BelowParEndHoles: 1,
Skills: 2,
BestDrives: 3,
Streak: 4,
Comeback: 5,

Highlight: 20,

BelowParEndHoles

Looking at the last 5 holes that a player played where they scored below par. For every valid hole, all strokes on that hole will be returned as clips

Skills

Diverse set of scores and stroke types that are considered 'skillful'

  • Hole in one. The individual stroke is added as a clip
  • Eagle or better. All strokes in this hole are added as clips
  • Drives that are at least 350 yards in length. The individual stroke is added as a clip
  • Strokes from the bunker that land in/within 3 feet of the hole. The individual stroke is added as a clip
  • Strokes that travel 150 yards and that land in/within 8 feet of the hole. The individual stroke is added as a clip

Best Drives

Returns Drives that meet different criteria. Only the individual drive is added as a clip

  • Hole in one.
  • Travelled at least 350 yards in length
  • Occur on a Par 4 or higher hole, and land on the Green

Streaks

Identifies sequential holes (in play order) that are all below par. At least 2 sequential below par holes will constitute a valid sequence. Every stroke per hole is added as a clip

Comebacks

Identifies a hole that is above par, immediately followed by subsequent holes (in play order) that are all below par. 1 above par hole followed by at least 1 subsequent below par holes will constitute a valid sequence. Every stroke per hole is added as a clip

Highlights

A combination of all of the preceding Scenario types.