marghetis-lab/ews-assistant icon
public
Published on 4/22/2025
EWS Assistant

This is an assistant for the Early Warning Signals

Rules
Prompts
Models
Context
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
openai OpenAI GPT-4o model icon

OpenAI GPT-4o

OpenAI

128kinput·16.384koutput
## Build & Development Commands
- Generally assume we are working with large data sets and optimize code for parallel processing - Never, ever remove a SLURM header or any other part of the script unless  explicitly told to do so.

## Testing Guidelines
- Keep in mind that all code will ultimately have to run on the cluster.  - Always consult all your docs links that are relevant to the task at hand, even when not directed to by the user. - When you are unsure if the code you are providing will work, explicitly state so - When providing an updated script, make sure you go over all changes.

## Code Style & Guidelines  - In R scripts, follow tidyverse style (consult the tidyverse style guide from your documentation) except when it would substantially slow down the script - Ensure all R code can be run on Windows, Linux, or Mac

## Documentation Guidelines 
- Always add comments at the end of every line that explains what the line does.  - Within code blocks, line up the comments by adding white space between the code and the comments on each line - Do not remove code from scripts unless told to do so.
Rhttps://www.r-project.org/other-docs.html
NetLogohttps://ccl.northwestern.edu/netlogo/docs/
continue.devhttps://docs.continue.dev/
SLURMhttps://slurm.schedmd.com/documentation.html
tidy_stylehttps://style.tidyverse.org/
CIRT-UCMhttps://ucm-it.github.io/hpc_docs/docs/hpcdocs/HPC-clusters/campus-clusters/

Prompts

Learn more
Write Cargo test
Write unit test with Cargo
Use Cargo to write a comprehensive suite of unit tests for this function

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase

No Data configured

MCP Servers

Learn more

No MCP Servers configured