jebin2 commited on
Commit
36554c3
·
1 Parent(s): 99270bf

using full script for duplicate

Browse files
data/executed_lines.txt ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. He used this simple neck massager during a quiet break, relieving muscle tension, inviting relaxation, and supporting health and wellness. Soon enough
2
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. So he tried this calming neck massager, easing neck strain, softening the shoulders, and improving circulation. In a moment
3
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. So he used this everyday neck massager to release the strain, melting tension, calming the mind, and supporting wellness. Soon after
4
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. That’s when he reached for this soothing neck massager, easing neck strain, softening the shoulders, and improving circulation. Right away
5
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. Then he chose a relaxing neck and shoulder massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. Almost immediately
6
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. Then he picked up this home neck massager and reset, bringing relaxation, muscle tension relief, and better circulation. Right away
7
+ he felt tightness rising along his neck and shoulders after a long commute. It tightened with movement. Then he picked up this home neck massager and reset, reducing stress, relaxing tight muscles, and boosting circulation. Soon enough
8
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. He decided to give this gentle neck massager a chance, relieving muscle tension, inviting relaxation, and supporting health and wellness. In an instant
9
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. He used this simple neck massager during a quiet break, easing neck strain, softening the shoulders, and improving circulation. Right away
10
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. He used this simple neck massager during a quiet break, reducing stress, relaxing tight muscles, and boosting circulation. Soon enough
11
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. He used this simple neck massager during a quiet break, relieving muscle tension, inviting relaxation, and supporting health and wellness. In that moment
12
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. So he tried this calming neck massager, easing neck strain, softening the shoulders, and improving circulation., with calm relief Right away
13
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. So he turned to a comforting neck massager for support, relieving muscle tension, inviting relaxation, and supporting health and wellness. Before long
14
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. So he used this everyday neck massager to release the strain, relieving muscle tension, inviting relaxation, and supporting health and wellness. Right away
15
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. Then he chose a relaxing neck and shoulder massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. Moments later
16
+ he found his neck limited on every turn after carrying boxes upstairs. It tightened with movement. Then he picked up this home neck massager and reset, easing neck strain, softening the shoulders, and improving circulation. Right away
17
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. He decided to give this gentle neck massager a chance, easing neck strain, softening the shoulders, and improving circulation. Right away
18
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. He finally tried this supportive neck massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. In that moment
19
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. He used this simple neck massager during a quiet break, melting tension, calming the mind, and supporting wellness. Soon enough
20
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. So he turned to a comforting neck massager for support, bringing relaxation, muscle tension relief, and better circulation. In a moment
21
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. So he used this everyday neck massager to release the strain, bringing relaxation, muscle tension relief, and better circulation. Right away
22
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. So he used this everyday neck massager to release the strain, melting tension, calming the mind, and supporting wellness. In that moment
23
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. That’s when he reached for this soothing neck massager, reducing stress, relaxing tight muscles, and boosting circulation. Almost immediately
24
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. Then he chose a relaxing neck and shoulder massager, melting tension, calming the mind, and supporting wellness. Before long
25
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. Then he chose a relaxing neck and shoulder massager, reducing stress, relaxing tight muscles, and boosting circulation. Soon after
26
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. Then he chose a relaxing neck and shoulder massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. In an instant
27
+ he noticed his shoulders lifting with stress while working against a deadline. It tightened with movement. Then he picked up this home neck massager and reset, relieving muscle tension, inviting relaxation, and supporting health and wellness. Almost immediately
28
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. He decided to give this gentle neck massager a chance, relieving muscle tension, inviting relaxation, and supporting health and wellness. Right away
29
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. He finally tried this supportive neck massager, easing neck strain, softening the shoulders, and improving circulation. Before you know it
30
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he relied on this easy neck massager to unwind, easing neck strain, softening the shoulders, and improving circulation. In an instant
31
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he relied on this easy neck massager to unwind, easing neck strain, softening the shoulders, and improving circulation. Right away
32
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he relied on this easy neck massager to unwind, relieving muscle tension, inviting relaxation, and supporting health and wellness. Before you know it
33
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he tried this calming neck massager, bringing relaxation, muscle tension relief, and better circulation. Moments later
34
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he turned to a comforting neck massager for support, reducing stress, relaxing tight muscles, and boosting circulation. In an instant
35
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. So he turned to a comforting neck massager for support, relieving muscle tension, inviting relaxation, and supporting health and wellness. Soon enough
36
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. That’s when he reached for this soothing neck massager, easing neck strain, softening the shoulders, and improving circulation. Before long
37
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. That’s when he reached for this soothing neck massager, reducing stress, relaxing tight muscles, and boosting circulation. Almost immediately
38
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. That’s when he reached for this soothing neck massager, reducing stress, relaxing tight muscles, and boosting circulation. Moments later
39
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. Then he chose a relaxing neck and shoulder massager, easing neck strain, softening the shoulders, and improving circulation. Soon after
40
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. Then he picked up this home neck massager and reset, bringing relaxation, muscle tension relief, and better circulation. In an instant
41
+ he rubbed the tense spot where his neck meets his shoulders after yard work. It tightened with movement. Then he picked up this home neck massager and reset, relieving muscle tension, inviting relaxation, and supporting health and wellness. In that moment
42
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. He decided to give this gentle neck massager a chance, reducing stress, relaxing tight muscles, and boosting circulation. Soon enough
43
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. He finally tried this supportive neck massager, bringing relaxation, muscle tension relief, and better circulation. Before you know it
44
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. He finally tried this supportive neck massager, reducing stress, relaxing tight muscles, and boosting circulation., with calm relief Before long
45
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. He finally tried this supportive neck massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. Right away
46
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. So he relied on this easy neck massager to unwind, easing neck strain, softening the shoulders, and improving circulation. Right away
47
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. So he tried this calming neck massager, reducing stress, relaxing tight muscles, and boosting circulation., with calm relief In an instant
48
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. So he turned to a comforting neck massager for support, easing neck strain, softening the shoulders, and improving circulation. Before long
49
+ he winced as shoulder tension crept in while scrolling on the couch. It tightened with movement. That’s when he reached for this soothing neck massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. Almost immediately
50
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. She finally tried this supportive neck massager, bringing relaxation, muscle tension relief, and better circulation., with calm relief Right away
51
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. She used this simple neck massager during a quiet break, reducing stress, relaxing tight muscles, and boosting circulation. In a moment
52
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. She used this simple neck massager during a quiet break, reducing stress, relaxing tight muscles, and boosting circulation. Soon after
53
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she relied on this easy neck massager to unwind, easing neck strain, softening the shoulders, and improving circulation. Before long
54
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she relied on this easy neck massager to unwind, easing neck strain, softening the shoulders, and improving circulation. In that moment
55
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she turned to a comforting neck massager for support, bringing relaxation, muscle tension relief, and better circulation. In a moment
56
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she turned to a comforting neck massager for support, easing neck strain, softening the shoulders, and improving circulation. In a moment
57
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she turned to a comforting neck massager for support, melting tension, calming the mind, and supporting wellness. Right away
58
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she turned to a comforting neck massager for support, reducing stress, relaxing tight muscles, and boosting circulation. Soon after
59
+ she felt a sharp pull beneath her ear after a day of driving. It tightened with movement. So she used this everyday neck massager to release the strain, relieving muscle tension, inviting relaxation, and supporting health and wellness. Before long
60
+ she massaged a sore knot along her trapezius after cleaning the house. It tightened with movement. So she tried this calming neck massager, melting tension, calming the mind, and supporting wellness., with calm relief In an instant
61
+ she massaged a sore knot along her trapezius after cleaning the house. It tightened with movement. So she tried this calming neck massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. In an instant
62
+ she massaged a sore knot along her trapezius after cleaning the house. It tightened with movement. So she turned to a comforting neck massager for support, reducing stress, relaxing tight muscles, and boosting circulation. Moments later
63
+ she massaged a sore knot along her trapezius after cleaning the house. It tightened with movement. That’s when she reached for this soothing neck massager, easing neck strain, softening the shoulders, and improving circulation. Almost immediately
64
+ she massaged a sore knot along her trapezius after cleaning the house. It tightened with movement. Then she chose a relaxing neck and shoulder massager, reducing stress, relaxing tight muscles, and boosting circulation. Soon after
65
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. She finally tried this supportive neck massager, bringing relaxation, muscle tension relief, and better circulation. Almost immediately
66
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. So she relied on this easy neck massager to unwind, bringing relaxation, muscle tension relief, and better circulation. Before long
67
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. So she relied on this easy neck massager to unwind, melting tension, calming the mind, and supporting wellness. Almost immediately
68
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. So she turned to a comforting neck massager for support, easing neck strain, softening the shoulders, and improving circulation. Soon enough
69
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. So she used this everyday neck massager to release the strain, reducing stress, relaxing tight muscles, and boosting circulation. Before you know it
70
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. That’s when she reached for this soothing neck massager, easing neck strain, softening the shoulders, and improving circulation. Before long
71
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. That’s when she reached for this soothing neck massager, relieving muscle tension, inviting relaxation, and supporting health and wellness. Before long
72
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. Then she chose a relaxing neck and shoulder massager, melting tension, calming the mind, and supporting wellness. Before long
73
+ she noticed a dull ache building at the base of her neck during meetings. It tightened with movement. Then she picked up this home neck massager and reset, easing neck strain, softening the shoulders, and improving circulation. Right away
74
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. She decided to give this gentle neck massager a chance, melting tension, calming the mind, and supporting wellness. In an instant
75
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. She finally tried this supportive neck massager, bringing relaxation, muscle tension relief, and better circulation., with calm relief In that moment
76
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. She used this simple neck massager during a quiet break, bringing relaxation, muscle tension relief, and better circulation. Soon enough
77
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. She used this simple neck massager during a quiet break, melting tension, calming the mind, and supporting wellness. Moments later
78
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. So she relied on this easy neck massager to unwind, relieving muscle tension, inviting relaxation, and supporting health and wellness. Right away
79
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. So she turned to a comforting neck massager for support, relieving muscle tension, inviting relaxation, and supporting health and wellness. In a moment
80
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. So she turned to a comforting neck massager for support, relieving muscle tension, inviting relaxation, and supporting health and wellness. Moments later
81
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. So she used this everyday neck massager to release the strain, reducing stress, relaxing tight muscles, and boosting circulation. Soon after
82
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. That’s when she reached for this soothing neck massager, bringing relaxation, muscle tension relief, and better circulation. In a moment
83
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. Then she chose a relaxing neck and shoulder massager, bringing relaxation, muscle tension relief, and better circulation. Before you know it
84
+ she realized her posture had tightened through her shoulders during study. It tightened with movement. Then she picked up this home neck massager and reset, reducing stress, relaxing tight muscles, and boosting circulation. In an instant
data/executed_lines_job0.txt CHANGED
@@ -144,26 +144,3 @@ darkeningpainfromstressYoufeellikeitdims
144
  shefeltstiffnessclimbingupherneckafterhour
145
  hefeltpaininhisshouldersfrompushingstrolle
146
  mountingstraininshoulderaftertasksYoufeel
147
- herubbedthetensespotwherehisneckmeetshis
148
- sherealizedherposturehadtightenedthroughher
149
- sherealizedherposturehadtightenedthroughher
150
- hewincedasshouldertensioncreptinwhilescrol
151
- hewincedasshouldertensioncreptinwhilescrol
152
- hefoundhisnecklimitedoneveryturnaftercarr
153
- shefeltasharppullbeneathherearafteraday
154
- shemassagedasoreknotalonghertrapeziusafter
155
- sherealizedherposturehadtightenedthroughher
156
- herubbedthetensespotwherehisneckmeetshis
157
- shefeltasharppullbeneathherearafteraday
158
- hefelttightnessrisingalonghisneckandshould
159
- hefelttightnessrisingalonghisneckandshould
160
- henoticedhisshouldersliftingwithstresswhile
161
- shemassagedasoreknotalonghertrapeziusafter
162
- hewincedasshouldertensioncreptinwhilescrol
163
- hefelttightnessrisingalonghisneckandshould
164
- sherealizedherposturehadtightenedthroughher
165
- henoticedhisshouldersliftingwithstresswhile
166
- hewincedasshouldertensioncreptinwhilescrol
167
- shenoticedadullachebuildingatthebaseofhe
168
- hefoundhisnecklimitedoneveryturnaftercarr
169
- hefoundhisnecklimitedoneveryturnaftercarr
 
