module
CNFManager::Points
Defined in:
tasks/utils/cnf_manager/points.crClass Method Summary
- .all_task_test_names
- .clean_results_yml
- .create_final_results_yml_name
- .create_points_yml
- .emoji_by_task(task)
- .failed_required_tasks
- .failed_task(task, msg)
- .passed_task(task, msg)
- .points_yml
- .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
- .tasks_by_tag(tag)
- .tasks_by_tag_intersection(tags)
- .template_results_yml
- .total_max_passed(tags : Array(String) = [] of String) : Int32
- .total_max_passed(tag = nil) : Int32
- .total_max_points(tags : Array(String) = [] of String) : Int32
-
.total_max_points(tag = nil) : Int32
Calculates the total potential points.
- .total_passed(tags : Array(String) = [] of String) : Int32
- .total_passed(tag = nil) : Int32
- .total_points(tags : Array(String) = [] of String) : Int32
-
.total_points(tag = nil) : Int32
Gets the total assigned points for a tag (or all total points) from the results file.
- .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
def self.total_points(tag = nil) : Int32
#
Gets the total assigned points for a tag (or all total points) from the results file. Usesful for calculation categories total.