<commit_before>import Color from './color';
import Hsv   from './hsv';

const NAME = Symbol.for('HWB');
const KEYS = Object.freeze({
  H: Symbol.for('h'),
  W: Symbol.for('w'),
  B: Symbol.for('b')
});

/**
 * https://en.wikipedia.org/wiki/HWB_color_model
 */
export default class Hwb extends Color {
  constructor(h, w, b) {
    super(NAME, [[KEYS.H, h], [KEYS.W, w], [KEYS.B, b]]);
  }

  clone() {
    return new Hwb(...this.values());
  }

  hsv() {
    let [h, s, v] = this.values();
    return new Hsv(h, 1 - (1 / (1 - b)), 1 - b);
  }
}<commit_msg>Removed unnecessary parens<commit_after>import Color from './color';
import Hsv   from './hsv';

const NAME = Symbol.for('HWB');
const KEYS = Object.freeze({
  H: Symbol.for('h'),
  W: Symbol.for('w'),
  B: Symbol.for('b')
});

/**
 * https://en.wikipedia.org/wiki/HWB_color_model
 */
export default class Hwb extends Color {
  constructor(h, w, b) {
    super(NAME, [[KEYS.H, h], [KEYS.W, w], [KEYS.B, b]]);
  }

  clone() {
    return new Hwb(...this.values());
  }

  hsv() {
    let [h, s, v] = this.values();
    return new Hsv(h, 1 - 1 / (1 - b), 1 - b);
  }
}
{'fraction_non_alphanumeric': 0.2247992863514719, 'fraction_numerical': 0.007136485280999108, 'mean_word_length': 2.8293515358361776, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4060249', 'n_tokens_mistral': 463, 'n_tokens_neox': 450, 'n_words': 114}