Repository navigation
Modernize COBOLEval codebase - #1
Merged
Merged
Conversation
Major improvements: Python: - Fix critical bug in JsonComplete/JsonProgram list initialization - Replace deprecated joblib.cache with functools.lru_cache - Add pyproject.toml with pinned dependencies and modern packaging - Add proper CLI interfaces using fire for all scripts - Complete type hints across all modules - Fix bare except clauses with specific exception types - Add configurable timeout via COBOLEVAL_TIMEOUT env var - Convert to package structure with scripts/__init__.py Rust: - Split main.rs into modules (types, parser, transpiler, constants) - Add clap CLI for argument parsing - Add proper logging with env_logger - Add unit tests for core functionality - Update Cargo.toml with metadata and new dependencies Infrastructure: - Add GitHub Actions CI workflow (lint, test, build) - Add Dockerfile for containerized environment - Add pre-commit configuration (ruff, mypy, cargo fmt/clippy) - Add pytest test suite for Python code - Add .env.example with documented environment variables - Update .gitignore with additional patterns - Comprehensive README rewrite with new CLI usage docs https://claude.ai/code/session_01NSKa9nvUs6rjy1NrUMJ4J7
- Add OllamaChat generator class - Add run_ollama CLI command with --host option for remote Ollama servers - Supports models like granite3.1-dense:8b, qwen2.5-coder, etc. Usage: python -m scripts.generate ollama --model-name granite3.1-dense:8b https://claude.ai/code/session_01NSKa9nvUs6rjy1NrUMJ4J7
- Remove unsupported -fformat=variable compiler flag - Fix k parameter handling to accept both int and string - Enable execution code for running evaluations https://claude.ai/code/session_01NSKa9nvUs6rjy1NrUMJ4J7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major improvements:
Python:
Rust:
Infrastructure:
https://claude.ai/code/session_01NSKa9nvUs6rjy1NrUMJ4J7