{"id":23495274,"url":"https://github.com/emjun/tisanecodegenerator","last_synced_at":"2025-07-25T17:07:45.527Z","repository":{"id":135521244,"uuid":"551157624","full_name":"emjun/tisaneCodeGenerator","owner":"emjun","description":"Code generator for Tisane (https://github.com/emjun/tisane)","archived":false,"fork":false,"pushed_at":"2022-12-01T23:39:56.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T14:07:45.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/emjun.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":"2022-10-13T23:42:42.000Z","updated_at":"2022-10-18T16:32:55.000Z","dependencies_parsed_at":"2023-04-18T23:46:35.664Z","dependency_job_id":null,"html_url":"https://github.com/emjun/tisaneCodeGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emjun%2FtisaneCodeGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emjun%2FtisaneCodeGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emjun%2FtisaneCodeGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emjun%2FtisaneCodeGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emjun","download_url":"https://codeload.github.com/emjun/tisaneCodeGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249539476,"owners_count":21288296,"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":[],"created_at":"2024-12-25T03:26:15.948Z","updated_at":"2025-04-18T19:54:40.563Z","avatar_url":"https://github.com/emjun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use case \nDesigned as a modular code generator for [Tisane](https://github.com/emjun/rTisane). \n\n# Files \n\nIn `tisanecodegenerator`: \n    `codeGenerator.py`: CodeGenerator class that is responsible for generating code, A CodeGenerator has-a Statistical Model for which it generates code\n    `strings.json`: Code templates to populate\n    `codeGeneratorStrings.py`: Helper class for loading strings\n    `StatisticalModel.py`: Class for representing a statistical model, contains getter/setter methods\n\n\nIn `tests/`: \n    `input_json`: JSON files that Tisane generates, used to generate Statistical Models and generate code\n    `generated_scripts`: R scripts that CodeGenerator generates for a statistical model\n    `keys_scripts`: R scripts used for testing --\u003e may no longer be needed\n\n\n# Notes on testing \nThe current set of tests that the code generated is expected and that the produced file is able to run. Direct comparison between a generated script and a master script is no longer implemented due to possible differences in whitespace, etc. that may arise over time but have no bearing on the functionality of the produced scripts. Ideally, ASTs would be compared. \n\n# TODO: \n[ ] Compare ASTs of generated scripts to master scripts","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femjun%2Ftisanecodegenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femjun%2Ftisanecodegenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femjun%2Ftisanecodegenerator/lists"}