Skip to content

Commit

Permalink
chore: replace Chad with Carl
Browse files Browse the repository at this point in the history
It's Carl. It's always been Carl. Chad is dead, long live Carl.
  • Loading branch information
triceo committed Sep 3, 2024
1 parent 5614082 commit 9b8ecd9
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private Set<Speaker> generateSpeakers() {
return buildSet(List.of(
new Speaker("1", "Amy Cole"),
new Speaker("2", "Beth Fox"),
new Speaker("3", "Chad Green"),
new Speaker("3", "Carl Green"),
new Speaker("4", "Dan Jones"),
new Speaker("5", "Elsa King"),
new Speaker("6", "Flo Li"),
Expand All @@ -113,7 +113,7 @@ private Set<Talk> generateTalks(Set<Speaker> speakers) {
getSpeakers(speakers, "Amy Cole", "Beth Fox"), Set.of(getRandomTheme()), Set.of(getRandomSector()),
Set.of(getRandomAudience()), 2, Set.of(getRandomContent()), "en", 551, 1));
talks.add(new Talk("S02", "Talk Two", getTalkType(LAB_TALK_TAG),
getSpeakers(speakers, "Chad Green"), Set.of(getRandomTheme()), Set.of(getRandomSector()),
getSpeakers(speakers, "Carl Green"), Set.of(getRandomTheme()), Set.of(getRandomSector()),
Set.of(getRandomAudience()), 3, Set.of(getRandomContent()), "en", 528, 0));
talks.stream().filter(t -> t.getCode().equals("S01")).findFirst()
.ifPresent(t -> t.setUndesiredRoomTags(Set.of(RECORDED_TAG)));
Expand Down Expand Up @@ -143,7 +143,7 @@ private Set<Talk> generateTalks(Set<Speaker> speakers) {
Set.of(getRandomSector()),
Set.of(getRandomAudience()), 3, Set.of(getRandomContent()), "en", 619, 0));
talks.add(new Talk("S10", "Talk Ten", getTalkType(BREAKOUT_TALK_TAG),
getSpeakers(speakers, "Beth Fox", "Chad Green"), Set.of(getRandomTheme()),
getSpeakers(speakers, "Beth Fox", "Carl Green"), Set.of(getRandomTheme()),
Set.of(getRandomSector()),
Set.of(getRandomAudience()), 3, Set.of(getRandomContent()), "en", 603, 1));
talks.add(new Talk("S11", "Talk Eleven", getTalkType(BREAKOUT_TALK_TAG),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public record DemoDataParameters(List<String> locations,
List<CountDistribution> availabilityCountDistribution,
int randomSeed) {}

private static final String[] FIRST_NAMES = { "Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay" };
private static final String[] FIRST_NAMES = { "Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay" };
private static final String[] LAST_NAMES = { "Cole", "Fox", "Green", "Jones", "King", "Li", "Poe", "Rye", "Smith", "Watt" };
private static final Duration SHIFT_LENGTH = Duration.ofHours(8);
private static final LocalTime MORNING_SHIFT_START_TIME = LocalTime.of(6, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
@ApplicationScoped
public class DemoDataGenerator {

private static final String[] FIRST_NAMES = { "Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay",
private static final String[] FIRST_NAMES = { "Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay",
"Jeri", "Hope", "Avis", "Lino", "Lyle", "Nick", "Dino", "Otha", "Gwen", "Jose", "Dena", "Jana", "Dave",
"Russ", "Josh", "Dana", "Katy" };
private static final String[] LAST_NAMES =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@ApplicationScoped
public class DemoDataGenerator {

private static final String[] FIRST_NAMES = { "Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay",
private static final String[] FIRST_NAMES = { "Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay",
"Jeri", "Hope", "Avis", "Lino", "Lyle", "Nick", "Dino", "Otha", "Gwen", "Jose", "Dena", "Jana", "Dave",
"Russ", "Josh", "Dana", "Katy" };
private static final String[] LAST_NAMES =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private List<Employee> generateEmployees() {
PAPER_CORP_CUSTOMER, HIGH,
STONE_LIMITED_CUSTOMER, LOW,
WOOD_EXPRESS_CUSTOMER, MEDIUM)),
new Employee("3", "Chad", List.of(STRATEGIC_PLANNING_SKILL, PROBLEM_SOLVING_SKILL),
new Employee("3", "Carl", List.of(STRATEGIC_PLANNING_SKILL, PROBLEM_SOLVING_SKILL),
Map.of(STEEL_INC_CUSTOMER, MEDIUM,
PAPER_CORP_CUSTOMER, HIGH,
STONE_LIMITED_CUSTOMER, MEDIUM,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@Path("demo-data")
public class VehicleRouteDemoResource {

private static final String[] FIRST_NAMES = { "Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay" };
private static final String[] FIRST_NAMES = { "Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay" };
private static final String[] LAST_NAMES = { "Cole", "Fox", "Green", "Jones", "King", "Li", "Poe", "Rye", "Smith", "Watt" };
private static final int[] SERVICE_DURATION_MINUTES = { 10, 20, 30, 40 };
private static final LocalTime MORNING_WINDOW_START = LocalTime.of(8, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class DemoDataParameters:
}


FIRST_NAMES = ("Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay")
FIRST_NAMES = ("Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay")
LAST_NAMES = ("Cole", "Fox", "Green", "Jones", "King", "Li", "Poe", "Rye", "Smith", "Watt")
SHIFT_LENGTH = timedelta(hours=8)
MORNING_SHIFT_START_TIME = time(hour=6, minute=0)
Expand Down
2 changes: 1 addition & 1 deletion python/vehicle-routing/src/vehicle_routing/demo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .domain import *


FIRST_NAMES = ("Amy", "Beth", "Chad", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay")
FIRST_NAMES = ("Amy", "Beth", "Carl", "Dan", "Elsa", "Flo", "Gus", "Hugo", "Ivy", "Jay")
LAST_NAMES = ("Cole", "Fox", "Green", "Jones", "King", "Li", "Poe", "Rye", "Smith", "Watt")
SERVICE_DURATION_MINUTES = (10, 20, 30, 40)
MORNING_WINDOW_START = time(8, 0)
Expand Down

0 comments on commit 9b8ecd9

Please sign in to comment.