<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>Shape Server</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  </head>
  <body>
    <code>curl -H "Content-Type: application/json" --data @example.json http://localhost:3000/draw > output.svg</code>
    Example JSON:
<pre>[
  {
    "shape": "circle"
  },
  {
    "shape": "circle",
    "transform": [
      {
        "type": "translate",
        "x": -10,
        "y": -8
      },
      {
        "type": "scale",
        "x": 10,
        "y": 10
      }
    ],
    "styleSheet": {
      "strokeWidth": 8,
      "stroke": "aqua",
      "fill": "purple"
    }
  },
  {
    "shape": "square",
    "transform": [
      {
        "type": "translate",
        "x": 3,
        "y": 4
      },
      {
        "type": "scale",
        "x": 10,
        "y": 10
      },
      {
        "type": "rotate",
        "angle": 10
      }
    ],
    "styleSheet": {
      "strokeWidth": 5,
      "stroke": "green",
      "fill": "purple"
    }<commit_msg>Update example JSON to use custom hex colours<commit_after><!DOCTYPE html>
<html>
  <head>
    <title>Shape Server</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  </head>
  <body>
    <code>curl -H "Content-Type: application/json" --data @example.json http://localhost:3000/draw > output.svg</code>
    Example JSON:
<pre>[
  {
    "shape": "circle"
  },
  {
    "shape": "circle",
    "transform": [
      {
        "type": "translate",
        "x": -10,
        "y": -8
      },
      {
        "type": "scale",
        "x": 10,
        "y": 10
      }
    ],
    "styleSheet": {
      "strokeWidth": 8,
      "stroke": "#D8D836",
      "fill": "purple"
    }
  },
  {
    "shape": "square",
    "transform": [
      {
        "type": "translate",
        "x": 3,
        "y": 4
      },
      {
        "type": "scale",
        "x": 10,
        "y": 10
      },
      {
        "type": "rotate",
        "angle": 10
      }
    ],
    "styleSheet": {
      "strokeWidth": 5,
      "stroke": "green",
      "fill": "#99aac6"
    }
{'fraction_non_alphanumeric': 0.20351526364477335, 'fraction_numerical': 0.02543940795559667, 'mean_word_length': 1.6378048780487804, 'pattern_counts': {'":': 54, '<': 25, '<?xml version=': 0, '>': 27, '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': '6841561', 'n_tokens_mistral': 825, 'n_tokens_neox': 773, 'n_words': 151}