Skip to main content
added 4 characters in body
Source Link
toolic
  • 16.4k
  • 6
  • 29
  • 221

I wrote the Validator class. In the project, the presented code is located at the path ".../validator/init.py". It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But, I want to improve its reliability, readability, and extensibility.

In the logger settings, it is specified that the debug level is saved to a file. The Infoinfo level is output to the console.

I wrote the Validator class. In the project, the presented code is located at the path ".../validator/init.py". It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But I want to improve its reliability, readability, extensibility.

In the logger settings, it is specified that the debug level is saved to a file. The Info level is output to the console.

I wrote the Validator class. In the project, the presented code is located at the path ".../validator/init.py". It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But, I want to improve its reliability, readability and extensibility.

In the logger settings, it is specified that the debug level is saved to a file. The info level is output to the console.

Became Hot Network Question
deleted 83 characters in body
Source Link
toolic
  • 16.4k
  • 6
  • 29
  • 221

Hi! I wrote the Validator class. (InIn the project, the presented code is located at the path ".../validator/init.py"). It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But I want to improve its reliability, readability, extensibility.

The results of the function run_test_old_and_new_coderun_test_old_and_new_code I will apply for calculations of RAG efficiency. At the moment, the metric is not complicated. Code works - True, does not work - False. I create temporary files for executing the code and run them using subprocess.run(). Also, I added logging.

Thank you for the help!! Ready to answer clarifying questions.

Upd:

Hi! I wrote the Validator class. (In the project, the presented code is located at the path ".../validator/init.py") It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But I want to improve its reliability, readability, extensibility.

The results of the function run_test_old_and_new_code I will apply for calculations of RAG efficiency. At the moment, the metric is not complicated. Code works - True, does not work - False. I create temporary files for executing the code and run them using subprocess.run(). Also, I added logging.

Thank you for the help!! Ready to answer clarifying questions.

Upd:

I wrote the Validator class. In the project, the presented code is located at the path ".../validator/init.py". It is needed for testing code in different virtual Conda environments, in the virtual environments PyTorch with the necessary versions are prepared in advance. The code works properly. But I want to improve its reliability, readability, extensibility.

The results of the function run_test_old_and_new_code I will apply for calculations of RAG efficiency. At the moment, the metric is not complicated. Code works - True, does not work - False. I create temporary files for executing the code and run them using subprocess.run(). Also, I added logging.

+ logger settings info
Source Link
Sindik
  • 143
  • 5

Upd:

In the logger settings, it is specified that the debug level is saved to a file. The Info level is output to the console.

Upd:

In the logger settings, it is specified that the debug level is saved to a file. The Info level is output to the console.

Source Link
Sindik
  • 143
  • 5
Loading