Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.06 KB

Lux-AI

Kaggle Competition
Challenge Repository
Challenge Viewer

Testing

We use pytest for unit testing in this project. Test files are named with the pattern Test*.py and are located in each separate module.

Running Tests

Before merging or pushing changes, please run the unit tests using the following command in the main directory:

pytest

This will discover and run all test files across the project.

Logging

This project uses Python's built-in logging module for tracking events and debugging.

Adding Log Entries

To add a logging entry, use the logging.info() function in the corresponding section of the code. For example:

import logging

logging.info("This is an informational log message")

You can also use other log levels such as logging.debug(), logging.warning(), logging.error(), and logging.critical() as appropriate for the severity of the message.