Skip to content

Commit

Permalink
chore(docs/core): 2024-12-15 21:28:48
Browse files Browse the repository at this point in the history
Affected files:
content/Projects/GC/Modules/Umpire Assignment - Promote Player with TTL.md
content/Projects/GC/Modules/User.md
  • Loading branch information
zakhaev26 committed Dec 15, 2024
1 parent 9d98ea8 commit 8253e8f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
The role of the [[Umpiring|Umpire]] is crucial for ensuring the smooth conduct of matches. This feature enables the admin to assign umpire duties to [[User|Players]] from a pool of eligible candidates based on specific criteria, such as fair play guidelines of GC and availability. This system ensures that only qualified players are promoted to the umpire role, with an emphasis on fair play.
#### Process of Assigning Umpires

1. **Eligibility Criteria**:

- From the pool of players, the admin filters candidates based on fair play guidelines. These criteria could include a player's conduct, performance, and participation history, ensuring that only those who meet the required standards are considered for the umpire role.
1. **Selection of Umpires**:

- Admins review the list of eligible players and select those they deem fit for umpiring the match. Umpires are selected based on their qualifications, experience, and role in maintaining the integrity of the game.
3. **Roles and Responsibilities of Umpires**:

- **Score Updating**: One of the primary responsibilities of an umpire is to update the match scores in real-time.
- **Match Control**: Umpires ensure the rules of the game are followed, make decisions on disputes, and control the flow of the match.
- **Timekeeping**: Umpires may be responsible for ensuring that the match proceeds within the allotted time.
- **Player Behavior Monitoring**: Umpires are also tasked with monitoring player conduct, issuing warnings or penalties as required for violations of the rules.
- **Match Reporting**: Umpires are responsible for generating match reports, documenting key events, scores, and outcomes.
4. **Time-Limited Umpire Role (TTL)**:

- The umpire role assigned to a player is temporary and governed by a Time To Live (TTL) policy. This ensures that players are given umpire responsibilities only for the duration of the match or a specific time period defined by the admin.
- **TTL Expiry**: After the TTL expires, the player's status is reverted to that of a regular user, ensuring that the umpire role is only maintained as long as necessary.
5. **Automatic Role Reversion**:

- When the TTL expires, the player’s umpire status is automatically revoked, and they return to their original user role. This automatic change ensures fairness and ensures that umpire duties are only assigned for the appropriate period.

#### Key Benefits

- **Fair Play**: By filtering players based on fair play guidelines, this system ensures that only responsible and qualified individuals are assigned umpire duties, promoting integrity in the sport.
- **Efficient Match Management**: Admins can efficiently manage umpire assignments, with clear timelines for the role’s duration.
- **Dynamic Role Assignment**: The TTL mechanism ensures that players only hold umpire status when necessary, freeing up resources for other matches or roles as required.
- **Transparency**: The system ensures transparency in umpire assignments and removes ambiguity about a player's responsibilities and timeline.
2 changes: 1 addition & 1 deletion content/Projects/GC/Modules/User.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Journey

- everyone starts in the application as unauthroized users
## Access Control

## ERD
Expand Down

0 comments on commit 8253e8f

Please sign in to comment.