eranheres / ultra_type

0 stars 0 forks source link

sweep: application should track each key stroke timing #25

Open eranheres opened 11 months ago

eranheres commented 11 months ago

modify the application so it will track each key stroke timing

Checklist - [X] Create `ultra_type/keystroke.py` ✓ https://github.com/eranheres/ultra_type/commit/e7a7960267cfb728b6dbcbb49c95203d80c80621 - [X] Modify `ultra_type/view.py` ✓ https://github.com/eranheres/ultra_type/commit/fd20aa40df5b296046dfd5fe941e04ce9df5a737 - [X] Modify `ultra_type/statistics.py` ✓ https://github.com/eranheres/ultra_type/commit/688692a58f1b649b20bf3e9f81145565f0076550 - [X] Create `tests/test_keystroke.py` ✓ https://github.com/eranheres/ultra_type/commit/bfb6db28cf2c1ba3075f5fa64b41f8e2d4a3de51 - [X] Create `tests/test_view.py` ✓ https://github.com/eranheres/ultra_type/commit/4f2809c0e07e9e3ad3e6229560c42015eb6215a4 - [X] Modify `tests/test_statistics.py` ✓ https://github.com/eranheres/ultra_type/commit/58840b04f364a45fc70c6eed1ede73786e2ae501 ![Flowchart](https://raw.githubusercontent.com/eranheres/ultra_type/sweep/assets/10107553b68fe96ac32e1af852c5e6581875097ba9273a222f835b3fbe94eada_25_flowchart.svg)
sweep-mine[bot] commented 11 months ago

Here's the PR! https://github.com/eranheres/ultra_type/pull/26.

💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: ace8c2df4b)

Actions (click)

Sandbox Execution X

Here are the sandbox execution logs prior to making any changes:

Sandbox logs for 88bbcb7
poetry run pylint -E **/*.py 1/1 ❌ (`2`)
************* Module ultra_type.controller
ultra_type/controller.py:2:0: E0611: No name 'View' in module 'ultra_type.view' (no-name-in-module)
************* Module ultra_type.main
ultra_type/main.py:2:0: E0611: No name 'View' in module 'ultra_type.view' (no-name-in-module)

Sandbox failed, so all sandbox checks will be disabled for this issue.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/eranheres/ultra_type/blob/88bbcb729d146a1920eb84c23d751839fda1cbd8/README.md#L1-L20 https://github.com/eranheres/ultra_type/blob/88bbcb729d146a1920eb84c23d751839fda1cbd8/tests/test_statistics.py#L1-L69 https://github.com/eranheres/ultra_type/blob/88bbcb729d146a1920eb84c23d751839fda1cbd8/tests/test_model.py#L1-L142 https://github.com/eranheres/ultra_type/blob/88bbcb729d146a1920eb84c23d751839fda1cbd8/ultra_type/statistics.py#L1-L13 https://github.com/eranheres/ultra_type/blob/88bbcb729d146a1920eb84c23d751839fda1cbd8/ultra_type/view.py#L1-L12

Step 2: ⌨️ Coding


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/keystroke-timing.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request. Join Our Discord