Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Cardinal 0.0.5 documentation
Cardinal 0.0.5 documentation

Contents

  • Topics
    • Overall workflow
    • Settings file
  • Command-line interface
    • init
    • coverage
    • prepare
    • indicators
      • Red flags
        • Short submission period (R003)
        • Single bid received (R018)
        • Price close to winning bid (R024)
        • Excessive unsuccessful bids (R025)
        • Identical bid prices (R028)
        • Late bid won (R030)
        • All except winning bid disqualified (R035)
        • Lowest bid disqualified (R036)
        • Excessive disqualified bids (R038)
        • Heterogeneous supplier (R048)
        • Heavily discounted bid (R058)
  • Contributing
    • Add an indicator
      • Setup the repository
      • Code an indicator
      • Write the tests
      • Add documentation
    • Translation
  • Changelog
Back to top
View this page

Contributing¶

Setup¶

  • Set up the git pre-commit hook:

    pip install pre-commit
    pre-commit install
    
  • Install the nightly release of Rust:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain nightly
    

Note

If you are new to Rust, see the Reference section of the Rust page of the OCP Software Development Handbook.

Benchmarks¶

cargo bench

Note

We can consider the criterion crate for additional benchmarks.

Tasks¶

  • Add an indicator
  • Translation
Next
Add an indicator
Previous
Heavily discounted bid (R058)
Copyright © 2002, Open Contracting Partnership
Made with Sphinx and @pradyunsg's Furo
On this page
  • Contributing
    • Setup
    • Benchmarks
    • Tasks