šŸŽ‰ Hackathon - Preflight Checks Maker FairāœØ - Results... Finally

Hi everyone, results are in!

see last post! :champagne: :rocket:


As mentioned in our previous meetup, we are launching:

Hackathon around the Preflight Checks feature.

Details can be found here:
Hackathon - Preflight Checks - Conditions

after reading all the details, if you still have questions:


Deadline is November 1st, 2024


Categories & Prizes

All relevant entries will be added to the official pyRevit preflight checks.

  • :star_struck: Keep It Simple - $25 Gift Card or Equivalent
    A check that is both simple and smart.
  • :computer: Code Elegance - $50 Gift Card or Equivalent
    Code that is either artistically elegant or highly Pythonic.
  • :rocket: Most Advanced - $100 Gift Card or Equivalent
    A complete check that pushes the boundaries of quality control.
  • :astronaut::computer::star: Best of the Best - $200 Gift Card or Equivalent
    Simple, elegant, advanced, and maybe even smarter than the othersā€”this entry might include a library that makes the check more reusable. Code improvements to the Preflight Checks Tools are also welcome.

and some extra references: preflights checks in pyRevit documentation

8 Likes

I want to say that I feel actually excited. a very strange feeling indeed.
Iā€™ll do my best to contribute to this effort.

1 Like

Nice initiative! :tada:

Would it be possible to include check-scripts located in custom extensions?
I.e. placing a checks folder in the extension, like we do with hooks now.

I tried to find a way to iterate over the extensions and add scripts in a ā€œchecksā€ folder in lib or extension root, but I have limited understanding of the pyrevit master code.

It would be great for those that develop company specific QA/checks, and woukd make it easier to develop new checks to be added to pyRevit, since we dont have to change/add to the main pyrevit repo code.

this is already implemented (from day one)
in your custom.extension folder you just have to add your folder named checks and put your script.py in here.

1 Like

Thats what I get for overcomplicate thingsā€¦

Thank you for explaining :+1:

quoting myself in the docs: preflight checks documentation

The ā€˜checksā€™ are all located in a ā€˜checksā€™ folder at the root of any extension folder (meaning even in a custom extension folder). The basic ones that comes with pyRevit as well:

@Jean-Marc
I have made a PR to share my preflight script. Itā€™s my first time on Github, so hopefully you can see it.

4 Likes

@KSalmon
Beautiful check, and works really nice,
Is there a way for getting CAD links placed on ACC Docs to show up? I couldnā€™t figure out a way of getting this to work within the API.

If you manage to create a library to report, reload CAD links from ACC Docs, this will be a huge addition to pyrevit.

Thanks Tay!
Iā€™m not sure about how this works with ACC projects. I would have to investigate, but I donā€™t often have active projects in ACC, so I donā€™t have a subscription. If someone could invite me for a period I could do some tests.
I like your idea of adding the option to reload a link.

1 Like

Finally,
I will get to that.
Here is the list of the winners.
3 Contestants, a bit lame to have had so little engagement, but that is a first, and the submissions were interesting, and some went over the top in terms of improvement of their original submission @tayOthman

:star_struck: Keep It Simple - $25 Gift Card or Equivalent

A check that is both simple and smart.
@andreasd811 you earned it. And I liked the fact this could scale eventually or become its own tool :clap:

:computer: Interesting Code Idea Elegance- $50 Gift Card or Equivalent

I changed a bit this category becauseā€¦ I can ;p
@KSalmon you earned it! The check makes sense, and while its complexity is average, it has interesting ideas in it. It would require some love, but this is a good first one

:rocket: Most Advanced potential - $100 Gift Card or Equivalent

A complete check that pushes the boundaries of quality control.
@andreasd811 you earned it for its potential. I see the tool as an interesting validation tool.

:astronaut::computer::star: Best of the Best - $200 Gift Card or Equivalent

Simple, elegant, advanced, and maybe even smarter than the othersā€”this entry might include a library that makes the check more reusable. Code improvements to the Preflight Checks Tools are also welcome.
@tayOthman the tool is interesting and your involvement was outstanding! Good job :rocket:

I will contact you by email for the details to get your prizes.
Thanks for your engagement!

Best judge :rocket:

@sanzoghenzo you bring so much to the project with your knack and expert eyes for code quality/etiquette! Thank you man :parachute:
@dosymep you are not bad too :wink:

4 Likes

Many thanks to @Jean-Marc for the organization of this Marathon!

3 Likes

Big thanks to @Jean-Marc for steering this initiativeā€”Iā€™ve learned so much, and Iā€™m really excited about future hackathons! Shoutout to @sanzoghenzo for your pythonic tricks and patience with my undisciplined functions, and @dosymep for guiding me through the good methods in the pyRevit library.

Iā€™ve learned so much over the past two months, and Iā€™m incredibly grateful to all of you.

5 Likes

Iā€™ve learned a lot. My ideas come from practical experience. PyRevit is an underrated tool with great potential. Iā€™m already looking forward to the next competition and its participants. Thank you very much, @Jean-Marc @sanzoghenzo @dosymep :rocket:

4 Likes

Hi everyone. Thanks for your kind evaluation of my inelegant proposal. Thanks also for the suggestions for improvement. That will help the learning.
I am happy to contribute further in the future (to the existing Preflights, for example) if you are interested in good ideas with amateurish coding.

2 Likes