Skip to content

Classification

Jan Svačina edited this page Oct 25, 2019 · 1 revision

v1

We are in Iteration 2 (Deep Learning) prototype v1. Because this is a research project, we are interested in the experiment itself growing as tasks are completed. In v1 we use the following types of classification

  "classifications": [
    "loop",
    "conditional",
    "method_call",
    "assignment",
    "creation",
    "termination",
    "switch",
    "case",
    "lambda",
    "inline"
  ]
}

These will expand and evolve as experimental data shows this to be more or less useful and we add depth to these classifications (such as loop type, conditional type, etc.)

v2

As v2 develops from the results of v1, we will list the more concretely determined classifications below.

{
  "classifications": [
    "conditional":[
      "ternary",
      "else",
      "if",
      "else-if",
    ],
    "block-end",
    "loop":[
      "do",
      "while",
      "for",
      "foreach",
    ],
    "primitive-assignment",
    "object-creation":[
      "via-new",
      "via-method-call"
    ],
    "method-call":[
      "static-method",
      "external-static-method",
      "member-function",
      "external-member-function"
    ],
    "lambda-other"
  ]
}

Clone this wiki locally