Skip to content

Conversation

@AssassinTee
Copy link
Contributor

@timakro I don't know if this script is in a form that you'd like.

  • This script reduces the demos for a map to the top10 and deletes the rest
  • it combines multiple records of a single player to his fastest
  • it ignores errored demos
  • it expects a file directory like the test_directory that is pushed

if noop:
print(f"Script would delete {file_path}")
else:
pass
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I still didn't put the code in, where file_path gets deleted

@timakro
Copy link
Member

timakro commented Nov 6, 2025

Ah whoops, missed this. I mean it's very verbose but it gets the job done. Test files should of course not be part of the commit but I suppose you just wanted to give me a preview before finalizing this PR.

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