144
  shefeltstiffnessclimbingupherneckafterhour
145
  hefeltpaininhisshouldersfrompushingstrolle
146
  mountingstraininshoulderaftertasksYoufeel
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/executed_lines_job1.txt CHANGED
@@ -144,34 +144,4 @@ tirednessinshouldersposthoursYoufeellikei
144
  anchoringrigidityinupperbackYoufeellikeit
145
  ongoingdiscomfortinneckloadYoufeellikeit
146
  creepingtensioninnecksilentlyYoufeellikei
147
- sherealizedherposturehadtightenedthroughher
148
- shefeltasharppullbeneathherearafteraday
149
- herubbedthetensespotwherehisneckmeetshis
150
- henoticedhisshouldersliftingwithstresswhile
151
- shefeltasharppullbeneathherearafteraday
152
- hefoundhisnecklimitedoneveryturnaftercarr
153
- shefeltasharppullbeneathherearafteraday
154
- shemassagedasoreknotalonghertrapeziusafter
155
- shemassagedasoreknotalonghertrapeziusafter
156
- hefoundhisnecklimitedoneveryturnaftercarr
157
- herubbedthetensespotwherehisneckmeetshis
158
- shenoticedadullachebuildingatthebaseofhe
159
- sherealizedherposturehadtightenedthroughher
160
- henoticedhisshouldersliftingwithstresswhile
161
- hefelttightnessrisingalonghisneckandshould
162
- shenoticedadullachebuildingatthebaseofhe
163
- henoticedhisshouldersliftingwithstresswhile
164
- herubbedthetensespotwherehisneckmeetshis
165
- henoticedhisshouldersliftingwithstresswhile
166
- shenoticedadullachebuildingatthebaseofhe
167
- sherealizedherposturehadtightenedthroughher
168
- hefoundhisnecklimitedoneveryturnaftercarr
169
- hefelttightnessrisingalonghisneckandshould
170
- shenoticedadullachebuildingatthebaseofhe
171
- sherealizedherposturehadtightenedthroughher
172
- herubbedthetensespotwherehisneckmeetshis
173
- hefelttightnessrisingalonghisneckandshould
174
- henoticedhisshouldersliftingwithstresswhile
175
- herubbedthetensespotwherehisneckmeetshis
176
- hefelttightnessrisingalonghisneckandshould
177
- hewincedasshouldertensioncreptinwhilescrol
 
