{"id":22188999,"url":"https://github.com/mikoweb/symfony-inference-system","last_synced_at":"2026-05-10T19:28:01.073Z","repository":{"id":214536164,"uuid":"736758180","full_name":"mikoweb/symfony-inference-system","owner":"mikoweb","description":"Inference System for Selecting the Optimal Programming Language written in Symfony and Angular.","archived":false,"fork":false,"pushed_at":"2024-01-27T21:10:21.000Z","size":2424,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T00:41:16.679Z","etag":null,"topics":["angular","inference-engine","rest","symfony"],"latest_commit_sha":null,"homepage":"https://languages.mikoweb.usermd.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikoweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-12-28T19:42:07.000Z","updated_at":"2024-05-22T21:06:29.000Z","dependencies_parsed_at":"2024-01-15T22:36:09.602Z","dependency_job_id":"268cfd75-fe36-44a5-8008-fb7bca714ac3","html_url":"https://github.com/mikoweb/symfony-inference-system","commit_stats":null,"previous_names":["mikoweb/symfony-inference-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fsymfony-inference-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fsymfony-inference-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fsymfony-inference-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikoweb%2Fsymfony-inference-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikoweb","download_url":"https://codeload.github.com/mikoweb/symfony-inference-system/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245343981,"owners_count":20599867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["angular","inference-engine","rest","symfony"],"created_at":"2024-12-02T11:14:16.483Z","updated_at":"2026-05-10T19:27:56.045Z","avatar_url":"https://github.com/mikoweb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# symfony-inference-system\n\nInference System for Selecting the Optimal Programming Language.\n\n![Screen](./docs/screenshot.png)\n\n## Demo Page\n\nhttps://languages.mikoweb.usermd.net\n\n## Technology stack\n\n* PHP 8.3\n* Symfony Framework 6.4\n* TypeScript 5\n* Angular Framework 17\n* Ionic Components\n* REST API\n* No database!\n\n## Criteria of choice\n\n### Classical logic select box\n\nThere are two multi-select fields `Language Usage` and `Features` with `AND` and `OR` search methods.\n\nThese fields are used to narrow down your results.\n\n### Fuzzy logic fields\n\nThere are three fields using fuzzy logic: `Minimum performance`, `Minimum popularity`,`Language experience` - they \ntake the values `Very high`, `High`, `Medium`, `Low`, `Very low`, sometimes `None`.\n\nBased on these values, a numerical score is calculated using a fuzzy logic mechanism.\n\n### Popularity forecasts\n\nThere is a selectbox called `Popularity - Year` where you can select a year from the future. \nThis is used to change the behavior of the `Minimum Popularity` field. By default, real data from 2023 are taken. \nHowever, years in the future can be selected and the data is predicted using the linear regression \nalgorithm `sklearn.linear_model.BayesianRidge`. A Python command was used to generate the data - `ml` directory.\n\n## Tests\n\nThe test kit is located in the folder `tests`.\n\nTo run the tests, run the command:\n\n    php8.3 composer.phar run test\n\n## Optimizations\n\nData is stored in read-only files in csv and json formats. Most of them were downloaded from kaggle.com. \nThey are located in the `resources/dataset` folder.\n\nThis data is read and processed by the application only once and kept in memory. \nData is also cached using the `Symfony Cache Component`. In fact, they are kept in the form of PHP serialization format.\n\n## How to run\n\nGo to project directory.\n\nTo run the backend, use docker:\n\n    docker compose up --build\n\nThe backend is available at: \n\n    http://localhost:8741\n\nGo to frontend directory:\n\n    cd frontend\n\nSet api url in the environment variable, i.e. in the file `src/environments/environment.ts`:\n\n    apiBaseUrl: 'http://localhost:8741'    \n\nTo run the frontend, execute the following commands:\n\n    nvm use 20\n    npm install\n    npm run start\n\nThe frontend is available at:\n\n    http://localhost:4200\n\n## Copyrights\n\nCopyright © Rafał Mikołajun 2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikoweb%2Fsymfony-inference-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikoweb%2Fsymfony-inference-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikoweb%2Fsymfony-inference-system/lists"}