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)
- .emoji_by_task(task)
- .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)
- .tags_by_task(task)
- .task_emoji_by_task(task)
-
.task_points(task, status : CNFManager::ResultStatus = CNFManager::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)
- .task_type_by_task(task)
- .tasks_by_tag(tag)
- .tasks_by_tag_intersection(tags)
- .template_results_yml
- .total_max_passed(tags : Array(String) = [] of String)
- .total_max_passed(tag = nil)
-
.total_max_points(tags : Array(String) = [] of String)
Calculates the total potential points
-
.total_max_points(tag = nil)
Calculates the total potential points
- .total_passed(tags : Array(String) = [] of String)
- .total_passed(tag = nil)
- .total_points(tags : Array(String) = [] of String)
-
.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, start_time)
Class Method Detail
Returns what the potential points should be (for a points type) in order to assign those points to a task
Returns what the potential points should be (for a points type of true or false) in order to assign those points to a task
Calculates the total potential points
Gets the total assigned points for a tag (or all total points) from the results file Usesful for calculation categories total