Promptstability

Latest version: v0.1.4

Safety actively analyzes 722674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.8

geom_text(data = mean_pss, aes(x = Inf, y = mean_pss, label = round(mean_pss, 2), color = "black"),
hjust = 1.1, vjust = -0.5, size = 6, show.legend = FALSE) +
scale_color_manual(values = color_palette) +
facet_wrap(~ label, ncol = 4) +
labs(x = xlabel, y = ylabel) +
ylim(ylim_vals) +
theme_minimal() +
theme(
legend.position = "none")
if (!is.null(save_path)) {
ggsave(save_path, plot = g, width = 8, height = 3, dpi = 300)
cat(sprintf("Plot saved to %s\n", save_path))
}
print(g)
}
Combine "between" datasets and plot
combined_between_data <- combine_files(between_files)
combined_between_data <- combined_between_data %>%
distinct(temperature, ka_mean, label, .keep_all = T)
plot_combined(combined_between_data, "temperature", "ka_mean", "Temperature", "Inter-PSS", c(0, 1),
save_path = "plots/combined_between_updated.png", within = FALSE)


Changelog

All notable changes to this project will be documented in this file.

[Unreleased]
- Upcoming changes will be listed here.

0.1.4

Added
- Changed get_openai_api_key() to the more flexible get_api_key() which works with
openai, mistral, anthropic (claude), cohere and huggingface
- Added docstring documentation in core.py
- Added API Documentation link
- Updated README.md to include interoperable examples (OpenAI and Ollama)
- Added CHANGELOG.md file to document changes in each version of the package


Fixed
- Fixed `parse_function`, so that it can be called within both `intra_pss`
and `inter_pss`

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.