Pitwall news

Show all news

Minimum races person contract clause

As some have noticed, I have started fixing the minimum races clause in the person contracts recently. To start of: this is not an implementation, more of a fix of something that was implemented but never worked as it should have and was promptly disabled in the background. But I will do a public test (probably tonight) before implementing this, as it heavily affect teams that's for certain. And it's also possible that I will postpone this to next season, but that depends on testing etc.

This clause (minimum races) in the person contract is used in two ways for persons: "unassigned races" and "races competed" (note competed does not mean completed even though there is a typo on the person page - competed means qualified). This clause also takes into account whether the person has been with the team for the entire season. If the person joined in the current season then the formula goes something like this: floor( ((13-week_joined)/13)*minimum_races ). So if a person joins in week 13 and requires 10 races, then the number of races will be 0 (as he could join after the week 13 race). If he joins in week 6 with 10 races required then he will require 5 races from the team.

The first way the clause is used for persons ("Unassigned races") is to prevent (rich) teams from hoarding staff from the market and keeping them unassigned. The races assigned parameter is raised by one every Sunday at 0:00 for each person that is assigned to a role. If a person is unassigned, then this parameter will not be raised for that week, no matter if he was assigned during the week (only Sunday 0:00 counts).
This parameter was not kept before (checking whether a person was assigned in a role) and has already been calculated for all previous and the current season based on the races stat in the history (so it has been more generous). From this Sunday on the system will do the checks already and they will be correct.
If the potential number of races (assigned races + races remaining in the season) is lower than this minimum races clause, then the person is set to "allowed to leave immediately" due to a breach of contract (this does not mean that the person will leave, but he can).

The second one ("Races competed") is to prevent inactive teams from having amazing persons and "locking" them away for a long time as the team is inactive and they're tied to their contracts. This parameter looks at the number of races that the team has competed.
If the potential number of races (races competed + races remaining in the season) is lower than this minimum races clause, then the person is set to "allowed to leave immediately" due to a breach of contract (this does not mean that the person will leave, but he can).

Once this is completed (and the long term join person bug fixed) I will do something similar for sponsors (but this info is already available so that shouldn't take long to implement).

April 12, 2017 03:24 pm