Skip to content

Conversation

@atravitz
Copy link
Contributor

@atravitz atravitz commented Jan 13, 2025

Resolves #1071

The intention is to change the default behavior to be --n-protocol-repeats=1 in v2.0, and for now this change allows for users to control this parameter via a CLI flag.

Checklist

  • Added a news entry

Developers certificate of origin

@atravitz atravitz requested a review from IAlibay January 13, 2025 21:43
@codecov
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.91%. Comparing base (ccc28db) to head (848f350).
Report is 160 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1076      +/-   ##
==========================================
- Coverage   94.62%   92.91%   -1.71%     
==========================================
  Files         136      137       +1     
  Lines       10087    10112      +25     
==========================================
- Hits         9545     9396     -149     
- Misses        542      716     +174     
Flag Coverage Δ
fast-tests 92.91% <100.00%> (?)
slow-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IAlibay
Copy link
Member

IAlibay commented Jan 15, 2025

@atravitz based on our conversation yesterday - I won't review this since it's in draft but do let me know if you want a review.

@atravitz atravitz marked this pull request as ready for review January 15, 2025 23:35
@atravitz atravitz force-pushed the add_n_option_to_cli branch from 78f07c8 to b390c3a Compare January 15, 2025 23:37
Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to expand the help message for that new flag - so that it's clearer to someone why they might want to modify this value.

Associated with this, we probably would want a cookbook or a tutorial demonstrating this new approach? (separate issue though)

@atravitz atravitz requested a review from IAlibay January 21, 2025 17:40
Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall lgtm, but a couple things documentation wise.

@hannahbaumann @jthorton could you have a look here and make sure you're happy with the user facing docs?

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but just the one word change - going back a little bit to what @jthorton originally proposed wording wise.

atravitz and others added 2 commits January 29, 2025 11:00
Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
@atravitz atravitz force-pushed the add_n_option_to_cli branch from 6c0e5e0 to 848f350 Compare January 29, 2025 19:00
@github-actions
Copy link

No API break detected ✅

@atravitz atravitz merged commit 00445dc into main Jan 29, 2025
12 checks passed
@atravitz atravitz deleted the add_n_option_to_cli branch January 29, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add support for one repeat per json

5 participants