The airline needed to create an application for random testing of employees for drugs. The sample should have taken place so that in the people already selected in the current period (it is 2 years), the probability of falling into the new group of test subjects was reduced. As a result, for the entire period, all employees will have to pass the test at least once.
Web-app with functionality:
Date: February 09, 2017
The work in the current web-application is as follows. The first thing to do is create a period in the "Periods" tab, which specifies the start date and end date. Then you create a test and in the "Employees" tab you can either add the employee manually, or select using the random selection algorithm.
The next tab "Positions" also allows you to randomly select a position from the list, according to which all employees will have to pass the drug test. In the third tab "Members of the Commission" are selected people who are in the office and are directly monitoring that the results are not falsified.