144
  anchoringrigidityinupperbackYoufeellikeit
145
  ongoingdiscomfortinneckloadYoufeellikeit
146
  creepingtensioninnecksilentlyYoufeellikei
147
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/executed_lines_job2.txt CHANGED
@@ -1,33 +1,2 @@
1
  escalatingstrainincervicalareaYoufeellike
2
- weightytensioninshoulderareaYoufeellikeit
3
- hewincedasshouldertensioncreptinwhilescrol
4
- hefoundhisnecklimitedoneveryturnaftercarr
5
- shemassagedasoreknotalonghertrapeziusafter
6
- sherealizedherposturehadtightenedthroughher
7
- herubbedthetensespotwherehisneckmeetshis
8
- shefeltasharppullbeneathherearafteraday
9
- hefoundhisnecklimitedoneveryturnaftercarr
10
- henoticedhisshouldersliftingwithstresswhile
11
- shenoticedadullachebuildingatthebaseofhe
12
- henoticedhisshouldersliftingwithstresswhile
13
- shenoticedadullachebuildingatthebaseofhe
14
- shenoticedadullachebuildingatthebaseofhe
15
- henoticedhisshouldersliftingwithstresswhile
16
- hewincedasshouldertensioncreptinwhilescrol
17
- sherealizedherposturehadtightenedthroughher
18
- shefeltasharppullbeneathherearafteraday
19
- hewincedasshouldertensioncreptinwhilescrol
20
- shefeltasharppullbeneathherearafteraday
21
- herubbedthetensespotwherehisneckmeetshis
22
- shefeltasharppullbeneathherearafteraday
23
- hefoundhisnecklimitedoneveryturnaftercarr
24
- henoticedhisshouldersliftingwithstresswhile
25
- henoticedhisshouldersliftingwithstresswhile
26
- hefelttightnessrisingalonghisneckandshould
27
- henoticedhisshouldersliftingwithstresswhile
28
- sherealizedherposturehadtightenedthroughher
29
- herubbedthetensespotwherehisneckmeetshis
30
- sherealizedherposturehadtightenedthroughher
31
- shenoticedadullachebuildingatthebaseofhe
32
- herubbedthetensespotwherehisneckmeetshis
33
- herubbedthetensespotwherehisneckmeetshis
 
