Skip to content

Commit 3c24521

Browse files
committed
Release ccode_runner v0.3.3, clex_llm v0.3.0, cscrapper v0.1.0, cpast v0.10.0, safety bump cpast v0.10.0
1 parent ef9ecc0 commit 3c24521

File tree

7 files changed

+150
-12
lines changed

7 files changed

+150
-12
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ccode_runner/CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,47 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.3.3 (2025-03-15)
9+
10+
### New Features
11+
12+
- <csr-id-d1f3bcfce5187879268726170447a032c3e95a40/> expose default codegen language type
13+
feat(cpast): --problem_url args in ai and test routes
14+
15+
feat(cscrapper): new ProgramStore api new_from_language
16+
17+
chore(cpast_api): updated schema to store language name in cache and use language from clex_llm instead of c++ as default
18+
- <csr-id-1f866fcf819af5df4c51b9f1aacf9607b6ff47e8/> add sample programs and tests for multiple languages including Java, C, C++, Python, Ruby, JavaScript, and Rust
19+
- <csr-id-976089bf07b7556823c32621ca9c8da98850932d/> enhance new_from_custom_dest to support Java file naming rules and improve error handling
20+
- <csr-id-626c3ce60e1cbc3dcd25d92c5298413650d70553/> add new error types for invalid file names and empty temporary directories
21+
- <csr-id-6a2a02cd18c11bb72b4acdf5ed816a0bc70c333a/> expose from_text from_custom_dest api to public
22+
- <csr-id-3488984dfc9a81df4538fac6d824a9bda3001209/> code compilation to temp dir
23+
24+
### Commit Statistics
25+
26+
<csr-read-only-do-not-edit/>
27+
28+
- 7 commits contributed to the release over the course of 1 calendar day.
29+
- 13 days passed between releases.
30+
- 6 commits were understood as [conventional](https://www.conventionalcommits.org).
31+
- 0 issues like '(#ID)' were seen in commit messages
32+
33+
### Commit Details
34+
35+
<csr-read-only-do-not-edit/>
36+
37+
<details><summary>view details</summary>
38+
39+
* **Uncategorized**
40+
- Expose default codegen language type ([`d1f3bcf`](https://github.com/rootCircle/cpast_mono/commit/d1f3bcfce5187879268726170447a032c3e95a40))
41+
- Add sample programs and tests for multiple languages including Java, C, C++, Python, Ruby, JavaScript, and Rust ([`1f866fc`](https://github.com/rootCircle/cpast_mono/commit/1f866fcf819af5df4c51b9f1aacf9607b6ff47e8))
42+
- Enhance new_from_custom_dest to support Java file naming rules and improve error handling ([`976089b`](https://github.com/rootCircle/cpast_mono/commit/976089bf07b7556823c32621ca9c8da98850932d))
43+
- Feat(java_classname): add utility to extract public class name from Java source text feat(ccode_runner): enhance source file naming for Java and random languages feat(cpast): add tests for Java public class extraction and code evaluation ([`35c6c11`](https://github.com/rootCircle/cpast_mono/commit/35c6c116e8087c1d7331bbfde3d4dc0bc1da5b90))
44+
- Add new error types for invalid file names and empty temporary directories ([`626c3ce`](https://github.com/rootCircle/cpast_mono/commit/626c3ce60e1cbc3dcd25d92c5298413650d70553))
45+
- Expose from_text from_custom_dest api to public ([`6a2a02c`](https://github.com/rootCircle/cpast_mono/commit/6a2a02cd18c11bb72b4acdf5ed816a0bc70c333a))
46+
- Code compilation to temp dir ([`3488984`](https://github.com/rootCircle/cpast_mono/commit/3488984dfc9a81df4538fac6d824a9bda3001209))
47+
</details>
48+
849
## v0.3.2 (2025-03-01)
950

1051
### Documentation
@@ -15,7 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1556

1657
<csr-read-only-do-not-edit/>
1758

18-
- 1 commit contributed to the release.
59+
- 2 commits contributed to the release.
1960
- 5 days passed between releases.
2061
- 1 commit was understood as [conventional](https://www.conventionalcommits.org).
2162
- 0 issues like '(#ID)' were seen in commit messages
@@ -27,6 +68,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2768
<details><summary>view details</summary>
2869

2970
* **Uncategorized**
71+
- Release ccode_runner v0.3.2, clex_gen v0.3.2, clex_llm v0.2.2, cpast v0.9.2 ([`325d8c1`](https://github.com/rootCircle/cpast_mono/commit/325d8c11588daaad4678e72aac665b58f32f119e))
3072
- Rust docs ([`ea9fa36`](https://github.com/rootCircle/cpast_mono/commit/ea9fa36e4852bd8af718fe6abe6190be725ed292))
3173
</details>
3274

ccode_runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ccode_runner"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
description = "Run/compiles files and executes them efficiently"
55
categories = [
66
"development-tools::testing",

clex_llm/CHANGELOG.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,53 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v0.3.0 (2025-03-15)
9+
10+
### New Features
11+
12+
- <csr-id-d1f3bcfce5187879268726170447a032c3e95a40/> expose default codegen language type
13+
feat(cpast): --problem_url args in ai and test routes
14+
15+
feat(cscrapper): new ProgramStore api new_from_language
16+
17+
chore(cpast_api): updated schema to store language name in cache and use language from clex_llm instead of c++ as default
18+
- <csr-id-a7be429d63454f278237173dab38f8dd1b522af2/> update code generation to support C++ solutions and enhance input handling
19+
- <csr-id-ab31151dec6626ea67cc24ddab8ff390b9989282/> add caching for code evaluation and new evaluate route with_platform
20+
- <csr-id-06c5c95dd7941ca0eb2dd7ac96b503feba4a0a53/> introduce new code and clex generators with updated API integration
21+
- <csr-id-7ea37a311ecc70db654e9b4facc76cfca4a6290a/> add LLM API key configuration and integrate into evaluation routes
22+
23+
### New Features (BREAKING)
24+
25+
- <csr-id-e2cdab56fcb473fe24e5e8acbea83c1703e97cb7/> update API key references from GEMINI_API_KEY to GOOGLE_API_KEY and add secrets setup script for CI
26+
27+
### Commit Statistics
28+
29+
<csr-read-only-do-not-edit/>
30+
31+
- 6 commits contributed to the release over the course of 1 calendar day.
32+
- 13 days passed between releases.
33+
- 6 commits were understood as [conventional](https://www.conventionalcommits.org).
34+
- 0 issues like '(#ID)' were seen in commit messages
35+
36+
### Commit Details
37+
38+
<csr-read-only-do-not-edit/>
39+
40+
<details><summary>view details</summary>
41+
42+
* **Uncategorized**
43+
- Expose default codegen language type ([`d1f3bcf`](https://github.com/rootCircle/cpast_mono/commit/d1f3bcfce5187879268726170447a032c3e95a40))
44+
- Update code generation to support C++ solutions and enhance input handling ([`a7be429`](https://github.com/rootCircle/cpast_mono/commit/a7be429d63454f278237173dab38f8dd1b522af2))
45+
- Add caching for code evaluation and new evaluate route with_platform ([`ab31151`](https://github.com/rootCircle/cpast_mono/commit/ab31151dec6626ea67cc24ddab8ff390b9989282))
46+
- Introduce new code and clex generators with updated API integration ([`06c5c95`](https://github.com/rootCircle/cpast_mono/commit/06c5c95dd7941ca0eb2dd7ac96b503feba4a0a53))
47+
- Update API key references from GEMINI_API_KEY to GOOGLE_API_KEY and add secrets setup script for CI ([`e2cdab5`](https://github.com/rootCircle/cpast_mono/commit/e2cdab56fcb473fe24e5e8acbea83c1703e97cb7))
48+
- Add LLM API key configuration and integrate into evaluation routes ([`7ea37a3`](https://github.com/rootCircle/cpast_mono/commit/7ea37a311ecc70db654e9b4facc76cfca4a6290a))
49+
</details>
50+
851
## v0.2.2 (2025-03-01)
952

53+
<csr-id-f93b38cd00306356503de16b84202333ea3baee4/>
54+
1055
### Chore
1156

1257
- <csr-id-f93b38cd00306356503de16b84202333ea3baee4/> update default range values to i32_min, i32_max and u32_min, u32_max; improve completions support and documentation
@@ -19,7 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1964

2065
<csr-read-only-do-not-edit/>
2166

22-
- 2 commits contributed to the release.
67+
- 3 commits contributed to the release.
2368
- 6 days passed between releases.
2469
- 2 commits were understood as [conventional](https://www.conventionalcommits.org).
2570
- 0 issues like '(#ID)' were seen in commit messages
@@ -31,6 +76,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3176
<details><summary>view details</summary>
3277

3378
* **Uncategorized**
79+
- Release ccode_runner v0.3.2, clex_gen v0.3.2, clex_llm v0.2.2, cpast v0.9.2 ([`325d8c1`](https://github.com/rootCircle/cpast_mono/commit/325d8c11588daaad4678e72aac665b58f32f119e))
3480
- Update default range values to i32_min, i32_max and u32_min, u32_max; improve completions support and documentation ([`f93b38c`](https://github.com/rootCircle/cpast_mono/commit/f93b38cd00306356503de16b84202333ea3baee4))
3581
- Rust docs ([`ea9fa36`](https://github.com/rootCircle/cpast_mono/commit/ea9fa36e4852bd8af718fe6abe6190be725ed292))
3682
</details>

clex_llm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clex_llm"
3-
version = "0.2.2"
3+
version = "0.3.0"
44
description = "Generates clex from input format and constraints in natural language using LLM."
55
categories = ["development-tools::testing", "development-tools"]
66
keywords = ["automata", "generator", "testcase", "llm", "dsl"]
@@ -15,4 +15,4 @@ rust-version.workspace = true
1515
serde = { workspace = true, features = ["derive"] }
1616
google-generative-ai-rs = { workspace = true, features = ["beta"] }
1717
tokio = { workspace = true, features = ["full"] }
18-
ccode_runner = { path = "../ccode_runner", version = "0.3.2"}
18+
ccode_runner = { path = "../ccode_runner", version = "^0.3.3" }

cpast/CHANGELOG.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,56 @@
11
# Changelog
22

3+
## 0.10.0 (2025-03-15)
4+
5+
### New Features
6+
7+
- <csr-id-d1f3bcfce5187879268726170447a032c3e95a40/> expose default codegen language type
8+
feat(cpast): --problem_url args in ai and test routes
9+
10+
feat(cscrapper): new ProgramStore api new_from_language
11+
12+
chore(cpast_api): updated schema to store language name in cache and use language from clex_llm instead of c++ as default
13+
- <csr-id-06c5c95dd7941ca0eb2dd7ac96b503feba4a0a53/> introduce new code and clex generators with updated API integration
14+
- <csr-id-3488984dfc9a81df4538fac6d824a9bda3001209/> code compilation to temp dir
15+
16+
### Performance
17+
18+
- <csr-id-ae5e16e12d295d554c364463944c48090aec8138/> add bench code
19+
20+
### New Features (BREAKING)
21+
22+
- <csr-id-e2cdab56fcb473fe24e5e8acbea83c1703e97cb7/> update API key references from GEMINI_API_KEY to GOOGLE_API_KEY and add secrets setup script for CI
23+
24+
### Commit Statistics
25+
26+
<csr-read-only-do-not-edit/>
27+
28+
- 7 commits contributed to the release over the course of 10 calendar days.
29+
- 13 days passed between releases.
30+
- 5 commits were understood as [conventional](https://www.conventionalcommits.org).
31+
- 0 issues like '(#ID)' were seen in commit messages
32+
33+
### Commit Details
34+
35+
<csr-read-only-do-not-edit/>
36+
37+
<details><summary>view details</summary>
38+
39+
* **Uncategorized**
40+
- Expose default codegen language type ([`d1f3bcf`](https://github.com/rootCircle/cpast_mono/commit/d1f3bcfce5187879268726170447a032c3e95a40))
41+
- Introduce new code and clex generators with updated API integration ([`06c5c95`](https://github.com/rootCircle/cpast_mono/commit/06c5c95dd7941ca0eb2dd7ac96b503feba4a0a53))
42+
- Feat(cscrapper): refactor problem scraper to support async operations and add new migration for clex column (fixes #9) feat(cpast_api): evaluate route with_code_and_platform and tests ([`d460a2c`](https://github.com/rootCircle/cpast_mono/commit/d460a2c07607dec1803f1da9ae55cb5bbfa8a547))
43+
- Update API key references from GEMINI_API_KEY to GOOGLE_API_KEY and add secrets setup script for CI ([`e2cdab5`](https://github.com/rootCircle/cpast_mono/commit/e2cdab56fcb473fe24e5e8acbea83c1703e97cb7))
44+
- Feat(java_classname): add utility to extract public class name from Java source text feat(ccode_runner): enhance source file naming for Java and random languages feat(cpast): add tests for Java public class extraction and code evaluation ([`35c6c11`](https://github.com/rootCircle/cpast_mono/commit/35c6c116e8087c1d7331bbfde3d4dc0bc1da5b90))
45+
- Code compilation to temp dir ([`3488984`](https://github.com/rootCircle/cpast_mono/commit/3488984dfc9a81df4538fac6d824a9bda3001209))
46+
- Add bench code ([`ae5e16e`](https://github.com/rootCircle/cpast_mono/commit/ae5e16e12d295d554c364463944c48090aec8138))
47+
</details>
48+
349
## 0.9.2 (2025-03-01)
450

51+
<csr-id-f93b38cd00306356503de16b84202333ea3baee4/>
52+
<csr-id-98decaeb5f61596e592b4c73236deec4c9979fcc/>
53+
554
### Chore
655

756
- <csr-id-f93b38cd00306356503de16b84202333ea3baee4/> update default range values to i32_min, i32_max and u32_min, u32_max; improve completions support and documentation
@@ -11,7 +60,7 @@
1160

1261
<csr-read-only-do-not-edit/>
1362

14-
- 2 commits contributed to the release.
63+
- 3 commits contributed to the release.
1564
- 5 days passed between releases.
1665
- 2 commits were understood as [conventional](https://www.conventionalcommits.org).
1766
- 0 issues like '(#ID)' were seen in commit messages
@@ -23,6 +72,7 @@
2372
<details><summary>view details</summary>
2473

2574
* **Uncategorized**
75+
- Release ccode_runner v0.3.2, clex_gen v0.3.2, clex_llm v0.2.2, cpast v0.9.2 ([`325d8c1`](https://github.com/rootCircle/cpast_mono/commit/325d8c11588daaad4678e72aac665b58f32f119e))
2676
- Update default range values to i32_min, i32_max and u32_min, u32_max; improve completions support and documentation ([`f93b38c`](https://github.com/rootCircle/cpast_mono/commit/f93b38cd00306356503de16b84202333ea3baee4))
2777
- Update resolver to 3 ([`98decae`](https://github.com/rootCircle/cpast_mono/commit/98decaeb5f61596e592b4c73236deec4c9979fcc))
2878
</details>

cpast/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpast"
3-
version = "0.9.2"
3+
version = "0.10.0"
44
description = "Run custom testcase with powerful clex language powered generated tool. Ideal for competitive coders. Can test two file and pass & match randomly generated outputs"
55
categories = ["development-tools::testing", "command-line-utilities", "compilers", "development-tools"]
66
keywords = ["automata", "competitive-program", "generator", "language", "testcase"]
@@ -21,8 +21,8 @@ futures = { workspace = true }
2121
colored = { workspace = true }
2222
clap_complete = { workspace = true }
2323
clex_gen = { version = "^0.3.2", path = "../clex_gen" }
24-
ccode_runner = { version = "^0.3.2", path = "../ccode_runner" }
25-
clex_llm = { version = "^0.2.2", path = "../clex_llm" }
24+
ccode_runner = { version = "^0.3.3", path = "../ccode_runner" }
25+
clex_llm = { version = "^0.3.0", path = "../clex_llm" }
2626
cscrapper = { path = "../cscrapper" }
2727
thiserror = { workspace = true }
2828

0 commit comments

Comments
 (0)