Skip to main content

A Python package to determine the feasibility of coding tasks using GPT-3.

Project description

PyPI version License: MIT Downloads

TaskFeasibilityAnalyzer

TaskFeasibilityAnalyzer is a Python package designed to determine the feasibility of coding tasks using GPT-3. It provides a probability score indicating whether a task can be completed successfully based on the project's structure, technology stack, and any other provided details.

Installation

To install TaskFeasibilityAnalyzer, you can use pip:

pip install TaskFeasibilityAnalyzer

Usage

As a Python Module

TaskFeasibilityAnalyzer can be used as a Python module in your scripts.

Analyzing a Task's Feasibility

from taskfeasibilityanalyzer import TaskFeasibilityAnalyzer

# Initialize the analyzer with the target directory, OpenAI API key, and optionally the project structure and languages
analyzer = TaskFeasibilityAnalyzer(
    directory='/path/to/your/project', 
    openai_api_key='your-openai-api-key',
    project_structure='your-project-structure',  # Optional
    project_languages='languages-used-in-your-project'  # Optional
)

# Analyze a task and get a probability score
task_description = "Refactor the database schema to improve performance."
probability = analyzer.analyze_task(task_description)
print(f"The probability that the task can be completed successfully is {probability:.2f}")

Features

  • Integrates with GPT-3: Leverages the power of GPT-3 to analyze the complexity and requirements of coding tasks.
  • Flexible Project Analysis: Optionally uses ProjectStructoR or provided details to understand the project's structure and technology stack.
  • Probability Score: Provides a numerical estimate indicating the feasibility of completing a task.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TaskFeasibilityAnalyzer-0.0.9.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

TaskFeasibilityAnalyzer-0.0.9-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file TaskFeasibilityAnalyzer-0.0.9.tar.gz.

File metadata

File hashes

Hashes for TaskFeasibilityAnalyzer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 45a9e723069f1020e31897f602991ae98ec5aa1f2d5964da9e4064fa20121994
MD5 29703bc1a570392da289cd5e49da2e1a
BLAKE2b-256 708bd711455c4a3e3b84bce38a74b11fcef17f519280c60e071500a8a588ccbf

See more details on using hashes here.

File details

Details for the file TaskFeasibilityAnalyzer-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for TaskFeasibilityAnalyzer-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 23b99ddbe9d4c3e36877e84aa9a6a19b175d402f684932a193ec08247b50ad99
MD5 6b229f1bf5525e8398a685ce45d09270
BLAKE2b-256 239fd32c15b71f89297e4e2dbd91b671388a51c26943fcc685cba622ad319244

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page