{"id":20082193,"url":"https://github.com/exercism/csharp-representer","last_synced_at":"2025-07-06T15:07:17.894Z","repository":{"id":40252630,"uuid":"213739160","full_name":"exercism/csharp-representer","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-30T16:30:17.000Z","size":317,"stargazers_count":1,"open_issues_count":12,"forks_count":5,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-04T16:43:13.003Z","etag":null,"topics":["community-contributions-paused","exercism-representer","exercism-tooling","maintained-autonomous"],"latest_commit_sha":null,"homepage":null,"language":"C#","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-10-08T19:49:57.000Z","updated_at":"2025-06-30T16:30:22.000Z","dependencies_parsed_at":"2023-02-08T21:15:44.214Z","dependency_job_id":"6b816b3c-c029-4b49-b17f-e3a1a99ca2f9","html_url":"https://github.com/exercism/csharp-representer","commit_stats":{"total_commits":161,"total_committers":7,"mean_commits":23.0,"dds":"0.49068322981366463","last_synced_commit":"5910651c5df1e81842d1c87d765c6815e11cbb6f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exercism/csharp-representer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fcsharp-representer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fcsharp-representer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fcsharp-representer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fcsharp-representer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/csharp-representer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fcsharp-representer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263611900,"owners_count":23488429,"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:21.549Z","updated_at":"2025-07-06T15:07:17.837Z","avatar_url":"https://github.com/exercism.png","language":"C#","readme":"# Exercism C# 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 C# representer, which implements the [representer interface][representer-interface]. It uses [Roslyn][roslyn] 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[roslyn]: https://docs.microsoft.com/nl-nl/dotnet/csharp/roslyn-sdk/\n","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fcsharp-representer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fcsharp-representer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fcsharp-representer/lists"}