{
  "success": true,
  "workflow_state": {
    "start_time": null,
    "end_time": null,
    "current_step": "training_data_load",
    "completed_steps": [
      "ddl_md_generation",
      "question_sql_generation",
      "sql_validation",
      "training_data_load"
    ],
    "failed_steps": [],
    "artifacts": {
      "ddl_md_generation": {
        "total_tables": 7,
        "processed_successfully": 7,
        "failed": 0,
        "files_generated": 14,
        "duration": 99.36798214912415
      },
      "question_sql_generation": {
        "output_file": "C:\\Projects\\cursor_projects\\Vanna-Chainlit-Chromadb\\data_pipeline\\training_data\\task_20250721_113010\\qs_highway_db_20250721_114123_pair.json",
        "total_questions": 50,
        "total_themes": 5,
        "successful_themes": 5,
        "failed_themes": [],
        "duration": 164.1627950668335
      },
      "sql_validation": {
        "original_sql_count": 50,
        "valid_sql_count": 50,
        "invalid_sql_count": 0,
        "success_rate": 1.0,
        "repair_stats": {
          "attempted": 0,
          "successful": 0,
          "failed": 0
        },
        "file_modification_stats": {
          "modified": 0,
          "deleted": 0,
          "failed_modifications": 0
        },
        "average_execution_time": 0.02734846591949463,
        "total_retries": 0,
        "duration": 2.1500654220581055
      },
      "training_data_load": {
        "training_data_dir": "C:\\Projects\\cursor_projects\\Vanna-Chainlit-Chromadb\\data_pipeline\\training_data\\task_20250721_113010",
        "load_successful": true,
        "total_records": 191,
        "data_type_counts": {
          "sql": 146,
          "documentation": 24,
          "ddl": 21
        },
        "duration": 69.46266961097717
      }
    },
    "statistics": {
      "step1_duration": 99.36798214912415,
      "step2_duration": 164.1627950668335,
      "step3_duration": 2.1500654220581055,
      "step4_duration": 69.46266961097717
    }
  },
  "artifacts": {
    "ddl_md_generation": {
      "total_tables": 7,
      "processed_successfully": 7,
      "failed": 0,
      "files_generated": 14,
      "duration": 99.36798214912415
    },
    "question_sql_generation": {
      "output_file": "C:\\Projects\\cursor_projects\\Vanna-Chainlit-Chromadb\\data_pipeline\\training_data\\task_20250721_113010\\qs_highway_db_20250721_114123_pair.json",
      "total_questions": 50,
      "total_themes": 5,
      "successful_themes": 5,
      "failed_themes": [],
      "duration": 164.1627950668335
    },
    "sql_validation": {
      "original_sql_count": 50,
      "valid_sql_count": 50,
      "invalid_sql_count": 0,
      "success_rate": 1.0,
      "repair_stats": {
        "attempted": 0,
        "successful": 0,
        "failed": 0
      },
      "file_modification_stats": {
        "modified": 0,
        "deleted": 0,
        "failed_modifications": 0
      },
      "average_execution_time": 0.02734846591949463,
      "total_retries": 0,
      "duration": 2.1500654220581055
    },
    "training_data_load": {
      "training_data_dir": "C:\\Projects\\cursor_projects\\Vanna-Chainlit-Chromadb\\data_pipeline\\training_data\\task_20250721_113010",
      "load_successful": true,
      "total_records": 191,
      "data_type_counts": {
        "sql": 146,
        "documentation": 24,
        "ddl": 21
      },
      "duration": 69.46266961097717
    }
  }
}