golf-apostas

Manages the golf betting card for GWYF rounds, including markets, odds, parlays, and settlement.

Updated May 6, 2026
One-click install
npx skills add https://github.com/BanePlayss/primitivao --skill golf-apostas-baneplayss
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: golf-apostas
Source: https://github.com/BanePlayss/primitivao/tree/main/.claude/skills/golf-apostas
Command: npx skills add https://github.com/BanePlayss/primitivao --skill golf-apostas-baneplayss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It documents how to relaunch or modify the golf (GWYF) betting card in the Primitivão app without rediscovering the data model, odds math, parlay anti-correlation rules, and settlement gates that were already built and adversarially reviewed in season 1. ## Core Features & Use Cases - Data model and markets: Defines gwyf.scores/props/finals in Firestore plus the four markets (WIN, LOSE, HIO, PAR 3-way) with form-based odds via golfOdd and golfWinProbs. - Parlay with anti-correlation: Enforces one leg per player, blocks WIN+LOSE and same-side PAR bundles, and applies a correlation discount (GOLF_CASADA_CORR) in both display and settlement. - Settlement and season rollover: Settles coupons only after the mod finalizes a map (anti-leak gate), handles void legs, and documents the S1-to-S2 reset of scores, roster, and balances. - Use Case: When launching season 2 of the golf championship, follow the TL;DR to zero gwyf scores, update the interests.gwyf roster, verify the schedule, run the adversarial review, and deploy via the build-deploy skill. ## Quick Start Ask the assistant to relaunch the golf betting card for season 2 following the golf-apostas skill, resetting the gwyf scores and updating the roster before deploying.

Frequently Asked Questions about golf-apostas

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I relaunch the golf betting card for a new season?▼

Zero gwyf.scores, gwyf.props, and gwyf.finals, update the roster in the top-level interests.gwyf field, confirm GWYF_SCHEDULE, and set the gwyf championship status to active. The code is already built, so validate with the adversarial review and deploy via the build-deploy skill.

How are golf betting odds calculated from player form?▼

Odds use golfOdd(p) = 1 + (1/p - 1) * 0.85, embedding house margin with no floor or cap. Win probabilities come from golfWinProbs, which normalizes the inverse of each player's average strokes, defaulting to 1/N without history.

What markets does the golf betting card support?▼

Four markets per round: WIN (fewest strokes, single selection), LOSE (most strokes, single selection), HIO (hole-in-one yes/no per player), and PAR (under/even/over 3-way per player). Earlier FINISH, HALFDONE, and HALFPAR markets were dropped.

Why does golf bet settlement wait for map finalization?▼

Settlement only runs when the mod sets gwyf.finals[mapN], preventing payouts on partial score data. Without this gate, entering the first score would settle WIN/LOSE legs early and leak reversible phantom payouts.

Can players combine correlated golf bets in a parlay?▼

No. The parlay allows one leg per player, rejects two WIN or two LOSE legs, blocks WIN+LOSE bundles and same-side PAR duplicates, and applies a correlation discount of 0.7 per extra leg to the payout.

Should betting history be deleted when resetting the golf season?▼

No. The owner kept bet history in season 1 because settled old bets do not interfere, deleting them risks tripping the notWipingJson safeguard, and it would erase the REI DAS APOSTAS record. Confirm with the owner before deleting anything.