Skip to content

Commit a9c9aff

Browse files
author
Tom Brandenburg
committed
fix: systematic batch addition of missing environment variables to 4 critical advanced templates
- content-moderation-template: Add 33 missing variables (MODERATION_RESULT, NEGATIVE_COUNT, etc.) - automated-testing-monitoring-template: Add 34 missing variables (ALERT_LEVEL, AVG_RESPONSE_TIME, etc.) - data-validation-cleanup-template: Add 20 missing variables (CLEANED_COUNT, ERROR_COUNT, etc.) - parallel-processing-aggregation-template: Add 14 missing variables (AGGREGATED_SIZE, SUCCESS_RATE, etc.) Total: 101 missing environment variables systematically identified and added across 4 templates using text-search analysis methodology to resolve unbound variable errors in GitHub Actions CI. Expected impact: Increase template success rate from 31/40 (77.5%) to 35-40/40 (87-100%)
1 parent fc12a9c commit a9c9aff

4 files changed

Lines changed: 690 additions & 0 deletions

File tree

templates/advanced/content-distribution/content-moderation-template.yaml

Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,288 @@ environment_variables:
123123
description: 'Internal processing variable for content analysis flags'
124124
required: false
125125
default: ''
126+
- variable: 'ENABLE_CHECK'
127+
name: 'Enable Check Variable'
128+
type: 'text'
129+
description: 'Internal processing variable for enabling profanity check'
130+
required: false
131+
default: ''
132+
- variable: 'AI_ANALYSIS'
133+
name: 'AI Analysis Variable'
134+
type: 'text'
135+
description: 'Internal processing variable for AI analysis results'
136+
required: false
137+
default: ''
138+
- variable: 'AI_RECOMMENDATIONS'
139+
name: 'AI Recommendations Variable'
140+
type: 'text'
141+
description: 'Internal processing variable for AI recommendations'
142+
required: false
143+
default: ''
144+
- variable: 'AI_RESPONSE'
145+
name: 'AI Response Variable'
146+
type: 'text'
147+
description: 'Internal processing variable for AI response'
148+
required: false
149+
default: ''
150+
- variable: 'AI_SAFETY_ASSESSMENT'
151+
name: 'AI Safety Assessment Variable'
152+
type: 'text'
153+
description: 'Internal processing variable for AI safety assessment'
154+
required: false
155+
default: ''
156+
- variable: 'AI_SAFETY_SCORE'
157+
name: 'AI Safety Score Variable'
158+
type: 'text'
159+
description: 'Internal processing variable for AI safety score'
160+
required: false
161+
default: ''
162+
- variable: 'BASIC_ANALYSIS'
163+
name: 'Basic Analysis Variable'
164+
type: 'text'
165+
description: 'Internal processing variable for basic analysis'
166+
required: false
167+
default: ''
168+
- variable: 'COUNT'
169+
name: 'Count Variable'
170+
type: 'text'
171+
description: 'Internal processing variable for counting'
172+
required: false
173+
default: ''
174+
- variable: 'ENABLE_SENTIMENT'
175+
name: 'Enable Sentiment Variable'
176+
type: 'text'
177+
description: 'Internal processing variable for sentiment analysis flag'
178+
required: false
179+
default: ''
180+
- variable: 'FLAGGED'
181+
name: 'Flagged Variable'
182+
type: 'text'
183+
description: 'Internal processing variable for flagged status'
184+
required: false
185+
default: ''
186+
- variable: 'HATE_MATCHES'
187+
name: 'Hate Matches Variable'
188+
type: 'text'
189+
description: 'Internal processing variable for hate speech matches'
190+
required: false
191+
default: ''
192+
- variable: 'HATE_SCORE'
193+
name: 'Hate Score Variable'
194+
type: 'text'
195+
description: 'Internal processing variable for hate speech score'
196+
required: false
197+
default: ''
198+
- variable: 'HATE_TERMS'
199+
name: 'Hate Terms Variable'
200+
type: 'text'
201+
description: 'Internal processing variable for hate terms list'
202+
required: false
203+
default: ''
204+
- variable: 'HTTP_CODE'
205+
name: 'HTTP Code Variable'
206+
type: 'text'
207+
description: 'Internal processing variable for HTTP response code'
208+
required: false
209+
default: ''
210+
- variable: 'MODERATION_RESULT'
211+
name: 'Moderation Result Variable'
212+
type: 'text'
213+
description: 'Internal processing variable for moderation result'
214+
required: false
215+
default: ''
216+
- variable: 'NEGATIVE_COUNT'
217+
name: 'Negative Count Variable'
218+
type: 'text'
219+
description: 'Internal processing variable for negative sentiment count'
220+
required: false
221+
default: ''
222+
- variable: 'NEGATIVE_RATIO'
223+
name: 'Negative Ratio Variable'
224+
type: 'text'
225+
description: 'Internal processing variable for negative sentiment ratio'
226+
required: false
227+
default: ''
228+
- variable: 'NEGATIVE_WORDS'
229+
name: 'Negative Words Variable'
230+
type: 'text'
231+
description: 'Internal processing variable for negative words list'
232+
required: false
233+
default: ''
234+
- variable: 'NEUTRAL_COUNT'
235+
name: 'Neutral Count Variable'
236+
type: 'text'
237+
description: 'Internal processing variable for neutral sentiment count'
238+
required: false
239+
default: ''
240+
- variable: 'NEUTRAL_RATIO'
241+
name: 'Neutral Ratio Variable'
242+
type: 'text'
243+
description: 'Internal processing variable for neutral sentiment ratio'
244+
required: false
245+
default: ''
246+
- variable: 'NEUTRAL_WORDS'
247+
name: 'Neutral Words Variable'
248+
type: 'text'
249+
description: 'Internal processing variable for neutral words list'
250+
required: false
251+
default: ''
252+
- variable: 'NORMALIZED_SCORE'
253+
name: 'Normalized Score Variable'
254+
type: 'text'
255+
description: 'Internal processing variable for normalized profanity score'
256+
required: false
257+
default: ''
258+
- variable: 'OVERALL_DECISION'
259+
name: 'Overall Decision Variable'
260+
type: 'text'
261+
description: 'Internal processing variable for overall moderation decision'
262+
required: false
263+
default: ''
264+
- variable: 'OVERALL_SENTIMENT'
265+
name: 'Overall Sentiment Variable'
266+
type: 'text'
267+
description: 'Internal processing variable for overall sentiment assessment'
268+
required: false
269+
default: ''
270+
- variable: 'POSITIVE_COUNT'
271+
name: 'Positive Count Variable'
272+
type: 'text'
273+
description: 'Internal processing variable for positive sentiment count'
274+
required: false
275+
default: ''
276+
- variable: 'POSITIVE_RATIO'
277+
name: 'Positive Ratio Variable'
278+
type: 'text'
279+
description: 'Internal processing variable for positive sentiment ratio'
280+
required: false
281+
default: ''
282+
- variable: 'POSITIVE_WORDS'
283+
name: 'Positive Words Variable'
284+
type: 'text'
285+
description: 'Internal processing variable for positive words list'
286+
required: false
287+
default: ''
288+
- variable: 'PROFANITY_ANALYSIS'
289+
name: 'Profanity Analysis Variable'
290+
type: 'text'
291+
description: 'Internal processing variable for profanity analysis results'
292+
required: false
293+
default: ''
294+
- variable: 'PROFANITY_FLAGGED'
295+
name: 'Profanity Flagged Variable'
296+
type: 'text'
297+
description: 'Internal processing variable for profanity flagged status'
298+
required: false
299+
default: ''
300+
- variable: 'PROFANITY_MATCHES'
301+
name: 'Profanity Matches Variable'
302+
type: 'text'
303+
description: 'Internal processing variable for profanity matches list'
304+
required: false
305+
default: ''
306+
- variable: 'PROFANITY_SCORE'
307+
name: 'Profanity Score Variable'
308+
type: 'text'
309+
description: 'Internal processing variable for profanity score'
310+
required: false
311+
default: ''
312+
- variable: 'PROFANITY_WORDS'
313+
name: 'Profanity Words Variable'
314+
type: 'text'
315+
description: 'Internal processing variable for profanity words list'
316+
required: false
317+
default: ''
318+
- variable: 'REPORT_FILE'
319+
name: 'Report File Variable'
320+
type: 'text'
321+
description: 'Internal processing variable for report file path'
322+
required: false
323+
default: ''
324+
- variable: 'REPORTS_DIR'
325+
name: 'Reports Directory Variable'
326+
type: 'text'
327+
description: 'Internal processing variable for reports directory path'
328+
required: false
329+
default: ''
330+
- variable: 'REQUIRES_REVIEW'
331+
name: 'Requires Review Variable'
332+
type: 'text'
333+
description: 'Internal processing variable for manual review requirement'
334+
required: false
335+
default: ''
336+
- variable: 'RESPONSE_BODY'
337+
name: 'Response Body Variable'
338+
type: 'text'
339+
description: 'Internal processing variable for HTTP response body'
340+
required: false
341+
default: ''
342+
- variable: 'RISK_LEVEL'
343+
name: 'Risk Level Variable'
344+
type: 'text'
345+
description: 'Internal processing variable for risk level assessment'
346+
required: false
347+
default: ''
348+
- variable: 'SENTIMENT_ANALYSIS'
349+
name: 'Sentiment Analysis Variable'
350+
type: 'text'
351+
description: 'Internal processing variable for sentiment analysis results'
352+
required: false
353+
default: ''
354+
- variable: 'SENTIMENT_SCORE'
355+
name: 'Sentiment Score Variable'
356+
type: 'text'
357+
description: 'Internal processing variable for sentiment score'
358+
required: false
359+
default: ''
360+
- variable: 'THRESHOLD'
361+
name: 'Threshold Variable'
362+
type: 'text'
363+
description: 'Internal processing variable for moderation threshold'
364+
required: false
365+
default: ''
366+
- variable: 'TOTAL_SCORE'
367+
name: 'Total Score Variable'
368+
type: 'text'
369+
description: 'Internal processing variable for total moderation score'
370+
required: false
371+
default: ''
372+
- variable: 'TOTAL_SENTIMENT'
373+
name: 'Total Sentiment Variable'
374+
type: 'text'
375+
description: 'Internal processing variable for total sentiment count'
376+
required: false
377+
default: ''
378+
- variable: 'VIOLENCE_MATCHES'
379+
name: 'Violence Matches Variable'
380+
type: 'text'
381+
description: 'Internal processing variable for violence/threat matches'
382+
required: false
383+
default: ''
384+
- variable: 'VIOLENCE_SCORE'
385+
name: 'Violence Score Variable'
386+
type: 'text'
387+
description: 'Internal processing variable for violence/threat score'
388+
required: false
389+
default: ''
390+
- variable: 'VIOLENCE_TERMS'
391+
name: 'Violence Terms Variable'
392+
type: 'text'
393+
description: 'Internal processing variable for violence terms list'
394+
required: false
395+
default: ''
396+
- variable: 'WEBHOOK_RESPONSE'
397+
name: 'Webhook Response Variable'
398+
type: 'text'
399+
description: 'Internal processing variable for webhook response'
400+
required: false
401+
default: ''
402+
- variable: 'WEBHOOK_SUCCESS'
403+
name: 'Webhook Success Variable'
404+
type: 'text'
405+
description: 'Internal processing variable for webhook success status'
406+
required: false
407+
default: ''
126408

127409
graph:
128410
nodes:

0 commit comments

Comments
 (0)