dccuchile / wefe

WEFE: The Word Embeddings Fairness Evaluation Framework. WEFE is a framework that standardizes the bias measurement and mitigation in Word Embeddings models. Please feel welcome to open an issue in case you have any questions or a pull request if you want to contribute to the project!
https://wefe.readthedocs.io/
MIT License
173 stars 14 forks source link

Conftest refactorization #37

Closed pbadillatorrealba closed 2 years ago

pbadillatorrealba commented 2 years ago

Refactoring of conftest to avoid:

  1. loading fixtures that occupy code that at the time of loading had not yet been tested (such as the fixture model, which was loaded before even testing WordEmbeddingModel).
  2. use the fixtures of the conftest in a limited way, so that fixtures are not loaded in places where they are not needed.