module CNFManager::Points

Defined in:

tasks/utils/points.cr

Class Method Summary

Class Method Detail

def self.all_result_test_names(results_file) #

[View source]
def self.all_task_test_names #

[View source]
def self.clean_results_yml(verbose = false) #

[View source]
def self.create_final_results_yml_name #

[View source]
def self.create_points_yml #

[View source]
def self.dynamic_task_points(task, status_name) #

[View source]
def self.failed_required_tasks #

[View source]
def self.failed_task(task, msg) #

[View source]
def self.final_cnf_results_yml #

[View source]
def self.na_assigned?(task) #

[View source]
def self.passed_task(task, msg) #

[View source]
def self.points_yml #

[View source]
def self.results_by_tag(tag) #

[View source]
def self.skipped_task(task, msg) #

[View source]
def self.task_points(task, status : CNFManager::Points::Results::ResultStatus = CNFManager::Points::Results::ResultStatus::Passed) #

Returns what the potential points should be (for a points type) in order to assign those points to a task


[View source]
def self.task_points(task, passed = true) #

Returns what the potential points should be (for a points type of true or false) in order to assign those points to a task


[View source]
def self.task_required(task) #

[View source]
def self.tasks_by_tag(tag) #

[View source]
def self.template_results_yml #

[View source]
def self.total_max_points(tag = nil) #

Calculates the total potential points


[View source]
def self.total_points(tag = nil) #

Gets the total assigned points for a tag (or all total points) from the results file Usesful for calculation categories total


[View source]
def self.upsert_task(task, status, points) #

[View source]