feat: add utility scripts to automate internship journal review, approval, and summary generation processes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$data = json_decode(file_get_contents(__DIR__ . '/intern_code_summaries.json'), true);
|
||||
$out = "";
|
||||
foreach ($data as $d) {
|
||||
$out .= "==================================================\n";
|
||||
$out .= "İSİM: " . $d['name'] . " | REPO: " . $d['repo'] . "\n";
|
||||
foreach ($d['snippets'] as $s) {
|
||||
$out .= $s . "\n-----------------------\n";
|
||||
}
|
||||
}
|
||||
file_put_contents(__DIR__ . '/output.txt', $out);
|
||||
echo "Written to output.txt\n";
|
||||
Reference in New Issue
Block a user