kenlolhku commited on
Commit
abcfc87
·
verified ·
1 Parent(s): 0bfce2b

Update egg_timing.py

Browse files
Files changed (1) hide show
  1. egg_timing.py +3 -3
egg_timing.py CHANGED
@@ -7,13 +7,13 @@ from typing import Dict
7
 
8
  # Base cook times in seconds for each doneness target.
9
  DONENESS_BASE_SECONDS: Dict[str, int] = {
10
- "流心": 7 * 60,
11
- "軟心": int(6.5 * 60),
12
  "全熟": int(10.5 * 60),
13
  }
14
 
15
  # Add a small penalty for each extra egg after the first.
16
- SECONDS_PER_EXTRA_EGG = 4
17
 
18
 
19
  def calculate_cook_seconds(egg_count: int, doneness: str) -> int:
 
7
 
8
  # Base cook times in seconds for each doneness target.
9
  DONENESS_BASE_SECONDS: Dict[str, int] = {
10
+ "流心": 6.5 * 60,
11
+ "8成熟": int(7 * 60),
12
  "全熟": int(10.5 * 60),
13
  }
14
 
15
  # Add a small penalty for each extra egg after the first.
16
+ SECONDS_PER_EXTRA_EGG = 10
17
 
18
 
19
  def calculate_cook_seconds(egg_count: int, doneness: str) -> int: