<commit_before>- model_name        = model_name.to_s
- label_attribute ||= :dag_label
- title_attribute ||= :title
- class_attribute ||= :dag_class

- plural_model_name = model_name.pluralize
- models = instance_variable_get("@#{model_name.to_s.pluralize}")

- if instance_variable_get("@#{model_name.pluralize}").any?

  #dag

  css:

    text {
      font-weight: 300;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
      font-size: 14px;
      pointer-events: none;
    }

    .node circle {
      stroke: #999;
      fill: #ccc;
      stroke-width: 1.5px;
    }

    .node { cursor: pointer; }

    .node.html circle { fill: #6D9CA5; stroke: #6D9CA5; }
    .node.css  circle { fill: #87A38F; stroke: #87A38F; }
    .node.js   circle { fill: #9B8FAB; stroke: #9B8FAB; }
    .node.rb   circle { fill: #AB8E8B; stroke: #AB8E8B; }

    .node:hover .label {
      display: block;
    }

    .edgePath path {
      stroke: #777;
      stroke-width: 1.5px;
    }

    tspan { fill: #fff; pointer-events: none; }

  javascript:

    // Create the input graph
    var g = new dagreD3.graphlib.Graph()
      .setGraph({
        nodesep: 10,
        rankdir: 'LR',
        edgesep: 0,
        ranksep: 100,
        marginx: 20,
        marginy: 20
      })<commit_msg>added colors for more skill languages<commit_after>- model_name        = model_name.to_s
- label_attribute ||= :dag_label
- title_attribute ||= :title
- class_attribute ||= :dag_class

- plural_model_name = model_name.pluralize
- models = instance_variable_get("@#{model_name.to_s.pluralize}")

- if instance_variable_get("@#{model_name.pluralize}").any?

  #dag

  css:

    text {
      font-weight: 300;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
      font-size: 14px;
      pointer-events: none;
    }

    .node circle {
      stroke: #999;
      fill: #ccc;
      stroke-width: 1.5px;
    }

    .node { cursor: pointer; }

    .node.html circle { fill: #6D9CA5; stroke: #6D9CA5; }
    .node.css  circle { fill: #87A38F; stroke: #87A38F; }
    .node.js   circle { fill: #9B8FAB; stroke: #9B8FAB; }
    .node.rb   circle { fill: #AB8E8B; stroke: #AB8E8B; }
    .node.git  circle { fill: #3a4c5a; stroke: #3a4c5a; }
    .node.meta circle { fill: #aa9e93; stroke: #aa9e93; }
    .node.life circle { fill: #ca9e53; stroke: #ca9e53; }

    .node:hover .label {
      display: block;
    }

    .edgePath path {
      stroke: #777;
      stroke-width: 1.5px;
    }

    tspan { fill: #fff; pointer-events: none; }

  javascript:

    // Create the input graph
    var g = new dagreD3.graphlib.Graph()
      .setGraph({
        nodesep: 10,
        rankdir: 'LR',
        edgesep: 0,
        ranksep: 100,
        marginx: 20,
        marginy: 20
      })
{'fraction_non_alphanumeric': 0.1406816533720087, 'fraction_numerical': 0.04133430021754895, 'mean_word_length': 2.312124849939976, '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': '6863932', 'n_tokens_mistral': 1118, 'n_tokens_neox': 1037, 'n_words': 227}