{"id":17027949,"url":"https://github.com/mtrazzi/grant-application-simulator","last_synced_at":"2025-06-24T04:06:53.939Z","repository":{"id":250611063,"uuid":"834944247","full_name":"mtrazzi/grant-application-simulator","owner":"mtrazzi","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T05:47:11.000Z","size":1237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T19:46:21.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/mtrazzi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-07-28T19:21:50.000Z","updated_at":"2024-10-23T05:47:15.000Z","dependencies_parsed_at":"2024-10-23T10:29:01.072Z","dependency_job_id":"6fe32e9f-ec27-44b9-b73f-f3f1492aaf0c","html_url":"https://github.com/mtrazzi/grant-application-simulator","commit_stats":null,"previous_names":["mtrazzi/grant-application-simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtrazzi/grant-application-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrazzi%2Fgrant-application-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrazzi%2Fgrant-application-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrazzi%2Fgrant-application-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrazzi%2Fgrant-application-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtrazzi","download_url":"https://codeload.github.com/mtrazzi/grant-application-simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrazzi%2Fgrant-application-simulator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261601483,"owners_count":23183093,"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-10-14T07:51:45.548Z","updated_at":"2025-06-24T04:06:53.913Z","avatar_url":"https://github.com/mtrazzi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grant-application-simulator\n\n![Interface](media/demo.png)\n\n*OCT 22 2024 UPDATES*:\n1. *this project got [second place](https://www.apartresearch.com/project/grant-application-simulator) at Apart's weekend hackathon called: \"Research Augmentation Hackathon: Supercharging AI Alignment\"*\n2. *when doing the hackathon, I had access to a lot of credits and so was not being rate-limited, but now some of it breaks if you don't have a high Anthropic API tier, because of the number of requests and tokens per minute*\n3. *it seems that for now, if you don't have a high Anthropic API tier you can just patch this by having a single person per list instead of multiple, aka for instance replacing \"researchers: ['Evan Hubinger', 'Adam Gleave', 'Oliver Habryka', 'Austin Chen'],\" by \"researchers: ['Firstname Lastname']\" in [src/SidebarProvider.ts](src/SidebarProvider.ts), and similarly for other lists*\n\nVideo demo using loom: https://www.loom.com/share/04f06077e7f2474ca61c1733324d883f?sid=3bec5fb2-97a2-45e6-8551-55dfb5e81b1e\n\nDisclaimer: all of the screenshot or examples in this repository use simulations of what people might say about grant proposals or other text, but do not represent these poeple's views. These are only predictions generated by language models based on limited [data](src/prompts).\n\n## Features\n\nThree main features:\n- Grantmaking Advice: simulates feedback from grantmakers (summarized, then full feedback).\n- Research Methodology Advice: Alignment Researchers criticize methodology.\n- Grantmaker Debate Simulation: debate between two grantmakers.\n\n## Requirements\n\nRequires an Anthropic API key (get one ([here](https://docs.anthropic.com/en/api/getting-started))).\n\n## Installation and Debug Guide\n\nFollow these steps to set up and debug the extension:\n\n1. **Clone the repository:**\n\n```bash\ngit clone [your-repository-url]\ncd [repository-name]\n```\n\n2. **Install Node.js:**\n\nIf not already installed, download and install Node.js from https://nodejs.org/\n\n3. **Install dependencies:**\n\n```bash\nnpm install\n```\n\n4. **Compile the extension:**\n```bash\nnpm run compile\n```\n\n5. **Open the project in VS Code:**\n```bash\ncode . # or open . -a Visual\\ Studio\\ Code\n```\n\n6. **Start debugging:**\n\n- Press F5 or go to Run \u003e Start Debugging\n- This will compile the extension and open a new VS Code window with your extension running\n\n7. **Test the extension:**\n\nIn the new VS Code window, do Cmd+P then look for \"\u003e Grant Application Simulator: Focus on Main View\"\n\n8. **Select text:**\n\nSelect some text that you see on screen. You can select all text from Jacques proposal for the demo, or paste any text you want and select this instead.\n\nTo navigate to different files without quitting the \"Grant Application Simulator\" what I do is I click on \"examples\" inside the path of the current file and then navigate to other files from examples by clicking on them, as you can see in the screenshot below.\n\n![screenshot](media/navigate.png)\n\n(This is not ideal but I haven't figured out how to do both at the same time in a more clean way yet.)\n\n9. **Use the key features:**\n\nThe three buttons are pretty self explanatory. You can also click on stop process to stop the process. Note that this takes a couple of seconds.\n\n10. **Troubleshooting:**\n\nIf you encounter \"command not found\" errors, verify that the command names in your code match those in package.json.\nFor issues with the Anthropic API key, use the \"Reset API Key\" command to set a new key.\n\n## Known Issues\n\nAnswers are sometimes truncated.\n\nResponse time are long (more than 10 seconds), and the request timeouts are not perfectly handled.\n\n## Trying out with different people\n\nIf you want to change the researchers or grantmakers, you should change one of these three lines in `SidebarProvider.ts` with a different name, but please make sure you also include the corresponding data (with the filename being \"lowerfirstname_lowerlastname.txt\") to [src/prompts](src/prompts):\n\n```\nresearchers: ['Evan Hubinger', 'Adam Gleave', 'Oliver Habryka', 'Austin Chen']\n\nresearchers: ['Ethan Perez', 'Rohin Shah', 'Paul Christiano']\n\nconst debaters = ['Evan Hubinger', 'Austin Chen', 'Oliver Habryka', 'Adam Gleave']\n```\n\nIdeally the data would be about grantmaking or similar for the first and last line, and about research methodology for the middle line.\n\n## Main files\n\n``` bash\n#Typescript\n  |src/SidebarProvider.ts                  #All of the UX of the extension and features are here. Calls extension.ts\n  |src/extension.ts                        #Provides core functions and the package's commands\n\n#Javascript\n  |media/main.js                           #Has some of the logic behind the buttons\n\n#src/prompts\n  |adam_gleave.txt                         #Adam Gleave Manifund comments + LTFF writeups\n  |austin_chen.txt                         #Austin's Manifund comments (formatted)\n  |ethan_perez.txt                         #Ethan's post on advice for alignment research + a claude summary of another post\n  |evan_hubinger.txt                       #Evan's Manifund commetns + LTFF writeups\n  |oliver_habryka.txt                      #Oliver's LTFF writeups\n  |paul_christiano.txt                     #One post by Paul on research methodology\n  |rohin_shah.txt                          #One post by Rohin about AI Alignment Research advice\n\n#src/examples\n  |apart_demo.txt                          #Text to make a demo of using the extension on Apart's Manifund proposal.\n  |...\n\n#Config files\n  |package.json                            #Register the commands etc, dependencies etc.\n  |launch.json                             #What to launch or open at startup (feel free to customize)\n```\n\n## Release Notes\n\nJul 29: releasing v0.1 for the [Research Augmentation Hackathon: Supercharging AI Alignment](https://www.apartresearch.com/event/research-augmentation-hackathon-supercharging-ai-alignment)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrazzi%2Fgrant-application-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtrazzi%2Fgrant-application-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrazzi%2Fgrant-application-simulator/lists"}