1
  escalatingstrainincervicalareaYoufeellike
2
+ weightytensioninshoulderareaYoufeellikeit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
src/process_csv.py CHANGED
@@ -18,7 +18,6 @@ import random
18
  DATA_DIR = Path("data")
19
  ALL_VIDEO_FILE_INFO = None
20
 
21
-
22
  def get_progress_file(job_index=None):
23
  """Get the appropriate progress file for this job."""
24
  if job_index is not None:
@@ -217,13 +216,12 @@ async def process_all_csvs(config, commit=False, job_index=None, total_jobs=None
217
 
218
  for global_row_index, csv_name, row in rows_to_process:
219
  tts_script = row.get("TTS Script (AI Avatar)", "")
220
- safe_name = "".join(c for c in tts_script[:50] if c.isalnum()) or "unknown"
221
 
222
  # if "her shoulders got tight from typing emails all day" not in tts_script and "my evening bloomed into a cozy gathering with friends" not in tts_script:
223
  # continue
224
 
225
- if safe_name in executed:
226
- logger.info(f"⏭️ Skipping {safe_name} (already executed)")
227
  continue
228
 
229
  try:
@@ -236,20 +234,20 @@ async def process_all_csvs(config, commit=False, job_index=None, total_jobs=None
236
  success_count += 1
237
  # Write progress to THIS JOB's file only
238
  with progress_file.open("a") as pf:
239
- pf.write(f"{safe_name}\n")
240
 
241
  # Commit every 5 successful completions to reduce git overhead
242
  if success_count % 2 == 0:
243
  git_commit_progress(job_index, commit)
244
 
245
- logger.info(f"✅ {safe_name} completed successfully ({success_count}/{processed_count})")
246
  else:
247
- logger.warning(f"⚠️ {safe_name} pipeline failed, NOT marking as complete")
248
  if success_count % 2 == 1:
249
  git_commit_progress(job_index, commit)
250
 
251
  except Exception as e:
252
- logger.error(f"❌ Error processing {safe_name}: {e}", exc_info=True)
253
  # Continue processing other rows instead of breaking
254
  continue
255
 
 
18
  DATA_DIR = Path("data")
19
  ALL_VIDEO_FILE_INFO = None
20
 
 
21
  def get_progress_file(job_index=None):
22
  """Get the appropriate progress file for this job."""
23
  if job_index is not None:
 
216
 
217
  for global_row_index, csv_name, row in rows_to_process:
218
  tts_script = row.get("TTS Script (AI Avatar)", "")
 
219
 
220
  # if "her shoulders got tight from typing emails all day" not in tts_script and "my evening bloomed into a cozy gathering with friends" not in tts_script:
221
  # continue
222
 
223
+ if tts_script in executed:
224
+ logger.info(f"⏭️ Skipping {tts_script} (already executed)")
225
  continue
226
 
227
  try:
 
234
  success_count += 1
235
  # Write progress to THIS JOB's file only
236
  with progress_file.open("a") as pf:
237
+ pf.write(f"{tts_script}\n")
238
 
239
  # Commit every 5 successful completions to reduce git overhead
240
  if success_count % 2 == 0:
241
  git_commit_progress(job_index, commit)
242
 
243
+ logger.info(f"✅ {tts_script} completed successfully ({success_count}/{processed_count})")
244
  else:
245
+ logger.warning(f"⚠️ {tts_script} pipeline failed, NOT marking as complete")
246
  if success_count % 2 == 1:
247
  git_commit_progress(job_index, commit)
248
 
249
  except Exception as e:
250
+ logger.error(f"❌ Error processing {tts_script}: {e}", exc_info=True)
251
  # Continue processing other rows instead of breaking
252
  continue
253