Skip to content

hcinst/crowd-bots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sc-api

Python wrapper

This is a wrapper for the stall catchers bot api.

Routes

Register the bot
<host>/api/register
Method: POST
Body: [username, password, email]

Log the bot in
<host>/api/login
Method: POST
Body: [username, password]

Log the bot out
<host>/api/login
Method: GET
Body: [username, password]

Get a movie
<host>/api/movie
Method: GET

Save a movie answer
<host>/api/save-movie-answer
Method: POST
Body: [movieId, answer(1,0)]

Get score history
<host>/api/score-history
Method: GET

Bot

An abstract class for a bot using the api to:

  • register
  • log in
  • process videos
  • log out

The start time can either be a datetime or None, in which case the bot will start processing right away.

The stop condition is controlled using the "duration" argument. The bot will stop either after a set time while there are unseen movies, or if the duration was None, when the active dataset has been completed by the bot.

The only unimplemented method is the one used to process a movie at a time. It should return either 0 or 1, indicating whether the blood vessel section outlined in the video is flowing or stalled.

Gaia

Gaia is an intelligent bot using the 3rd place solution in the Clog Loss competition to make predictions for videos.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages