SIENTIAPDE-1182

Enhance tests.ipynb and gates.py for improved logging and output clarity

- Set execution count to null in tests.ipynb for reproducibility.
- Added stdout output to tests.ipynb for better visibility of results.
- Updated DataFrame display logic in tests.ipynb to include additional print statements for length and size.
- Improved debug logging in gates.py to log prediction data as a string for better traceability.
- Changed info log in gates.py to use len() instead of size for consistency.
This commit is contained in:
vitor-aignosi
2025-09-04 09:51:58 -03:00
parent da21c128f8
commit 2e420dadba
2 changed files with 18 additions and 3 deletions

View File

@@ -332,7 +332,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "e7c8eeb1",
"metadata": {},
"outputs": [
@@ -452,6 +452,14 @@
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"3\n",
"1\n"
]
}
],
"source": [
@@ -468,7 +476,13 @@
"\n",
"print(\"a\" in a.columns)\n",
"\n",
"display(a.tail(1))"
"b = a.tail(1)\n",
"\n",
"display(b)\n",
"\n",
"print(len(a))\n",
"print(len(b))\n",
"print(b.size)\n"
]
}
],