[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BX7NJD28EZDDF0E737M7MF":3,"skill-same:01M7BX7NJD28EZDDF0E737M7MF":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7BX7NJD28EZDDF0E737M7MF","powerlifting",null,"Calculating powerlifting scores to determine the performance of lifters across different weight classes.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fpowerlifting-coef-calc-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fpowerlifting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: powerlifting\ndescription: \"Calculating powerlifting scores to determine the performance of lifters across different weight classes. \"\n---\n\n# Calculating Powerlifting Scores as a Professional Coach\n\n## Dynamic Objective Team Scoring (Dots)\n\nIn the world of powerlifting, comparing lifters across different body weights is essential to \u002Fdetermine relative strength and fairness in competition. This is where the **DOTS score**—short for “Dynamic Objective Team Scoring”—comes into play. It’s a widely-used formula that helps level the playing field by standardizing performances regardless of a lifter’s body weight. Whether you’re new to powerlifting or a seasoned competitor, understanding the DOTS score is crucial for evaluating progress and competing effectively.\nThis section is from [powerliftpro](https:\u002F\u002Fpowerliftpro.app\u002Funderstanding-the-dots-score-in-powerlifting-a-comprehensive-guide\u002F).\n\n\n### What is the DOTS Score?\n\nThe DOTS score is a mathematical formula used to normalize powerlifting totals based on a lifter’s body weight. It provides a single number that represents a lifter’s relative strength, allowing for fair comparisons across all weight classes.\n\nThe score takes into account:\n\n- **The lifter's total:** The combined weight lifted in the [squat](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Flow-bar-squat\u002F), [bench press](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Fcomp-bench-press\u002F), and [deadlift](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Fconventional-deadlift\u002F).\n- **Body weight:** The lifter’s weight on competition day.\n\n### The DOTS Formula\n\nFor real powerlifting nerds who want to calculate their DOTS longhand (remember to show all work! sorry, old math class joke), the DOTS formula is as follows:\n\nDOTS Score=Total Weight Lifted (kg)×a+b(BW)+c(BW2)+d(BW3)+e(BW4)500\n\nHere:\n\n- **Total Weight Lifted (kg):** Your combined total from the squat, bench press, and deadlift.\n- **BW:** Your body weight in kilograms.\n- **a, b, c, d, e:** Coefficients derived from statistical modeling to ensure accurate scaling across various body weights.\n\nThese coefficients are carefully designed to balance the advantage heavier lifters might have in absolute strength and the lighter lifters’ advantage in relative strength.\n\n```rust\nuse crate::poly4;\nuse opltypes::*;\n\npub fn dots_coefficient_men(bodyweightkg: f64) -> f64 {\n    const A: f64 = -0.0000010930;\n    const B: f64 = 0.0007391293;\n    const C: f64 = -0.1918759221;\n    const D: f64 = 24.0900756;\n    const E: f64 = -307.75076;\n\n    \u002F\u002F Bodyweight bounds are defined; bodyweights out of range match the boundaries.\n    let adjusted = bodyweightkg.clamp(40.0, 210.0);\n    500.0 \u002F poly4(A, B, C, D, E, adjusted)\n}\n\npub fn dots_coefficient_women(bodyweightkg: f64) -> f64 {\n    const A: f64 = -0.0000010706;\n    const B: f64 = 0.0005158568;\n    const C: f64 = -0.1126655495;\n    const D: f64 = 13.6175032;\n    const E: f64 = -57.96288;\n\n    \u002F\u002F Bodyweight bounds are defined; bodyweights out of range match the boundaries.\n    let adjusted = bodyweightkg.clamp(40.0, 150.0);\n    500.0 \u002F poly4(A, B, C, D, E, adjusted)\n}\n\n\u002F\u002F\u002F Calculates Dots points.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Dots were introduced by the German IPF Affiliate BVDK after the IPF switched to\n\u002F\u002F\u002F IPF Points, which do not allow comparing between sexes. The BVDK hosts team\n\u002F\u002F\u002F competitions that allow lifters of all sexes to compete on a singular team.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Since Wilks points have been ostracized from the IPF, and IPF Points are\n\u002F\u002F\u002F unsuitable, German lifters therefore came up with their own formula.\n\u002F\u002F\u002F\n\u002F\u002F\u002F The author of the Dots formula is Tim Konertz \u003Ctim.konertz@outlook.com>.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Tim says that Dots is an acronym for \"Dynamic Objective Team Scoring,\"\n\u002F\u002F\u002F but that they chose the acronym before figuring out the expansion.\npub fn dots(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => dots_coefficient_men(f64::from(bodyweight)),\n        Sex::F => dots_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n```\n\n## IPF Good Lift Coefficient\n\nThe **IPF Good Lift Coefficient** calculator computes the comparative weight coefficient between weight lifters based on the weight of the lifter (x), the type of lift and the gender of the lifter, all combined in the IPF GL Coefficient formula. Information about this is from [IPF](https:\u002F\u002Fwww.powerlifting.sport\u002Ffileadmin\u002Fipf\u002Fdata\u002Fipf-formula\u002FIPF_GL_Coefficients-2020.pdf).\n\n**INSTRUCTIONS:** Choose units and enter the following:\n\n- (**x**)  Weigh of Person\n- (**g**) Gender of Person\n- (LT) lift type\n  - Equipped Power Lift\n  - Classic Power Lift\n  - Equipped Bench Press\n  - Classic Bench Press\n\n**IPFL GL Coefficient (IPC):** The calculator returns the coefficient as a real number (decimal).\n\n### The Math \u002F Science\n\nThe International Powerlifting Federation GL coefficient formula is:\n\n  IPC=100A−B⋅e−C⋅BWT\n\nwhere:\n\n- IPC = IPF GL coefficient\n- BWT = body weight of the lifter\n- A, B, C = f(gender, lift type), see below\n\n\n\n```rust\nuse opltypes::*;\n\n\u002F\u002F\u002F Hardcoded formula parameters: `(A, B, C)`.\ntype Parameters = (f64, f64, f64);\n\n\u002F\u002F\u002F Gets formula parameters from what is effectively a lookup table.\nfn parameters(sex: Sex, equipment: Equipment, event: Event) -> Parameters {\n    \u002F\u002F Since the formula was made for the IPF, it only covers Raw and Single-ply.\n    \u002F\u002F We do our best and just reuse those for Wraps and Multi-ply, respectively.\n    let equipment = match equipment {\n        Equipment::Raw | Equipment::Wraps | Equipment::Straps => Equipment::Raw,\n        Equipment::Single | Equipment::Multi | Equipment::Unlimited => Equipment::Single,\n    };\n\n    \u002F\u002F Points are only specified for Sex::M and Sex::F.\n    let dichotomous_sex = match sex {\n        Sex::M | Sex::Mx => Sex::M,\n        Sex::F => Sex::F,\n    };\n\n    const SBD: Event = Event::sbd();\n    const B: Event = Event::b();\n\n    match (event, dichotomous_sex, equipment) {\n        (SBD, Sex::M, Equipment::Raw) => (1199.72839, 1025.18162, 0.009210),\n        (SBD, Sex::M, Equipment::Single) => (1236.25115, 1449.21864, 0.01644),\n        (SBD, Sex::F, Equipment::Raw) => (610.32796, 1045.59282, 0.03048),\n        (SBD, Sex::F, Equipment::Single) => (758.63878, 949.31382, 0.02435),\n\n        (B, Sex::M, Equipment::Raw) => (320.98041, 281.40258, 0.01008),\n        (B, Sex::M, Equipment::Single) => (381.22073, 733.79378, 0.02398),\n        (B, Sex::F, Equipment::Raw) => (142.40398, 442.52671, 0.04724),\n        (B, Sex::F, Equipment::Single) => (221.82209, 357.00377, 0.02937),\n\n        _ => (0.0, 0.0, 0.0),\n    }\n}\n\n\u002F\u002F\u002F Calculates IPF GOODLIFT Points.\npub fn goodlift(\n    sex: Sex,\n    equipment: Equipment,\n    event: Event,\n    bodyweight: WeightKg,\n    total: WeightKg,\n) -> Points {\n    \u002F\u002F Look up parameters.\n    let (a, b, c) = parameters(sex, equipment, event);\n\n    \u002F\u002F Exit early for undefined cases.\n    if a == 0.0 || bodyweight \u003C WeightKg::from_i32(35) || total.is_zero() {\n        return Points::from_i32(0);\n    }\n\n    \u002F\u002F A - B * e^(-C * Bwt).\n    let e_pow = (-c * f64::from(bodyweight)).exp();\n    let denominator = a - (b * e_pow);\n\n    \u002F\u002F Prevent division by zero.\n    if denominator == 0.0 {\n        return Points::from_i32(0);\n    }\n\n    \u002F\u002F Calculate GOODLIFT points.\n    \u002F\u002F We add the requirement that the value be non-negative.\n    let points: f64 = f64::from(total) * (0.0_f64).max(100.0 \u002F denominator);\n    Points::from(points)\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn published_examples() {\n        \u002F\u002F Dmitry Inzarkin from 2019 IPF World Open Men's Championships.\n        let weight = WeightKg::from_f32(92.04);\n        let total = WeightKg::from_f32(1035.0);\n        assert_eq!(\n            goodlift(Sex::M, Equipment::Single, Event::sbd(), weight, total),\n            Points::from(112.85)\n        );\n\n        \u002F\u002F Susanna Torronen from 2019 World Open Classic Bench Press Championships.\n        let weight = WeightKg::from_f32(70.50);\n        let total = WeightKg::from_f32(122.5);\n        assert_eq!(\n            goodlift(Sex::F, Equipment::Raw, Event::b(), weight, total),\n            Points::from(96.78)\n        );\n    }\n}\n```\n\n## Wilks coefficient\n\nThe following [equation](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FEquation) is used to calculate the Wilks coefficient:\n$$\n\\text{Coef} = \\frac{500}{a + bx + cx^2 + dx^3 + ex^4 + fx^5}\n$$\nwhere $x$ is the body weightof the lifter in kilograms.\n\nThe total weight lifted (in kg) is multiplied by the coefficient to find the standard amount lifted, normalised across all body weights.\n\n|      |     *Men*      |     *Women*     |\n| :--: | :------------: | :-------------: |\n| *a*  |  -216.0475144  | 594.31747775582 |\n| *b*  |   16.2606339   | −27.23842536447 |\n| *c*  |  -0.002388645  |  0.82112226871  |\n| *d*  |  -0.00113732   | −0.00930733913  |\n| *e*  | 7.01863 × 10−6 | 4.731582 × 10−5 |\n| *f*  | −1.291 × 10−8  |  −9.054 × 10−8  |\n\n\n\n```rust\nuse crate::poly5;\nuse opltypes::*;\n\npub fn wilks_coefficient_men(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Wilks defines its polynomial backwards:\n    \u002F\u002F A + Bx + Cx^2 + ...\n    const A: f64 = -216.0475144;\n    const B: f64 = 16.2606339;\n    const C: f64 = -0.002388645;\n    const D: f64 = -0.00113732;\n    const E: f64 = 7.01863E-06;\n    const F: f64 = -1.291E-08;\n\n    \u002F\u002F Upper bound avoids asymptote.\n    \u002F\u002F Lower bound avoids children with huge coefficients.\n    let adjusted = bodyweightkg.clamp(40.0, 201.9);\n\n    500.0 \u002F poly5(F, E, D, C, B, A, adjusted)\n}\n\npub fn wilks_coefficient_women(bodyweightkg: f64) -> f64 {\n    const A: f64 = 594.31747775582;\n    const B: f64 = -27.23842536447;\n    const C: f64 = 0.82112226871;\n    const D: f64 = -0.00930733913;\n    const E: f64 = 0.00004731582;\n    const F: f64 = -0.00000009054;\n\n    \u002F\u002F Upper bound avoids asymptote.\n    \u002F\u002F Lower bound avoids children with huge coefficients.\n    let adjusted = bodyweightkg.clamp(26.51, 154.53);\n\n    500.0 \u002F poly5(F, E, D, C, B, A, adjusted)\n}\n\n\u002F\u002F\u002F Calculates Wilks points.\npub fn wilks(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => wilks_coefficient_men(f64::from(bodyweight)),\n        Sex::F => wilks_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn coefficients() {\n        \u002F\u002F Coefficients taken verbatim from the old Python implementation.\n        assert_eq!(wilks_coefficient_men(100.0), 0.6085890719066511);\n        assert_eq!(wilks_coefficient_women(100.0), 0.8325833167368228);\n    }\n\n    #[test]\n    fn points() {\n        \u002F\u002F Point values taken (rounded) from the old Python implementation.\n        assert_eq!(\n            wilks(Sex::M, WeightKg::from_i32(100), WeightKg::from_i32(1000)),\n            Points::from(608.58907)\n        );\n        assert_eq!(\n            wilks(Sex::F, WeightKg::from_i32(60), WeightKg::from_i32(500)),\n            Points::from(557.4434)\n        );\n    }\n}\n```\n\n## Glossbrenner\n\nWhen Powerlifting began having 'masters', it quickly became apparent that some sort of age allowance or 'handicap' was needed by this group to sort them out, one from another. How much better must a 40-yr-old be, than a 50-yr-old, to be considered a better lifter? How much better than a 55-yr-old, a 60-yr-old, etc? So, a set of age multipliers, or 'handicap numbers', was issued for Master Lifters year-by-year, from 40 through 80. Since then, however, the number of Master Lifters in the 50+ and 60+ group has become so large that a revision (based on extensive study and years of backup data) was needed. These new numbers are based on comparison of the totals of actual lifters over the past seven years, and a chart for their usage is on the final page of this [section](https:\u002F\u002Fworldpowerliftingcongress.com\u002Fwp-content\u002Fuploads\u002F2015\u002F02\u002FGlossbrenner.htm).\n\nThe formula is: (LT) times (GBC) = (PN)\n\nLT  - Lifter's Total\nGBC – Glossbrenner Bodyweight Coefficient *\nPN  - Product Number\n\n```rust\nuse opltypes::*;\n\nuse crate::schwartzmalone::{malone_coefficient, schwartz_coefficient};\nuse crate::wilks::{wilks_coefficient_men, wilks_coefficient_women};\n\nfn glossbrenner_coefficient_men(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Glossbrenner is defined piecewise.\n    if bodyweightkg \u003C 153.05 {\n        (schwartz_coefficient(bodyweightkg) + wilks_coefficient_men(bodyweightkg)) \u002F 2.0\n    } else {\n        \u002F\u002F Linear coefficients found by fitting to a table.\n        const A: f64 = -0.000821668402557;\n        const B: f64 = 0.676940740094416;\n        (schwartz_coefficient(bodyweightkg) + A * bodyweightkg + B) \u002F 2.0\n    }\n}\n\nfn glossbrenner_coefficient_women(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Glossbrenner is defined piecewise.\n    if bodyweightkg \u003C 106.3 {\n        (malone_coefficient(bodyweightkg) + wilks_coefficient_women(bodyweightkg)) \u002F 2.0\n    } else {\n        \u002F\u002F Linear coefficients found by fitting to a table.\n        const A: f64 = -0.000313738002024;\n        const B: f64 = 0.852664892884785;\n        (malone_coefficient(bodyweightkg) + A * bodyweightkg + B) \u002F 2.0\n    }\n}\n\n\u002F\u002F\u002F Calculates Glossbrenner points.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Glossbrenner is the average of two older systems, Schwartz-Malone and Wilks,\n\u002F\u002F\u002F with a piecewise linear section.\n\u002F\u002F\u002F\n\u002F\u002F\u002F This points system is most often used by GPC affiliates.\npub fn glossbrenner(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => glossbrenner_coefficient_men(f64::from(bodyweight)),\n        Sex::F => glossbrenner_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn coefficients() {\n        \u002F\u002F Coefficients taken verbatim from the old Python implementation.\n        assert_eq!(glossbrenner_coefficient_men(100.0), 0.5812707859533183);\n        assert_eq!(glossbrenner_coefficient_women(100.0), 0.7152488066040259);\n    }\n\n    #[test]\n    fn points() {\n        \u002F\u002F Point values taken (rounded) from the old Python implementation.\n        assert_eq!(\n            glossbrenner(Sex::M, WeightKg::from_i32(100), WeightKg::from_i32(1000)),\n            Points::from(581.27)\n        );\n        assert_eq!(\n            glossbrenner(Sex::F, WeightKg::from_i32(60), WeightKg::from_i32(500)),\n            Points::from(492.53032)\n        );\n\n        \u002F\u002F Zero bodyweight should be treated as \"unknown bodyweight\".\n        assert_eq!(\n            glossbrenner(Sex::M, WeightKg::from_i32(0), WeightKg::from_i32(500)),\n            Points::from_i32(0)\n        );\n    }\n}\n```\n","# Calculating Powerlifting Scores as a Professional Coach\n\n## Dynamic Objective Team Scoring (Dots)\n\nIn the world of powerlifting, comparing lifters across different body weights is essential to \u002Fdetermine relative strength and fairness in competition. This is where the **DOTS score**—short for “Dynamic Objective Team Scoring”—comes into play. It’s a widely-used formula that helps level the playing field by standardizing performances regardless of a lifter’s body weight. Whether you’re new to powerlifting or a seasoned competitor, understanding the DOTS score is crucial for evaluating progress and competing effectively.\nThis section is from [powerliftpro](https:\u002F\u002Fpowerliftpro.app\u002Funderstanding-the-dots-score-in-powerlifting-a-comprehensive-guide\u002F).\n\n\n### What is the DOTS Score?\n\nThe DOTS score is a mathematical formula used to normalize powerlifting totals based on a lifter’s body weight. It provides a single number that represents a lifter’s relative strength, allowing for fair comparisons across all weight classes.\n\nThe score takes into account:\n\n- **The lifter's total:** The combined weight lifted in the [squat](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Flow-bar-squat\u002F), [bench press](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Fcomp-bench-press\u002F), and [deadlift](https:\u002F\u002Fpowerliftpro.app\u002Fexercises\u002Fconventional-deadlift\u002F).\n- **Body weight:** The lifter’s weight on competition day.\n\n### The DOTS Formula\n\nFor real powerlifting nerds who want to calculate their DOTS longhand (remember to show all work! sorry, old math class joke), the DOTS formula is as follows:\n\nDOTS Score=Total Weight Lifted (kg)×a+b(BW)+c(BW2)+d(BW3)+e(BW4)500\n\nHere:\n\n- **Total Weight Lifted (kg):** Your combined total from the squat, bench press, and deadlift.\n- **BW:** Your body weight in kilograms.\n- **a, b, c, d, e:** Coefficients derived from statistical modeling to ensure accurate scaling across various body weights.\n\nThese coefficients are carefully designed to balance the advantage heavier lifters might have in absolute strength and the lighter lifters’ advantage in relative strength.\n\n```rust\nuse crate::poly4;\nuse opltypes::*;\n\npub fn dots_coefficient_men(bodyweightkg: f64) -> f64 {\n    const A: f64 = -0.0000010930;\n    const B: f64 = 0.0007391293;\n    const C: f64 = -0.1918759221;\n    const D: f64 = 24.0900756;\n    const E: f64 = -307.75076;\n\n    \u002F\u002F Bodyweight bounds are defined; bodyweights out of range match the boundaries.\n    let adjusted = bodyweightkg.clamp(40.0, 210.0);\n    500.0 \u002F poly4(A, B, C, D, E, adjusted)\n}\n\npub fn dots_coefficient_women(bodyweightkg: f64) -> f64 {\n    const A: f64 = -0.0000010706;\n    const B: f64 = 0.0005158568;\n    const C: f64 = -0.1126655495;\n    const D: f64 = 13.6175032;\n    const E: f64 = -57.96288;\n\n    \u002F\u002F Bodyweight bounds are defined; bodyweights out of range match the boundaries.\n    let adjusted = bodyweightkg.clamp(40.0, 150.0);\n    500.0 \u002F poly4(A, B, C, D, E, adjusted)\n}\n\n\u002F\u002F\u002F Calculates Dots points.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Dots were introduced by the German IPF Affiliate BVDK after the IPF switched to\n\u002F\u002F\u002F IPF Points, which do not allow comparing between sexes. The BVDK hosts team\n\u002F\u002F\u002F competitions that allow lifters of all sexes to compete on a singular team.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Since Wilks points have been ostracized from the IPF, and IPF Points are\n\u002F\u002F\u002F unsuitable, German lifters therefore came up with their own formula.\n\u002F\u002F\u002F\n\u002F\u002F\u002F The author of the Dots formula is Tim Konertz \u003Ctim.konertz@outlook.com>.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Tim says that Dots is an acronym for \"Dynamic Objective Team Scoring,\"\n\u002F\u002F\u002F but that they chose the acronym before figuring out the expansion.\npub fn dots(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => dots_coefficient_men(f64::from(bodyweight)),\n        Sex::F => dots_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n```\n\n## IPF Good Lift Coefficient\n\nThe **IPF Good Lift Coefficient** calculator computes the comparative weight coefficient between weight lifters based on the weight of the lifter (x), the type of lift and the gender of the lifter, all combined in the IPF GL Coefficient formula. Information about this is from [IPF](https:\u002F\u002Fwww.powerlifting.sport\u002Ffileadmin\u002Fipf\u002Fdata\u002Fipf-formula\u002FIPF_GL_Coefficients-2020.pdf).\n\n**INSTRUCTIONS:** Choose units and enter the following:\n\n- (**x**)  Weigh of Person\n- (**g**) Gender of Person\n- (LT) lift type\n  - Equipped Power Lift\n  - Classic Power Lift\n  - Equipped Bench Press\n  - Classic Bench Press\n\n**IPFL GL Coefficient (IPC):** The calculator returns the coefficient as a real number (decimal).\n\n### The Math \u002F Science\n\nThe International Powerlifting Federation GL coefficient formula is:\n\n  IPC=100A−B⋅e−C⋅BWT\n\nwhere:\n\n- IPC = IPF GL coefficient\n- BWT = body weight of the lifter\n- A, B, C = f(gender, lift type), see below\n\n\n\n```rust\nuse opltypes::*;\n\n\u002F\u002F\u002F Hardcoded formula parameters: `(A, B, C)`.\ntype Parameters = (f64, f64, f64);\n\n\u002F\u002F\u002F Gets formula parameters from what is effectively a lookup table.\nfn parameters(sex: Sex, equipment: Equipment, event: Event) -> Parameters {\n    \u002F\u002F Since the formula was made for the IPF, it only covers Raw and Single-ply.\n    \u002F\u002F We do our best and just reuse those for Wraps and Multi-ply, respectively.\n    let equipment = match equipment {\n        Equipment::Raw | Equipment::Wraps | Equipment::Straps => Equipment::Raw,\n        Equipment::Single | Equipment::Multi | Equipment::Unlimited => Equipment::Single,\n    };\n\n    \u002F\u002F Points are only specified for Sex::M and Sex::F.\n    let dichotomous_sex = match sex {\n        Sex::M | Sex::Mx => Sex::M,\n        Sex::F => Sex::F,\n    };\n\n    const SBD: Event = Event::sbd();\n    const B: Event = Event::b();\n\n    match (event, dichotomous_sex, equipment) {\n        (SBD, Sex::M, Equipment::Raw) => (1199.72839, 1025.18162, 0.009210),\n        (SBD, Sex::M, Equipment::Single) => (1236.25115, 1449.21864, 0.01644),\n        (SBD, Sex::F, Equipment::Raw) => (610.32796, 1045.59282, 0.03048),\n        (SBD, Sex::F, Equipment::Single) => (758.63878, 949.31382, 0.02435),\n\n        (B, Sex::M, Equipment::Raw) => (320.98041, 281.40258, 0.01008),\n        (B, Sex::M, Equipment::Single) => (381.22073, 733.79378, 0.02398),\n        (B, Sex::F, Equipment::Raw) => (142.40398, 442.52671, 0.04724),\n        (B, Sex::F, Equipment::Single) => (221.82209, 357.00377, 0.02937),\n\n        _ => (0.0, 0.0, 0.0),\n    }\n}\n\n\u002F\u002F\u002F Calculates IPF GOODLIFT Points.\npub fn goodlift(\n    sex: Sex,\n    equipment: Equipment,\n    event: Event,\n    bodyweight: WeightKg,\n    total: WeightKg,\n) -> Points {\n    \u002F\u002F Look up parameters.\n    let (a, b, c) = parameters(sex, equipment, event);\n\n    \u002F\u002F Exit early for undefined cases.\n    if a == 0.0 || bodyweight \u003C WeightKg::from_i32(35) || total.is_zero() {\n        return Points::from_i32(0);\n    }\n\n    \u002F\u002F A - B * e^(-C * Bwt).\n    let e_pow = (-c * f64::from(bodyweight)).exp();\n    let denominator = a - (b * e_pow);\n\n    \u002F\u002F Prevent division by zero.\n    if denominator == 0.0 {\n        return Points::from_i32(0);\n    }\n\n    \u002F\u002F Calculate GOODLIFT points.\n    \u002F\u002F We add the requirement that the value be non-negative.\n    let points: f64 = f64::from(total) * (0.0_f64).max(100.0 \u002F denominator);\n    Points::from(points)\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn published_examples() {\n        \u002F\u002F Dmitry Inzarkin from 2019 IPF World Open Men's Championships.\n        let weight = WeightKg::from_f32(92.04);\n        let total = WeightKg::from_f32(1035.0);\n        assert_eq!(\n            goodlift(Sex::M, Equipment::Single, Event::sbd(), weight, total),\n            Points::from(112.85)\n        );\n\n        \u002F\u002F Susanna Torronen from 2019 World Open Classic Bench Press Championships.\n        let weight = WeightKg::from_f32(70.50);\n        let total = WeightKg::from_f32(122.5);\n        assert_eq!(\n            goodlift(Sex::F, Equipment::Raw, Event::b(), weight, total),\n            Points::from(96.78)\n        );\n    }\n}\n```\n\n## Wilks coefficient\n\nThe following [equation](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FEquation) is used to calculate the Wilks coefficient:\n$$\n\\text{Coef} = \\frac{500}{a + bx + cx^2 + dx^3 + ex^4 + fx^5}\n$$\nwhere $x$ is the body weightof the lifter in kilograms.\n\nThe total weight lifted (in kg) is multiplied by the coefficient to find the standard amount lifted, normalised across all body weights.\n\n|      |     *Men*      |     *Women*     |\n| :--: | :------------: | :-------------: |\n| *a*  |  -216.0475144  | 594.31747775582 |\n| *b*  |   16.2606339   | −27.23842536447 |\n| *c*  |  -0.002388645  |  0.82112226871  |\n| *d*  |  -0.00113732   | −0.00930733913  |\n| *e*  | 7.01863 × 10−6 | 4.731582 × 10−5 |\n| *f*  | −1.291 × 10−8  |  −9.054 × 10−8  |\n\n\n\n```rust\nuse crate::poly5;\nuse opltypes::*;\n\npub fn wilks_coefficient_men(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Wilks defines its polynomial backwards:\n    \u002F\u002F A + Bx + Cx^2 + ...\n    const A: f64 = -216.0475144;\n    const B: f64 = 16.2606339;\n    const C: f64 = -0.002388645;\n    const D: f64 = -0.00113732;\n    const E: f64 = 7.01863E-06;\n    const F: f64 = -1.291E-08;\n\n    \u002F\u002F Upper bound avoids asymptote.\n    \u002F\u002F Lower bound avoids children with huge coefficients.\n    let adjusted = bodyweightkg.clamp(40.0, 201.9);\n\n    500.0 \u002F poly5(F, E, D, C, B, A, adjusted)\n}\n\npub fn wilks_coefficient_women(bodyweightkg: f64) -> f64 {\n    const A: f64 = 594.31747775582;\n    const B: f64 = -27.23842536447;\n    const C: f64 = 0.82112226871;\n    const D: f64 = -0.00930733913;\n    const E: f64 = 0.00004731582;\n    const F: f64 = -0.00000009054;\n\n    \u002F\u002F Upper bound avoids asymptote.\n    \u002F\u002F Lower bound avoids children with huge coefficients.\n    let adjusted = bodyweightkg.clamp(26.51, 154.53);\n\n    500.0 \u002F poly5(F, E, D, C, B, A, adjusted)\n}\n\n\u002F\u002F\u002F Calculates Wilks points.\npub fn wilks(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => wilks_coefficient_men(f64::from(bodyweight)),\n        Sex::F => wilks_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn coefficients() {\n        \u002F\u002F Coefficients taken verbatim from the old Python implementation.\n        assert_eq!(wilks_coefficient_men(100.0), 0.6085890719066511);\n        assert_eq!(wilks_coefficient_women(100.0), 0.8325833167368228);\n    }\n\n    #[test]\n    fn points() {\n        \u002F\u002F Point values taken (rounded) from the old Python implementation.\n        assert_eq!(\n            wilks(Sex::M, WeightKg::from_i32(100), WeightKg::from_i32(1000)),\n            Points::from(608.58907)\n        );\n        assert_eq!(\n            wilks(Sex::F, WeightKg::from_i32(60), WeightKg::from_i32(500)),\n            Points::from(557.4434)\n        );\n    }\n}\n```\n\n## Glossbrenner\n\nWhen Powerlifting began having 'masters', it quickly became apparent that some sort of age allowance or 'handicap' was needed by this group to sort them out, one from another. How much better must a 40-yr-old be, than a 50-yr-old, to be considered a better lifter? How much better than a 55-yr-old, a 60-yr-old, etc? So, a set of age multipliers, or 'handicap numbers', was issued for Master Lifters year-by-year, from 40 through 80. Since then, however, the number of Master Lifters in the 50+ and 60+ group has become so large that a revision (based on extensive study and years of backup data) was needed. These new numbers are based on comparison of the totals of actual lifters over the past seven years, and a chart for their usage is on the final page of this [section](https:\u002F\u002Fworldpowerliftingcongress.com\u002Fwp-content\u002Fuploads\u002F2015\u002F02\u002FGlossbrenner.htm).\n\nThe formula is: (LT) times (GBC) = (PN)\n\nLT  - Lifter's Total\nGBC – Glossbrenner Bodyweight Coefficient *\nPN  - Product Number\n\n```rust\nuse opltypes::*;\n\nuse crate::schwartzmalone::{malone_coefficient, schwartz_coefficient};\nuse crate::wilks::{wilks_coefficient_men, wilks_coefficient_women};\n\nfn glossbrenner_coefficient_men(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Glossbrenner is defined piecewise.\n    if bodyweightkg \u003C 153.05 {\n        (schwartz_coefficient(bodyweightkg) + wilks_coefficient_men(bodyweightkg)) \u002F 2.0\n    } else {\n        \u002F\u002F Linear coefficients found by fitting to a table.\n        const A: f64 = -0.000821668402557;\n        const B: f64 = 0.676940740094416;\n        (schwartz_coefficient(bodyweightkg) + A * bodyweightkg + B) \u002F 2.0\n    }\n}\n\nfn glossbrenner_coefficient_women(bodyweightkg: f64) -> f64 {\n    \u002F\u002F Glossbrenner is defined piecewise.\n    if bodyweightkg \u003C 106.3 {\n        (malone_coefficient(bodyweightkg) + wilks_coefficient_women(bodyweightkg)) \u002F 2.0\n    } else {\n        \u002F\u002F Linear coefficients found by fitting to a table.\n        const A: f64 = -0.000313738002024;\n        const B: f64 = 0.852664892884785;\n        (malone_coefficient(bodyweightkg) + A * bodyweightkg + B) \u002F 2.0\n    }\n}\n\n\u002F\u002F\u002F Calculates Glossbrenner points.\n\u002F\u002F\u002F\n\u002F\u002F\u002F Glossbrenner is the average of two older systems, Schwartz-Malone and Wilks,\n\u002F\u002F\u002F with a piecewise linear section.\n\u002F\u002F\u002F\n\u002F\u002F\u002F This points system is most often used by GPC affiliates.\npub fn glossbrenner(sex: Sex, bodyweight: WeightKg, total: WeightKg) -> Points {\n    if bodyweight.is_zero() || total.is_zero() {\n        return Points::from_i32(0);\n    }\n    let coefficient: f64 = match sex {\n        Sex::M | Sex::Mx => glossbrenner_coefficient_men(f64::from(bodyweight)),\n        Sex::F => glossbrenner_coefficient_women(f64::from(bodyweight)),\n    };\n    Points::from(coefficient * f64::from(total))\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn coefficients() {\n        \u002F\u002F Coefficients taken verbatim from the old Python implementation.\n        assert_eq!(glossbrenner_coefficient_men(100.0), 0.5812707859533183);\n        assert_eq!(glossbrenner_coefficient_women(100.0), 0.7152488066040259);\n    }\n\n    #[test]\n    fn points() {\n        \u002F\u002F Point values taken (rounded) from the old Python implementation.\n        assert_eq!(\n            glossbrenner(Sex::M, WeightKg::from_i32(100), WeightKg::from_i32(1000)),\n            Points::from(581.27)\n        );\n        assert_eq!(\n            glossbrenner(Sex::F, WeightKg::from_i32(60), WeightKg::from_i32(500)),\n            Points::from(492.53032)\n        );\n\n        \u002F\u002F Zero bodyweight should be treated as \"unknown bodyweight\".\n        assert_eq!(\n            glossbrenner(Sex::M, WeightKg::from_i32(0), WeightKg::from_i32(500)),\n            Points::from_i32(0)\n        );\n    }\n}\n```\n",{"name":5,"description":24},"Calculating powerlifting scores to determine the performance of lifters across different weight classes. ","main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fpowerlifting-coef-calc-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fpowerlifting",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill powerlifting",{"tool":38,"command":39},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill powerlifting",{"tool":41,"command":42},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill powerlifting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FOpus47-OriginalSkill-79Tasks-20260920\u002Fruns\u002Fopus47-original-skill\u002Fpowerlifting-coef-calc-opus47-original-skill-r001\u002Finputs\u002Fskills\u002Fpowerlifting\u002FSKILL.md",true,[],[47,54,61,68,73,78],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":69,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":74,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":79,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]