Git Product home page Git Product logo

Comments (6)

espinr avatar espinr commented on June 3, 2024

On 12 April, Mirko mentioned that it is also common to find one-year range for youth sports.
Also, there are different criteria to establish these ranges. For instance, some sports/federations considers age ranges taken into account different birthdays-period (sports season or 1st Jan - 31st Dec). So it's difficult to find a common pattern for youth sports.

My proposal is not defining these categories for youth sports (under U18). Leaving this property as free text.

from opentrack-cg.

espinr avatar espinr commented on June 3, 2024

Proposal:

  • Define official known age-range categories.
  • Allow adding free text for those special age-range categories

from opentrack-cg.

captainrobbo avatar captainrobbo commented on June 3, 2024

I would define the set of rules used at competition level, and just refer to it.

In most countries, athletics meetings will just say "Under IAAF rules".

For example, if a competition is run "under UK Athletics Rules", that tells us clearly that we will have U13, U15, U17, U20 with particular cutoff dates; that younger kids can do a maximum of 3 events.
we could simply assume that some function exists
age_group(competition date, birth date...) -> code

The rules of the sport are exhaustively documented and it's easy to cross-refer rather than repeating them in the standard.

from opentrack-cg.

espinr avatar espinr commented on June 3, 2024

OK, to refer the set of rules related to the category. Good point.

This function (age_group(competition date, birth date...) -> code) would be perfect but we would need a place and tool where all the available codes are listed. In brief, if my script finds a piece of data with something like { 'code':'U18_IAAF_Male' }, it should be able to refer to the code and infer that this means:

  • age-range: Under 18
  • Under IAAF rules
  • gender: Male

So we could match categories, at least by gender and sex.

In this case, in order to describe that "Category X is under Y rules" (related to the code) and make it interoperable for machines, we would need something like:

{
  "@type":"Category",     // This means this instance is of type 'Category'
  "age-range" : "U17",     // 
  "gender" : "Male" ,
  "regulatedBy" : "IAAF"    // @type=>Federation
}

Now the problem is producing this exhaustive list of codes. Or just adding them on the fly.

Ideas?

If we have a single

age_group(competition date, birth date...) -> code

from opentrack-cg.

captainrobbo avatar captainrobbo commented on June 3, 2024

from opentrack-cg.

espinr avatar espinr commented on June 3, 2024

included the official standard list of age-ranges (those recognized by IAAF, EA, and WMA). The rest will be specified by open text. For instance:

{
  "description" : "Boys under 13 Mars Years",
  "age-range": "U13",
  "ruledBy": "federation:MARS",
  "gender": "gender:Male"
}

from opentrack-cg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.