Evo excel match analyzer

From OpenLAIR/OpenSkill · View interactive version

Evo excel match analyzer is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Scores dice games and compares paired matches between players. Loads Excel dice roll data, computes scores using 6 scoring categories (high_and_often, summation, highs_and_lows, only_two_numbers, all_the_numbers, ordered_subset_of_four), finds optimal game scores by pairing different categories acro

How to use this skill

Skill file

Excel Match Analyzer

Analyzes dice game data from Excel files. Computes game scores using 6 scoring

categories, then pairs odd-numbered games (Player 1) vs even-numbered games

(Player 2) for match comparison.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-excel-match-analyzer/scripts')
from utils import (
    load_excel_data, compute_all_game_scores, split_by_parity,
    compare_paired_matches, compute_win_difference, write_answer
)

# Load data
data = load_excel_data('/root/data.xlsx', sheet_name='Data')

# Compute all game scores
game_scores = compute_all_game_scores(data)

# Split by parity (odd=P1, even=P2)
p1_scores, p2_scores = split_by_parity(game_scores)

# Compare paired matches (game 1 vs 2, game 3 vs 4, etc.)
p1_wins, p2_wins, ties = compare_paired_matches(p1_scores, p2_scores)

# Compute and write answer
diff = compute_win_difference(p1_wins, p2_wins)
write_answer(diff, '/root/answer.txt')

Scoring Rules (6 Categories)

  1. high_and_often: Highest number × count of that number
  2. summation: Sum of all 6 dice
  3. highs_and_lows: Highest × Lowest × (Highest - Lowest)
  4. only_two_numbers: If exactly 2 distinct numbers → 30 (else N/A)
  5. all_the_numbers: If rolls are {1,2,3,4,5,6} → 40 (else N/A)
  6. ordered_subset_of_four: If rolls contain run of 4 consecutive inc/dec → 50 (else N/A)

Game Scoring

Each game has 2 turns. Find highest combined score using 2 DIFFERENT categories

(one per turn). Try all valid category pairs and pick the maximum.

Match Pairing

Key Functions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.