{"id":20082154,"url":"https://github.com/exercism/fsharp-representer","last_synced_at":"2025-05-06T00:31:39.154Z","repository":{"id":37893763,"uuid":"224603226","full_name":"exercism/fsharp-representer","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T21:59:26.000Z","size":171,"stargazers_count":2,"open_issues_count":6,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-29T06:33:31.730Z","etag":null,"topics":["community-contributions-paused","exercism-representer","exercism-tooling","maintained-autonomous"],"latest_commit_sha":null,"homepage":null,"language":"F#","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/exercism.png","metadata":{"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-11-28T08:17:10.000Z","updated_at":"2025-01-02T06:30:16.000Z","dependencies_parsed_at":"2024-04-12T05:22:17.789Z","dependency_job_id":"5c081285-371d-47bb-b4fa-3180dbcc5b23","html_url":"https://github.com/exercism/fsharp-representer","commit_stats":{"total_commits":109,"total_committers":6,"mean_commits":"18.166666666666668","dds":0.5321100917431192,"last_synced_commit":"e19fc35ea17b8cf4451808fe8924c782c3388bbb"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Ffsharp-representer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Ffsharp-representer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Ffsharp-representer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Ffsharp-representer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/fsharp-representer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252598372,"owners_count":21774245,"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":["community-contributions-paused","exercism-representer","exercism-tooling","maintained-autonomous"],"created_at":"2024-11-13T15:42:12.950Z","updated_at":"2025-05-06T00:31:38.843Z","avatar_url":"https://github.com/exercism.png","language":"F#","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"readme":"# Exercism F# representer\n\nA [representer][representer-introduction] creates a general representation of a submission, in order to automatically give feedback on similar code.\n\nThis repository contains the F# representer, which implements the [representer interface][representer-interface]. It uses [F# Compiler Services][fsharp-compiler-services] to parse the submission's source code into syntax trees, which are then normalized and output as a representation.\n\n## Generate a representation for a solution\n\nTo create a representation of a solution, follow these steps:\n\n1. Open a command prompt in the root directory.\n1. Run `./bin/run.sh \u003cexercise\u003e \u003cinput-directory\u003e \u003coutput-directory\u003e`. This script will generate a representation for the solution found in `\u003cinput-directory\u003e`.\n1. Once the script has completed, the representation will be written to `\u003coutput-directory\u003e/representation.txt`.\n\n## Generate a representation for a solution using Docker\n\nTo generate a representation for a solution using a Docker container, follow these steps:\n\n1. Open a command prompt in the root directory.\n1. Run `./bin/run-in-docker.sh \u003cexercise\u003e \u003cinput-directory\u003e \u003coutput-directory\u003e`. This script will:\n   1. Build the representer Docker image (if necessary).\n   1. Run the representer Docker image (as a container), passing the specified `exercise`, `input-directory` and `output-directory` arguments.\n1. Once the script has completed, the representation can be found at `\u003coutput-directory\u003e/representation.txt`.\n\n[representer-introduction]: https://github.com/exercism/automated-analysis/blob/master/docs/representers/introduction.md\n[representer-interface]: https://github.com/exercism/automated-analysis/blob/master/docs/representers/interface.md\n[fsharp-compiler-services]: https://fsharp.github.io/FSharp.Compiler.Service/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Ffsharp-representer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Ffsharp-representer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Ffsharp-representer/lists"}