feat: add analysis tools and dashboard views for intern data tracking and reporting
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
$data = json_decode(file_get_contents(__DIR__ . '/detailed_intern_analysis.json'), true);
|
||||
|
||||
foreach ($data as $id => $intern) {
|
||||
echo "================================================================================\n";
|
||||
echo "ID: {$id} | NAME: {$intern['name']} | DAYS: {$intern['filled_days']}/{$intern['total_days']}\n";
|
||||
echo "REPO: {$intern['repo']}\n";
|
||||
echo "PERIOD: {$intern['start_date']} -> {$intern['end_date']}\n";
|
||||
echo "ENTRIES COUNT: " . count($intern['all_entries']) . "\n";
|
||||
|
||||
echo "\n--- FIRST ENTRY ---\n";
|
||||
echo ($intern['entries_sample']['first']['content'] ?? 'N/A') . "\n";
|
||||
|
||||
echo "\n--- MIDDLE ENTRY ---\n";
|
||||
echo ($intern['entries_sample']['middle']['content'] ?? 'N/A') . "\n";
|
||||
|
||||
echo "\n--- LAST ENTRY ---\n";
|
||||
echo ($intern['entries_sample']['last']['content'] ?? 'N/A') . "\n";
|
||||
echo "\n";
|
||||
}
|
||||
Reference in New Issue
Block a user