Thanks to visit codestin.com
Credit goes to github.com

Skip to content

shepai/arc_sussex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arc_sussex

Development area of coded solutions for the Sussex attempt at the AGI challenge

Getting Started

$ git clone https://github.com/shepai/arc_sussex
$ cd arc_sussex 
$ python -m venv .venv && source .venv/bin/activate 
$ pip install -r requirements.txt 

Most of the solutions so far make use of the utility functions provided by the arc_utils pacakge. In order to get started with development, you may need to build this package manually. Simply run pip install . inside the arc_utils directory from within your virtual environment.

Conventions

Conventions for coded solutions is to have a generate and a solve function, with the name of the problem. For exmaple this would be the structure for problem 1:

def solve_1(pattern): #solve given a pattern
    # @param pattern --> matrix
    # @returns matrix
    pass

def generate_1(): #generate a new pattern and the answer
    pass

THe filename will be given he number of the problem. So for the above example 1.py. This will make everything easier to bind later on.

Data type conventions are to use numpy arrays to represent patterns, and colours be represented by these colours.

import numpy as np

colours={'black':0,'blue':1,'red':2,'green':3,'yellow':4,'gray':5,'pink':6,'orange':7,'light-blue':8,'maroon':9}
example_matrix = np.zeros((3,3))

About

Development area of coded solutions for the Sussex attempt at the AGI challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages