sassoftware / sassoftware/sas-copilot

If asked to previous data set, co-pilot only analyses previous requests made to co-pilot and does take into account run code

Open
#45 0 comments 0 reactions 1 assignee View on GitHub

@2TomLi is already working on this.

Since Apr 9, 2024.

enhancement
Dominant language
TypeScript
Stars
12
Forks
1
Avg merge
4m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
Created a data set mydata and asked to generate code to print previous data set.
It printed the data set for which it previously generated code, rather than the data set that I just created.

data mydata;
    a = 1; output;
    a = 2; output;
    a = 3; output;
run;

/* Print my previous data set */
proc print data=mycas.HMEQ;
run;

Code that I generated before:

/* Build a Random Forest model from the HMEQ data set with target variable GB and print the performance results to an output data set Results */
proc forest data=mycas.HMEQ outmodel=mycas.forestModel3;
    target GB / level=interval;
    input DCD1M DCP07 DFXWCAN DFXWUK90 DSIJPND DSIUKAS DSIUSWIL DTBD3M SNYDJCM SNYSECM / level=interval;
    savestate rstore=mycas.forestAstore3;
run;

Describe the solution you'd like
It would be more advantageous if previous code in the file was taken into account to generate code rather than just only looking at code that was previously generated.

Reporter's Organization
SAS

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.