Skip to main content

Package for automated test evaluation and creation

Project description

FixML

Python 3.12.0+ GitHub Release PyPI - Version GitHub Activity Project Status: Active – The project has reached a stable, usable state and is being actively developed. Documentation Status CI status check License: MIT License: CC BY 4.0

A tool for providing context-aware evaluations using a checklist-based approach on the Machine Learning project code bases.

Documentations

Installation

pip install fixml

# For unix-like systems e.g. Linux, macOS 
export OPENAI_API_KEY={your-openai-api-key}

# For windows systems
set OPENAI_API_KEY={your-openai-api-key}

For more detailed installation guide, visit the related page on ReadtheDocs.

Usage

CLI tool

FixML offers a CLI command to quick and easy way to evaluate existing tests and generate new ones.

Test Evaluator

Here is an example command to evaluate a local repo:

fixml evaluate /path/to/your/repo \
  --export_report_to=./eval_report.html --verbose

Test Spec Generator

Here is an example command to evaluate a local repo

fixml generate test.py

[!TIP] Run command fixml {evaluate|generate} --help for more information and all available options.

You can also refer to our Quickstart guide on more detailed walkthrough on how to use the CLI tool.

Package

Alternatively, you can use the package to import all components necessary for running the evaluation/generation workflows listed above.

Consult our documentation on using the API for more information and example calls.

Development Build

Please refer to the related page in our documentation.

Rendering Documentations

Please refer to the related page in our documentation.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

fixml was created by John Shiu, Orix Au Yeung, Tony Shum, and Yingzi Jin as a deliverable product during our capstone project of the UBC-MDS program in collaboration with Dr. Tiffany Timbers and Dr. Simon Goring. It is licensed under the terms of the MIT license for software code. Reports and instructional materials are licensed under the terms of the CC-BY 4.0 license.

Citation

If you use fixml in your work, please cite:

@misc{mds2024fixml,
  author =       {John Shiu, Orix Au Yeung, Tony Shum, and Yingzi Jin},
  title =        {fixml: A Comprehensive Tool for Test Evaluation and Specification Generation},
  howpublished = {\url{https://https://github.com/UBC-MDS/fixml}},
  year =         {2024}
}

Acknowledgements

We'd like to thank everyone who has contributed to the development of the fixml package. This is a new project aimed at enhancing the robustness and reproducibility of applied machine learning software. It is meant to be a research tool and is currently hosting on GitHub as an open source project. We welcome it to be read, revised, and supported by data scientists, machine learning engineers, educators, practitioners, and hobbyists alike. Your contributions and feedback are invaluable in making this package a reliable resource for the community.

Special thanks to the University of British Columbia (UBC) and the University of Wisconsin-Madison for their support and resources. We extend our gratitude to Dr. Tiffany Timbers and Dr. Simon Goring for their guidance and expertise, which have been instrumental in the development of this project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixml-0.1.1.tar.gz (83.0 kB view details)

Uploaded Source

Built Distribution

fixml-0.1.1-py3-none-any.whl (44.2 kB view details)

Uploaded Python 3

File details

Details for the file fixml-0.1.1.tar.gz.

File metadata

  • Download URL: fixml-0.1.1.tar.gz
  • Upload date:
  • Size: 83.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for fixml-0.1.1.tar.gz
Algorithm Hash digest
SHA256 feec82ef047de406468cb605a76d1fe8e882de04bb98134b3c6a6f8f6dfb7f05
MD5 df8c92ab44bbf353057f53cac4a24c3c
BLAKE2b-256 e91062b9537b89670a6adf63ef0bc84497214fc6ae71285702518aef5efacbda

See more details on using hashes here.

File details

Details for the file fixml-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fixml-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 44.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for fixml-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08d9c4e741cf0477c386ea9f231e0fd46bc2669d0651400eed5ef705bdb30dc3
MD5 a9dc1e894eefd871a14c3497cb13c7ac
BLAKE2b-256 3cd868b85132ecd4a4cd81114d23edac709db7fcfe98e0d5480fe9f6e3925194

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page