<commit_before>syntax = "proto3";

package arcs;

option java_package = "arcs.core.data";
option java_multiple_files = true;

// Holds a single plan and particle specs used by it.
message RecipeEnvelopeProto {
  RecipeProto recipe = 1;
  repeated ParticleSpecProto particle_specs = 2;
}

// Plan: A resolved recipe that can be instantiated.
message RecipeProto {
  // Optional recipe name.
  string name = 1;
  repeated HandleProto handles = 2;
  repeated ParticleProto particles = 3;
}

// Recipe-level representation of a store.
message HandleProto {
  enum Fate {
    CREATE = 0;
    USE = 1;
    MAP = 2;
  }

  // Identifies a handle in a recipe.
  string name = 1;
  Fate fate = 2;
  string storage_key = 3;
  TypeProto type = 4;
}

// A single particle instance in a recipe.
message ParticleProto {
  // Refers to envelope.particle_specs.name
  string spec_name = 1;
  repeated HandleConnectionProto connections = 2;
}

// A connection between a handle instance and a particle instance.
message HandleConnectionProto {
  // Refers to envelope.particle_specs.connections.name
  string name = 1;
  // Refers to envelope.plan.handles.name
  string handle = 2;
}<commit_msg>Fix a typo in an comment in the recipe.proto file. (#4784)<commit_after>syntax = "proto3";

package arcs;

option java_package = "arcs.core.data";
option java_multiple_files = true;

// Holds a single plan and particle specs used by it.
message RecipeEnvelopeProto {
  RecipeProto recipe = 1;
  repeated ParticleSpecProto particle_specs = 2;
}

// Plan: A resolved recipe that can be instantiated.
message RecipeProto {
  // Optional recipe name.
  string name = 1;
  repeated HandleProto handles = 2;
  repeated ParticleProto particles = 3;
}

// Recipe-level representation of a store.
message HandleProto {
  enum Fate {
    CREATE = 0;
    USE = 1;
    MAP = 2;
  }

  // Identifies a handle in a recipe.
  string name = 1;
  Fate fate = 2;
  string storage_key = 3;
  TypeProto type = 4;
}

// A single particle instance in a recipe.
message ParticleProto {
  // Refers to envelope.particle_specs.name
  string spec_name = 1;
  repeated HandleConnectionProto connections = 2;
}

// A connection between a handle instance and a particle instance.
message HandleConnectionProto {
  // Refers to envelope.particle_specs.connections.name
  string name = 1;
  // Refers to envelope.recipe.handles.name
  string handle = 2;
}
{'fraction_non_alphanumeric': 0.08288213244481465, 'fraction_numerical': 0.01582673885880883, 'mean_word_length': 3.3912248628884827, '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': '7127789', 'n_tokens_mistral': 784, 'n_tokens_neox': 732, 'n_words': 268}