Skip to content
This repository was archived by the owner on Jan 26, 2020. It is now read-only.
/ autocoder Public archive

An automated coder for the Canadian Computing Competition

License

Notifications You must be signed in to change notification settings

reduced-reptile/autocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autocoder

Solving simple coding problems using keyword analysis, nlp, and templating.

GitHub

Motivation

autocoder is designed to be a simple, understandable, and intelligent way to automatically develop code. It is written entirely in Javascript, so it can be used entirely offline in a progressive web app. It is also developed to be entirely customizable to new examples.

Quick Start

There are three different folders in this application

  • autocoder-package is the brains of the autocoder platform. It runs entirely independently of the other two parts of the application
  • autocoder-frontend is the beauty of the autocoder platform. It uses the autocoder-package to display a very stylish version of the application to the user
  • autocoder-backend is the muscle of the autocoder platform. It serves the frontend, rest api, and a basic version of the application.

Usage

The recommended way to use autocoder is to run the autocoder-backened on a server. The simplest way to do this is using npm run dev :

To use the package:

const autocoder = require('autocoder');

const autocoderResponse = autocoder('code', 'en', {
    problemTitle: 'This is a sample problem',
    problemDescription: 'Echo the input as output',
    inputSpecification: 'One line of input',
    outputSpecification: 'One line of output',
    programmingLanguage: 'crystal'
});

console.log(autocoderResponse['code']);

About

An automated coder for the Canadian Computing Competition

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published