Skip to content

Conversation

@vshcryabets
Copy link
Owner

No description provided.

@vshcryabets vshcryabets self-assigned this Jan 15, 2025
@vshcryabets vshcryabets marked this pull request as ready for review September 20, 2025 10:02
@vshcryabets vshcryabets requested a review from Copilot September 20, 2025 15:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds neural network format sample builders for training machine learning models on AST-based code formatting. The implementation includes support for generating training data from abstract syntax trees and preparing it for LSTM-based neural network training.

  • Adds neural network sample builder infrastructure with dictionary and sequence management
  • Implements tree-to-vector conversion for RNN training data generation
  • Integrates file metadata management in code generators for enhanced tracking

Reviewed Changes

Copilot reviewed 77 out of 77 changed files in this pull request and generated no comments.

File Description
keras/format/ Neural network training data, model files, and Python utilities for LSTM-based code formatting
cgen-nnparser/ Core domain logic for NN format projects, dictionaries, and tree processing
cgen-lib/ Enhanced file generators with metadata support and updated test expectations
cgen-console/ Added command-line option for storing formatted output trees

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@vshcryabets vshcryabets merged commit f71b4b3 into main Sep 20, 2025
2 checks passed
@vshcryabets vshcryabets deleted the test/nn-format branch September 20, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants