Git Product home page Git Product logo

musicbrainz-databot's Introduction

This is an edit bot that automatically combines data from different sources, and contributes data to the MusicBrainz project (www.musicbrainz.org). The source is provided here to give other editors insight into the inner workings of this bot, to help spot errors in the algorithm. In its current state, it will be hard to get running without help, but if there are other editors who want to start collaborating on this project, I'll be happy to make it more install-friendly.

For those who want to read source, a quick overview.
There are two major components:
1. Data analysis, finds missing data and proposes edits (mainly in SQL)
2. Edit bot, submits edits to MusicBrainz (in Perl)

The data analysis part is done with a collection of views and functions.
- schema/*.sql: defines the views and functions
- runtasks: Runs functions after MusicBrainz replication. There is a schedule in the 'tasks' table that indicates after how many replication cycles a function is rerun.

The edit bot source can be found in the Perl modules
- runedits: launches the edit queue
- lib/MusicBrainz/EditQueue.pm: queries which edit type has the most open edits and runs the edit runner for that type
- lib/MusicBrainz/Edit/*: edit runners, in particular RelationshipTrack.pm creates ARs between artists and tracks

Contact: http://musicbrainz.org/user/mod_email.html?uid=11780

musicbrainz-databot's People

Contributors

jeroenl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ppawel

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.