{"id":37085037,"url":"https://github.com/ahmedhus22/llm4lint","last_synced_at":"2026-01-14T10:27:09.043Z","repository":{"id":267480872,"uuid":"889438218","full_name":"ahmedhus22/llm4lint","owner":"ahmedhus22","description":"A Static Analysis Tool using LLMs","archived":false,"fork":false,"pushed_at":"2025-04-12T16:58:12.000Z","size":306,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-28T11:25:30.095Z","etag":null,"topics":["deep-learning","llm","python-linter","qwen2","unsloth"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmedhus22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-16T11:40:50.000Z","updated_at":"2025-04-12T16:58:15.000Z","dependencies_parsed_at":"2025-03-14T15:28:59.701Z","dependency_job_id":"7af1930b-f1cc-4861-94bf-dc43af5ca9fa","html_url":"https://github.com/ahmedhus22/llm4lint","commit_stats":null,"previous_names":["ahmedhus22/llm4lint"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ahmedhus22/llm4lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedhus22%2Fllm4lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedhus22%2Fllm4lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedhus22%2Fllm4lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedhus22%2Fllm4lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmedhus22","download_url":"https://codeload.github.com/ahmedhus22/llm4lint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmedhus22%2Fllm4lint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:25:19.714Z","status":"ssl_error","status_checked_at":"2026-01-14T10:22:49.371Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","llm","python-linter","qwen2","unsloth"],"created_at":"2026-01-14T10:27:08.608Z","updated_at":"2026-01-14T10:27:09.038Z","avatar_url":"https://github.com/ahmedhus22.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLM4LINT\nA Static Analysis Tool built by finetuning Qwen2.5 Coder using unsloth.\n\n## Features:\n- Linting of Python source code in traditional linting format and an interactive mode.\n- You can also provide your own data to create a different model (use train.py script):\n    - Specify your own examples in a csv file with input and output columns.\n    output should be `\u003clineno\u003e - \u003ctype\u003e: \u003cissue\u003e`. With just 1 example multiple datapoints are created using augmentation.\n    - Augmentation of inputs: \n        - Variable names are replaced with different names to make sure model does not memorize the code.\n        - Additional code is added before and after your input example. (outputs are also adjusted to account for lineno changes).\n- Dataset created using this script: https://huggingface.co/datasets/ahmedhus22/python-static-analysis-linting\n\n## Usage:\nllm4lint [-h] [-i] filename\n\n- positional arguments:\n  filename             Python Source File to lint\n\n- options:\n  - -h, --help           show this help message and exit\n  - -i, --interactive    starts chat interface for interacting with model\n\n## Installation (For Inference Only)\n```\npip install llm4lint\n```\n- Download the fine-tuned model from [Hugging Face](https://huggingface.co/ahmedhus22/llm4lint-7B-Qwen2.5Coder/tree/main) .gguf and Modelfile\n\n- Create ollama Model\n```\n`ollama create llm4lint7b -f \u003cModelfile-Path\u003e`\n```\nNow, You can access the linter anywhere in terminal using\n```\nllm4lint \u003cfilename\u003e [options]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedhus22%2Fllm4lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmedhus22%2Fllm4lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmedhus22%2Fllm4lint/lists"}