I want Skunk to add derived metric methods to RubyCritic analysed file and collection objects so library and…
I want Skunk to add derived metric methods to RubyCritic analysed file and collection objects so library and…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For a RubyCritic::AnalysedModule, provide public zero-argument methods skunk score, penalty factor, churn…
The task
For a RubyCritic::AnalysedModule, provide public zero-argument methods skunk_score, penalty_factor, churn_times_cost, and to_hash. skunk_score should return the file cost rounded to 2 decimals when coverage is exactly 100; with cost 100 and coverage 100 it returns 100, with cost 100 and coverage 0 it returns 10000,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.