Giter Club home page Giter Club logo

st-albnas-hackathon's Introduction

Tinybird "St. Albnas" Hackathon

Clean some data, win some swag

The Problem

The "St. Albnas" problem has become quite a meme on the internet. It seems to have originated here (h/t to Adam Sroka).

image

The meme captures a well known issue with data quality: Free-text fields aren't consistent!

The Goal

Write some code (SQL, GPT, regex, whatever you want) that will accurately, precisely, and consistently converge all of the elements in the positives.txt file to the correct spelling: St. Albans.

The code should repeatably converge as many of the entries as possible into the correct spelling while also avoiding false positives (e.g. you can't just replace the entire string with St. Albans everytime by brute force). To ensure that your code avoids false positives, we've included a negatives.txt file. Your code should avoid converting any of these to St. Albans.

The Rules

  • To submit an entry, clone this repo, checkout a new branch, and submit a pull request.
  • Use whatever language you want, whatever libraries you want, whatever. But it must be code and it must compile. (You can use GPT or any other LLM, but simple text GPT prompts will not be accepted!)
  • Any entry that converts the elements by brute force (i.e. by individual string matching) will be rejected.
  • Valid entries must include:
    • All necessary code to do the data cleansing
    • A README explaining how to run the code over the included .txt files.
    • A demonstration of the results you achieved (image, file, etc.) that should be repeatable
    • Optional: Include your Twitter handle in your GitHub profile if you'd like to be mentioned on Twitter.
  • Submissions are due by Friday, July 21st at 5 PM GMT
  • Tinybird employees may not participate

Scoring

Aim for Accuracy (ACC), measured as (true positives + true negatives) / (all possibilities).

For example, a submission that accurately converts 15 out of the 17 elements in positives.txt and accurately ignores 24 out of the 25 elements in negatives.txt would score (15 + 24) / (17 + 25) = 92.8%

Submissions that correctly convert all 17 of the elements in positives.txt and none of the 25 elements in negatives.txt to St. Albans would score a 100%.

Participation Award!

Let's be honest, this problem isn't that hard, but it should be fun! All you need to do is submit a working attempt, and you'll get $20 off at The Tinyshop. That's enough for a t-shirt, a coffee mug, or 2 sticker sheets!

Also, as an incentive to score well, we'll tweet the final leaderboard when this ends :).

Here's what you have to do to get the participation award:

  • Submit a valid entry (see above)
  • Star this repo
  • Follow Tinybird on Twitter @tinybirdco and/or LinkedIn
  • Share your submission on Twitter/LinkedIn using #stalbnashackathon (tag us too!)

Need help?

Join our Community Slack!

The Solution

It's a very simple project using Lucene to compare the texts against the canonical "St. Albans" ;) 100% of effectivity without reinventing the wheel XD

image

image

st-albnas-hackathon's People

Contributors

carmelonhaldon avatar tb-peregrine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.