https://github.com/asadm/chota

https://github.com/asadm/chota

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: asadm
  • License: mit
  • Language: JavaScript
  • Default Branch: main
  • Size: 2.11 MB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md


Chota

Chota [cho-taa]: Small • Apprentice • Helper for trivial tasks

Report Bug · Request Feature

About The Project

Chota is a developer that lives in your GitHub repo. You can assign it trivial coding tasks using Github Issues and it sends Pull Request with the solution. It is a young helper based on GPT-4 and GitHub Actions that can read your existing codebase, search the internet for research and question itself to avoid mistakes.

What's so special about it?

File-system Access: Chota uses Function Calling to access filesystem, search internet, open webpages and read them for research. Given a task, it can use these functions to read your existing codebase and search the internet for research.

Self-correction tricks: Current GPT models make mistakes when writing code. To solve that: Chota uses multi-agent techniques. It uses one prompt to generate the solution to your given task and then it uses a different prompt to verify the solution.

Git workflow: Chota sends solution in a PR, you can ask it to iterate on the task using the GitHub issue itself. Chota will update the PR with the new solution by looking at older context and the newly requested updates.

How to use it?

To use Chota, follow the below steps:

  • Add the following workflow.yml file to the .github/workflows directory of your repo: ```yaml name: Chota Action

on: issues: types: [opened, edited] issue_comment: types: [created, edited]

jobs: branch-actions: runs-on: ubuntu-latest steps: - name: Checkout code uses: asadm/chota@3b117de11ebc90e7117895fbad57203c940cba05 with: GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }} OPENAIAPIKEY: ${{ secrets.OPENAIAPIKEY }} SERPAPIKEY: ${{ secrets.SERPAPIKEY }} ```

  • In your GitHub repo, go to Settings > Actions > General. Under Workflow Permissions, toggle on Read & write permissions.

  • Chota uses OpenAI and SERP API, so you will need to get API keys from these providers. Here are the steps to sign up and add these keys to your GitHub repository secrets:

    1. Sign up on OpenAI and generate the API key.
    2. Sign up on SERP API. The API key can be found on the homepage once you log in.
    3. Go to your GitHub repository.
    4. In the upper-right corner, click Settings.
    5. In the left sidebar, click Secrets and variables > Actions.
    6. Click New repository secret.
    7. Enter a name for the secret in the Name field, such as OPENAI_API_KEY or SERP_API_KEY.
    8. Paste your API key into the Value field.
    9. Click Add secret to save.
  • Once the above steps are done, you can create a new issue in your repository. Label it 'chota' and describe your task in the issue body.

License

MIT

Owner

  • Name: Asad Memon
  • Login: asadm
  • Kind: user
  • Location: San Francisco Bay Area

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 88
  • Total Committers: 2
  • Avg Commits per committer: 44.0
  • Development Distribution Score (DDS): 0.034
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Asad Memon a****k@g****m 85
Action Bot b****t@d****m 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 2
  • Average time to close issues: 30 minutes
  • Average time to close pull requests: less than a minute
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 3.67
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • asadm (2)
  • mujtabachang (1)
Pull Request Authors
  • asadm (2)
Top Labels
Issue Labels
chota (2)
Pull Request Labels