module CNFManager::Points
Defined in:
tasks/utils/points.crClass Method Summary
- .all_result_test_names(results_file)
- .all_task_test_names
- .clean_results_yml(verbose = false)
- .create_final_results_yml_name
- .create_points_yml
- .dynamic_task_points(task, status_name)
- .failed_required_tasks
- .failed_task(task, msg)
- .final_cnf_results_yml
- .na_assigned?(task)
- .passed_task(task, msg)
- .points_yml
- .results_by_tag(tag)
- .skipped_task(task, msg)
-
.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
-
.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
- .task_required(task)
- .tasks_by_tag(tag)
- .template_results_yml
-
.total_max_points(tag = nil)
Calculates the total potential points
-
.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
- .upsert_task(task, status, points)
Class Method Detail
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
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
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