Powerlifting coef calc

From XuShuwenn/RedAct · View interactive version

Powerlifting coef calc is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Calculate Dots coefficients for powerlifting competitions from lifter performance data in Excel files.

How to use this skill

Skill file

Powerlifting Dots Coefficient Calculation

When to Use

Input Files

Steps

  1. Before editing, inspect the workbook directly: confirm sheet names, read the actual Data header row, use /root/data/data-readme.md to interpret field meanings, and map the real source columns for Sex, BodyweightKg, and the lift fields used to compute TotalKg rather than assuming fixed positions, letters, or names
  1. Read the header row of "Data" and copy all existing columns to "Dots" in the exact same order and with the same names
  1. Preserve row order when copying data from "Data" to "Dots"
  2. Add "TotalKg" column after the copied source columns using an Excel formula
  3. Add "Dots" column using an Excel formula with explicit 3-decimal precision
  4. Before finalizing the Dots formula, inspect representative Sex values in the source data and confirm the branch values actually used by the workbook.
  5. When filling formulas down, make them blank-safe so rows with missing required inputs stay blank instead of showing errors or misleading numbers.
  6. Use openpyxl to modify the existing workbook in place, then save, recalculate, reopen/read back the workbook, and inspect the Dots header row plus representative top/middle/bottom rows to confirm headers still match Data through the copied columns, formulas were stored and filled down consistently, and both TotalKg and Dots show 3-decimal results.

Dots Formula

Dots uses both TotalKg and BodyweightKg.

Output

Modify "Dots" sheet in openipf.xlsx with:

Tips

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.