Platform Detection Patterns

Overview

This data file contains comprehensive patterns and heuristics for detecting technology stacks, frameworks, dependencies, and platform requirements from project files. These patterns are used by I.S.A.A.C. during the project scanning phase.

Language Detection Patterns

JavaScript/Node.js Detection

{
  "language": "javascript",
  "confidence_base": 0.8,
  "file_patterns": [
    {
      "pattern": "package.json",
      "confidence_boost": 0.9,
      "required_fields": ["name", "version"],
      "framework_indicators": {
        "react": ["react", "react-dom", "react-scripts"],
        "vue": ["vue", "@vue/cli"],
        "angular": ["@angular/core", "@angular/cli"],
        "express": ["express"],
        "next": ["next", "react"]
      }
    },
    {
      "pattern": "package-lock.json",
      "confidence_boost": 0.7
    },
    {
      "pattern": "yarn.lock",
      "confidence_boost": 0.7
    },
    {
      "pattern": "*.js",
      "confidence_boost": 0.3,
      "content_patterns": [
        "require\\(",
        "module\\.exports",
        "import.*from",
        "export.*"
      ]
    },
    {
      "pattern": "*.ts",
      "confidence_boost": 0.4,
      "indicates_typescript": true
    }
  ],
  "version_detection": {
    "source": "package.json",
    "field": "engines.node",
    "fallback": ">=14.0.0"
  }
}

Python Detection

Java Detection

.NET Detection

Framework Detection Patterns

Web Frameworks

Backend Frameworks

Database Detection Patterns

Database Systems

Build System Detection

Build Tools

Container Detection Patterns

Containerization

Environment Detection Patterns

Development Environment

Testing Framework Detection

Testing Tools

Platform-Specific Patterns

Operating System Indicators

Confidence Scoring Algorithm

Scoring Rules

Pattern Matching Configuration

Matching Rules

Last updated