<commit_before>// @flow
import {Point, Path, Group, PointText} from 'paper';

import { FLAT_COLORS } from '../colors';


export default class Seat {

  item: Group;
  position: Point;
  shape: Path;
  text: PointText;

  constructor(x: number, y: number, label: string) {
    this.position = new Point(x, y);

    const radius = 40;
    const outCircle = Path.Circle({
      position: this.position,
      radius,
      fillColor: FLAT_COLORS.POMEGRANATE,
      strokeColor: 'black',
    });

    const inCircle = Path.Circle({
      position: this.position,
      radius: radius * 0.8,
      fillColor: FLAT_COLORS.ALIZARIN,
    });

    this.text = new PointText({
      position: new Point(this.position.x, this.position.y + 12 * 0.5),
      content: label,
      fillColor: 'black',
      fontFamily: 'Helvetica',
      fontSize: 12,
      justification: 'center',
    });


    this.item = new Group({
      position: this.position,
      children: [
        outCircle,<commit_msg>define a constant for the seats fontSize<commit_after>// @flow
import {Point, Path, Group, PointText} from 'paper';

import { FLAT_COLORS } from '../colors';


export default class Seat {

  item: Group;
  position: Point;
  shape: Path;
  text: PointText;

  constructor(x: number, y: number, label: string) {
    this.position = new Point(x, y);

    const radius = 40;
    const outCircle = Path.Circle({
      position: this.position,
      radius,
      fillColor: FLAT_COLORS.POMEGRANATE,
      strokeColor: 'black',
    });

    const inCircle = Path.Circle({
      position: this.position,
      radius: radius * 0.8,
      fillColor: FLAT_COLORS.ALIZARIN,
    });

    const fontSize = 12;
    this.text = new PointText({
      position: new Point(this.position.x, this.position.y + fontSize * 0.5),
      content: label,
      fillColor: 'black',
      fontFamily: 'Helvetica',
      fontSize,
      justification: 'center',
    });


    this.item = new Group({
      position: this.position,
      children: [
        outCircle,
{'fraction_non_alphanumeric': 0.12586377097729518, 'fraction_numerical': 0.008884501480750246, 'mean_word_length': 2.5939716312056738, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2322154', 'n_tokens_mistral': 679, 'n_tokens_neox': 648, 'n_words': 175}