| Reading Input Data from Kafka(5%) | Code is able to fetch the data from Kafka server successfully | Code is not able to fetch the data from Kafka server and is throwing errors |
| Calculating additional columns and writing the Summarised Input table to the Console(15%) | Code is able to define the schema of a single orderCode is able to calculate the new UDFs and any other utility functions if neededCode is able to write the final summarised input values to the Console | Code is not able to define the schema of a single orderCode is not able to calculate the new UDFs and any other utility functions if neededCode is not able to write the final summarised input values to the Console |
| Calculating Time-based KPIs(30%) | Code is able to calculate the time- based KPIs with tumbling window of one minute on orders across the globe | Code is not able to calculate the time- based KPIs with tumbling window of one minute on orders across the globe |
| Calculating time- and country-based KPIs(22.5%) | Code is able to calculate the time- and country- based KPIs with tumbling window of one minute on orders across the globe | Code is not able to calculate the time- and country- based KPIs with tumbling window of one minute on orders across the globe |
| Writing KPIs to JSON Files(17.5%) | Code is able to write the time-based KPIs into one minute window eachCode is able to write the time- and country-based KPIs into one minute window each | Code is not able to write the time-based KPIs into one minute window eachCode is not able to write the time- and country-based KPIs into one minute window each |
| The correctness of logic(5%) | Explanation of the solution script has been provided | Explanation of the solution script has not been provided |
| Documentation(5%) | Proper documentation should be provided as per the submission guidelines. The codes also have to be properly commented. | Proper documentation has not been provided. |