- cases.yaml: 10 test cases con schema dichiarativo (op, assertions) - data/: 7 file reali (email_action.html, email_thread.html, email_single.html, email_heavy.html, generic_page.html, notes.txt, fallback.txt) - test_preprocessors.py: parametrize da YAML via test_detect / test_preprocess; assertion engine generico (no_html_tags, min_length, compression_ratio, metadata_keys, contains, not_contains, content_type) - requirements.txt: add PyYAML Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
1.4 KiB
HTML
50 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
table { border-collapse: collapse; width: 100%; max-width: 600px; margin: 0 auto; }
|
|
td { padding: 8px 12px; border: 1px solid #dddddd; font-size: 12px; color: #444444; }
|
|
.header-row { background-color: #003366; color: #ffffff; font-weight: bold; }
|
|
.label-col { background-color: #f0f0f0; width: 80px; font-weight: bold; }
|
|
.footer-row { font-size: 10px; color: #999999; text-align: center; }
|
|
</style>
|
|
</head>
|
|
<body bgcolor="#eeeeee">
|
|
<center>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr class="header-row">
|
|
<td colspan="2">Company Internal Update</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label-col">From:</td>
|
|
<td>newsletter@corp.com</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label-col">Subject:</td>
|
|
<td>Q1 Results Update</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label-col">Date:</td>
|
|
<td>Apr 7, 2026</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<table width="100%" cellpadding="10">
|
|
<tr>
|
|
<td>
|
|
<p style="font-size:14px; font-weight:bold;">Dear Team,</p>
|
|
<p>Q1 results are in. Revenue up 15% year-over-year.</p>
|
|
<p>Please review the attached report and share any feedback by EOW.</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr class="footer-row">
|
|
<td colspan="2">Confidential — do not forward outside the company.</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|