cyberneticlibrary

Rewrite Tagalog chunks concisely

shorten-rerunworkflowsetup L30
helloluis/hiraia
What it does

Batch rewrite science tutoring dialogue chunks for brevity

Best for

Rewrite tutoring dialogue in bulk when all chunks need the same brevity + socratic tone rules.

Inputs
  • · 28 missing Tagalog JSONL files (path pattern)
Outputs
  • · condensed JSONL with assistant messages rewritten to 3-6 sentences
Requires
  • · Python (bash inline)
  • · file I/O (absolute paths)
Preconditions
  • · Input files exist at specified path
  • · Tagalog L1 understanding
  • · grade-level knowledge
Failure modes
  • · input line count != output (auto-detected)
  • · rewrite violates length rule
  • · language/tone shift
Trust signals
  • · line count verification (in == out)
  • · per-chunk JSONL structure preserved
  • · rule checklist (grade-appropriate, single example max)