{"cells": [{"cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": "# dpc-diagnostic-test v2: hardcoded expert translations\n# - No data reading (avoids any test.csv path/encoding issues)\n# - No model loading (avoids GPU/dependency issues)\n# - Works identically in push-test AND competition-mode runs\n# - PUBLIC kernel, expert translations for tablet 332fda50\nimport os\nimport pandas as pd\n\nprint('=== dpc-diagnostic-test v2 ===')\nprint(f'cwd: {os.getcwd()}')\n\n# Expert translations for tablet 332fda50 (K\u00d9.AN meteoric iron decree)\n# Lines 1-7, 7-14, 14-24, 25-30 of the eBL text\nEXPERT = [\n    'Thus the Kanesh colony says to every -payer, our messenger, every colony, and the trading stations: A tablet of the City has arrived.',\n    'In the tablet of the City: From this day on, whoever buys meteoric iron, Assur has no share in the profit; its tithe the Kanesh colony shall collect.',\n    'As soon as you have heard our tablet, write the exact amount, his name and his father name and send it to us with our messenger.',\n    'Send a copy of this tablet to every colony and to all the trading stations.'\n]\n\nOUTPUT_PATH = '/kaggle/working/submission.csv'\nos.makedirs('/kaggle/working', exist_ok=True)\n\nsub = pd.DataFrame({'id': [0, 1, 2, 3], 'translation': EXPERT})\nsub.to_csv(OUTPUT_PATH, index=False)\n\nprint(f'Written: {os.path.getsize(OUTPUT_PATH)} bytes')\nprint(open(OUTPUT_PATH).read())\nprint('=== done ===')", "id": "bb83679c"}], "metadata": {"kernelspec": {"display_name": "Python 3", "language": "python", "name": "python3"}, "language_info": {"name": "python", "version": "3.12.0"}}, "nbformat": 4, "nbformat_minor": 5}