Skip to content

Commit ac892a1

Browse files
committed
fix: restore benchmark RuboCop baseline
1 parent f12903a commit ac892a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

benchmarks/convergence_benchmark.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def generate_data(num_people, num_items, difficulty_range: (-2..2), ability_rang
223223
# Generate data with missing values
224224
base_data = generate_data(100, 50)[:data]
225225

226-
data_with_missing = if (config[:rate]).positive?
226+
data_with_missing = if config[:rate].positive?
227227
base_data.map do |row|
228228
row.map { |resp| rand < config[:rate] ? nil : resp }
229229
end

0 commit comments

Comments
 (0)