(filePath)
| 11 | const baselinePath = path.join(verificationDir, 'codex-live-baseline.json'); |
| 12 | |
| 13 | function readLineCount(filePath) { |
| 14 | if (!fs.existsSync(filePath)) return 0; |
| 15 | const content = fs.readFileSync(filePath, 'utf8'); |
| 16 | if (!content) return 0; |
| 17 | return content.split('\n').filter(Boolean).length; |
| 18 | } |
| 19 | |
| 20 | function readSize(filePath) { |
| 21 | if (!fs.existsSync(filePath)) return 0; |