Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: style errors from productivity measurement PR #480

Merged
merged 33 commits into from
Aug 25, 2023

Conversation

angelala3252
Copy link
Collaborator

@angelala3252 angelala3252 commented Aug 25, 2023

What kind of change does this PR introduce?

refactoring to fix style errors in productivity PR
Summary

Checklist

  • My code follows the style guidelines of OpenAdapt
  • I have performed a self-review of my code
  • If applicable, I have added tests to prove my fix is functional/effective
  • I have linted my code locally prior to submission
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (e.g. README.md, requirements.txt)
  • New and existing unit tests pass locally with my changes

This was referenced Aug 25, 2023
@KrishPatel13
Copy link
Collaborator

Looks great, from here @Mustaballer we have to figure out why it is failing despite passing flake8 and black locally.

@Mustaballer
Copy link
Collaborator

Once #477 is merged, and this PR is updated, the status checks should pass. Also I don't believe that this should trigger a version bump(from the 'fix' in the PR title). Could you rename the PR title to refactor: style errors from productivity measurement PR

@angelala3252 angelala3252 changed the title fix: style errors from productivity measurement PR refactor: style errors from productivity measurement PR Aug 25, 2023
@abrichr
Copy link
Member

abrichr commented Aug 25, 2023

Thank you @angelala3252 ! 🙏

@abrichr abrichr merged commit 2089e74 into OpenAdaptAI:main Aug 25, 2023
R-ohit-B-isht pushed a commit to R-ohit-B-isht/OpenAdapt that referenced this pull request Jun 21, 2024
)

* check for long gaps in recording

* display basic productivity data in html page similar to visualize

* show images for each window change

* show productivity info for each window

* WIP find tasks/cycles of ActionEvents

* WIP find tasks/cycles of ActionEvents

* WIP implementing brent's algorithm

* implemented brent's algorithm

* add task duration info + style changes to display

* comments

* floyd's algorithm and basic implementation of counting errors

* implement longest repeated non-overlapping substring algorithm

* removed unused code

* small bug fixes

* no empty window titles

* small fixes

* add title

* edge case

* make longest repeated substring recursive

* changed window/tab switching

* add number of actions in a task

* add comments

* make sure no non-repeating tasks are found

* fix off by 1 error with window event screenshots

* remove unused functions, comments, and some refactoring

* docstrings

* black

* Undo changing PLOT_PERFORMANCE

* style changes
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.

4 participants