<commit_before>namespace :step_nav do
  desc "Publish /learn-to-drive-a-car step navigation to publishing api"
  task publish_learn_to_drive_a_car: :environment do
    content_id = "e01e924b-9c7c-4c71-8241-66a575c2f61f"
    params = {
      base_path: "/learn-to-drive-a-car",
      publishing_app: "collections-publisher",
      rendering_app: "collections",
      public_updated_at: Time.zone.now.iso8601,
      update_type: "major",
      change_note: "updating the content to match the new step_by_step_nav schema",
      schema_name: "step_by_step_nav",
      document_type: "step_by_step_nav",
      title: "Learn to drive a car: step by step",
      description: "Learn to drive a car in the UK - get a provisional licence, take driving lessons, prepare for your theory test, book your practical test.",
      details: {
        step_by_step_nav: {
          title: "Learn to drive a car: step by step",
          introduction: "Check what you need to do to learn to drive.",
          steps: [
            {
              title: "Check you're allowed to drive",
              contents: [
                {
                  type: "paragraph",
                  text: "Most people can start learning to drive when they’re 17."
                },
                {
                  type: "list",<commit_msg>Update learn to drive with new schema<commit_after>namespace :step_nav do
  desc "Publish /learn-to-drive-a-car step navigation to publishing api"
  task publish_learn_to_drive_a_car: :environment do
    content_id = "e01e924b-9c7c-4c71-8241-66a575c2f61f"
    params = {
      base_path: "/learn-to-drive-a-car",
      publishing_app: "collections-publisher",
      rendering_app: "collections",
      public_updated_at: Time.zone.now.iso8601,
      update_type: "major",
      change_note: "updating the content to match the new step_by_step_nav schema",
      schema_name: "step_by_step_nav",
      document_type: "step_by_step_nav",
      title: "Learn to drive a car: step by step",
      description: "Learn to drive a car in the UK - get a provisional licence, take driving lessons, prepare for your theory test, book your practical test.",
      details: {
        step_by_step_nav: {
          title: "Learn to drive a car: step by step",
          introduction: [
            {
              content_type: "text/govspeak",
              content: "Check what you need to do to learn to drive."
            }
          ],
          steps: [
            {
              title: "Check you're allowed to drive",
              contents: [
                {
                  type: "paragraph",
                  text: "Most people can start learning to drive when they’re 17."
                },
                {
                  type: "list",
{'fraction_non_alphanumeric': 0.08761766835626358, 'fraction_numerical': 0.020275162925416364, 'mean_word_length': 2.0665926748057712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1074762', 'n_tokens_mistral': 846, 'n_tokens_neox': 789, 'n_words': 250}