pluto / parser-attestor

Circuits for parsing, locking, and extracting from various widely-used formats including JSON and HTTP.
Apache License 2.0
11 stars 1 forks source link

bounty: parallel mocha #71

Open lonerapier opened 2 weeks ago

lonerapier commented 2 weeks ago

Bounty description

Implement and optimize the use of the mocha --parallel flag to improve test execution times in the Extractor repository. Initial impressions suggest a 30-40% improvement in test execution time. However, the current implementation fails for multiple tests due to async issues.

Implementation requirements

Bonus features

Resources

Mocha Parallel Tests Documentation JavaScript Deep Copy Techniques Async/Await Best Practices

Criteria

For timely submissions of bounties that meet the implementation requirements, a bounty of at least $250 will be awarded to the contributor. Additional bounty amounts are available and will be rewarded based on the following criteria:

  1. Completion of any of the bonus features listed above and/or other bonus features that improve the quality of the submission.
  2. Correctness and security: A thorough review of the implementation should convince our team that they are correct and secure, with all requirements met.
  3. Code clarity and quality: Succinct, easy-to-follow code with appropriate naming conventions. Utilize Rust’s type system for flexibility and security (e.g., compile-time checks where possible), and avoid external crates. Optimizations should be a lower priority than clarity, but can be included behind a feature flag as a bonus.
  4. Documentation quality: Provide comprehensive README’s, Cargo docs, and inline comments where code itself is not self-explanatory. Prioritize clarity and readability.
aybanda commented 6 days ago

@lonerapier I'm intersted in solving this, can you assign this to me?

Autoparallel commented 2 days ago

@aybanda can you pick one of the two issues you've commented on and go with that? Let's just assign one bounty per one person for now :)

The other one is higher prio in my opinion.