{
  "note": "Public copy of the committed qualify-r1.json: clause ids are written in lower case, and the owner clause names neither the private list nor the tool's maker. The original is unchanged in the study's repository.",
  "version": "r1",
  "purpose": "Which public repositories count as a real data transformation project. Written and committed before any repository is listed, counted or measured.",
  "frame": {
    "source": "GitHub code search API, query filename:dbt_project.yml, split into file-size ranges so no single query passes the 1,000-result cap",
    "unit": "one repository; a repository holding several dbt_project.yml files is one candidate",
    "project_file_choice": "the dbt_project.yml outside dbt_packages/, dbt_modules/, target/, integration_tests/ and site-packages/ whose model folders hold the most model files; ties go to the shortest path",
    "known_gaps": [
      "code search covers default branches only and skips files it has not indexed",
      "projects hosted outside GitHub, and private projects, are not in the frame"
    ]
  },
  "clauses_in_order": [
    {
      "id": "c1_fork",
      "rule": "the repository is a fork",
      "stage": "metadata"
    },
    {
      "id": "c2_owner_listed",
      "rule": "the owner login, after lowercasing and dropping non-alphanumerics, contains the normalised name (4 or more characters) or equals the normalised name (under 4 characters) of a company on a private list, or is the tool's maker. Counted, never named.",
      "stage": "metadata"
    },
    {
      "id": "c3_tutorial",
      "rule": "the repository name or topics, split into lowercase alphanumeric tokens, contain a token from tutorial_tokens; or the description, tokenised the same way, contains a token from description_tokens; or the joined lowercase name, topics and description contain a substring from tutorial_substrings",
      "stage": "metadata"
    },
    {
      "id": "c4_package",
      "rule": "the repository holds a dbt_project.yml under an integration_tests/ folder (the packaging convention), or the chosen project file sits under a folder named include, tests, test, fixtures, samples, examples or example",
      "stage": "tree"
    },
    {
      "id": "c5_contributors",
      "rule": "fewer than 2 contributors in the contributors API after dropping accounts of type Bot and logins ending in [bot]; anonymous contributors are not counted. A repository whose contributor list the API refuses as too large counts as 2 or more.",
      "stage": "contributors"
    },
    {
      "id": "c6_models",
      "rule": "fewer than 20 model files (.sql or .py) under the chosen project's model folders, read from the repository tree; model folders are model-paths in dbt_project.yml, or models/ when it is not set",
      "stage": "tree"
    },
    {
      "id": "c7_tutorial_seeds",
      "rule": "the project's seed or model file names include all of raw_customers, raw_orders and raw_payments (the standard tutorial data set)",
      "stage": "tree"
    }
  ],
  "tutorial_tokens": [
    "tutorial",
    "tutorials",
    "course",
    "courses",
    "bootcamp",
    "zoomcamp",
    "workshop",
    "workshops",
    "training",
    "learn",
    "learning",
    "lesson",
    "lessons",
    "homework",
    "assignment",
    "assignments",
    "exercise",
    "exercises",
    "practice",
    "practicing",
    "example",
    "examples",
    "demo",
    "demos",
    "sample",
    "samples",
    "sandbox",
    "playground",
    "template",
    "templates",
    "starter",
    "boilerplate",
    "jaffle",
    "quickstart",
    "poc",
    "toy",
    "portfolio",
    "showcase",
    "capstone",
    "challenge",
    "interview",
    "takehome",
    "assessment",
    "kata",
    "curso",
    "ejemplo",
    "exemplo",
    "aula",
    "estudo",
    "estudio",
    "practica",
    "pratica",
    "desafio",
    "reto",
    "teste",
    "prueba",
    "test",
    "testing",
    "intro",
    "introduction",
    "beginner",
    "beginners",
    "udemy",
    "coursera",
    "datacamp"
  ],
  "tutorial_substrings": [
    "tutorial",
    "zoomcamp",
    "bootcamp",
    "jaffle",
    "getting-started",
    "getting_started",
    "gettingstarted",
    "hands-on",
    "take-home",
    "take_home",
    "case-study",
    "case_study",
    "final-project",
    "final_project",
    "learn-dbt",
    "learn_dbt",
    "dbt-learn",
    "dbt_learn",
    "dbt-fundamentals",
    "dbt_fundamentals",
    "data-engineering-zoomcamp"
  ],
  "after_qualifying": {
    "sample": "if more than 300 qualify, a simple random sample of 300 drawn with Python random.Random(20261110).sample over the qualifying list sorted by repository id; otherwise every qualifying repository",
    "stop_rule": "if fewer than 200 qualify, stop and report; no fallback to synthetic or tutorial projects",
    "clone": "shallow (depth 1), blobless, sparse: only *.yml, *.yaml, *.sql, *.py under the project, plus CI configuration files; deleted after measurement",
    "clone_time_exclusion": "a sampled repository that can no longer be cloned (deleted, made private, renamed away) is recorded as lost and not replaced; lost count published"
  },
  "published": "aggregates only; no repository, owner or project is named in any public file",
  "description_tokens": [
    "tutorial",
    "tutorials",
    "course",
    "courses",
    "bootcamp",
    "zoomcamp",
    "workshop",
    "homework",
    "assignment",
    "assignments",
    "exercise",
    "exercises",
    "capstone",
    "udemy",
    "coursera",
    "datacamp",
    "curso",
    "aula",
    "jaffle",
    "demo",
    "boilerplate",
    "template",
    "starter",
    "sandbox",
    "playground",
    "practice",
    "portfolio"
  ]
}
