pluto / parser-attestor

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

bounty: parallel mocha #71

Open lonerapier opened 3 months ago

lonerapier commented 3 months 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 2 months ago

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

Autoparallel commented 2 months 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.

omarsoufiane commented 2 months ago

hello @lonerapier , you can create a bounty on Bountyhub, it's integrated into github, (a bot will comment to let other people know that there is a bounty) and if no one solves your bounty you can retract it and get your money back, it's a simple process where you import issues by pasting the issue URL and the payment is upfront so that developers attempting to solve the issue know that the amount is already available.

Autoparallel commented 2 months ago

hello @lonerapier , you can create a bounty on Bountyhub, it's integrated into github, (a bot will comment to let other people know that there is a bounty) and if no one solves your bounty you can retract it and get your money back, it's a simple process where you import issues by pasting the issue URL and the payment is upfront so that developers attempting to solve the issue know that the amount is already available.

@brunny-eth can you look into this?

brunny-eth commented 2 months ago

thanks for the recommendation @omarsoufiane, we will consider using bountyhub in the future!

nabby27 commented 1 month ago

Another option is Opire

Disclaimer: I'm the cofounder xD

brunny-eth commented 1 month ago

thanks all, we will reach out if we're interested in moving to a more tailored solution. for now we are good with the manual method that we are using.