Commit 66fb30b
Convert benchmark_ipfn.py to pyre-strict
Summary:
## Instructions about RACER Diffs:
**Commandeer this diff (recommended) or land with accept2ship tag.**
*This feature is still in BETA and we are continuously improving it. Your constructive feedback would help improving RACER and highly appreciated.*
**This diff was generated by Racer AI agent on behalf of [Butterfly Bot](https://www.internalfb.com/profile/view/499719602) service user with oncall [Brian Zhou](https://www.internalfb.com/profile/view/100003198094823) for T245529640. If the diff quality is poor, consider contacting the oncall to provide clearer instructions on the task.**
You will receive **FULL CREDIT** (ETS) for this diff if you either:
- [**Recommended**]Commandeer and land this diff after another reviewer's approval
- Accept it and ship it after required approvals are provided.
Once landed, feel free to claim the associated task and the EYS project.
This diff fixes a 'Pyre Strict' issue identified by Quality Insight from [Monetization codehub](https://fburl.com/quality/wmkbc0si).
- If you are happy with the changes, commandeer it if minor edits are needed. (**we encourage commandeer to get the diff credit**)
- If you are not happy with the changes, please comment on the diff with clear actions and send it back to the author. Racer will pick it up and re-generate.
- If you really feel the Racer is not helping with this change (alas, some complex changes are hard for AI) feel free to abandon this diff.
- **For M10N reviewers:** as you review AI-generated diffs, we ask you to give them the same priority as human-generated diffs, and take action in a timely manner by either accepting, rejecting, or resigning as a reviewer. For diffs that don't meet the quality bar (e.g. code doesn't compile, not readable or introduces functionality regressions), we ask that you use the following hashtags to provide clear signals to improve our tools - `#monlowqualitydiff` `#monwrongreviewerdiff`
## Summary:
This diff converts `fbcode/core_stats/balance/parent_balance/benchmarks/benchmark_ipfn.py` from `# pyre-unsafe` to `# pyre-strict`. The file already had proper type annotations for all functions, parameters, and return values, so only the pyre mode directive needed to be changed.
---
> Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/)
[Session](https://www.internalfb.com/confucius?session_id=0c8a56f4-c471-11f0-a6d8-75f34fe94384&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=0c8a56f4-c471-11f0-a6d8-75f34fe94384&tab=Trace)
Reviewed By: wesleytlee
Differential Revision: D87324577
fbshipit-source-id: afd0367eededa1b7602ddeaefb1ac1667501d1e41 parent 53991ba commit 66fb30b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments