Skip to content

Commit 7149ea1

Browse files
update
1 parent 3346c72 commit 7149ea1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RepoSlice is an educational framework for implementing LLM-based program slicing
99
- [Installation](#installation)
1010
- [Quick Start](#quick-start)
1111
- [What U Need to DO](#what-u-need-to-do)
12-
- [How to Grade](#how-to-grade)
1312
- [How to Submit](#how-to-submit)
13+
- [How to Grade](#how-to-grade)
1414
- [Contact Us](#contact-us)
1515

1616
## Overview
@@ -85,7 +85,7 @@ Note that you should collect **both the data dependencies and control dependenci
8585

8686
## Quick Start
8787

88-
1. We prepare three example project in `benchmark/Cpp/slice/` for you to have a quick start:
88+
1. We prepare three example projects in `benchmark/Cpp/slice/` for you to have a quick start:
8989

9090
- Simple Calculator (`simple_calculator/`)
9191
- **Purpose**: Basic arithmetic operations
@@ -180,6 +180,9 @@ To do the reimbursement after submission, please do the following:
180180
- Keep track of your API usage costs during development. You can check your usage [here](https://platform.openai.com/settings/organization/usage).
181181
- After submission, please email TA a screenshot of your total usage cost under this new project and details about of your Zelle account (If you don't use Zelle, please email TA for alternative reimbursement methods). TA will reimburse you up to $10 based on your reported usage.
182182

183+
## How to Submit
184+
185+
Compress your version of `src/` directory ONLY into a file named `proj3_<FirstName>_<LastName>.tar.gz`, and submit it to Brightspace. Note that you should not modify other files outside the directory `src`. Particularly, you can not load external models. If you want to use other Python packages, please email to us for the approval.
183186

184187
## How to Grade
185188

@@ -197,7 +200,7 @@ To do the reimbursement after submission, please do the following:
197200

198201
- Some non-essential lines (e.g., `whitelist_line_numbers` in oracle json file) will be removed from your results during grading and will not affect your score.
199202

200-
3. We provide grading script `src/utility.judger` for you to understand more details about the evaluation process. You can run it as follows (example for `slice_request_forward_01`):
203+
3. We provide grading script `src/utility/judger.py` for you to understand more details about the evaluation process. You can run it as follows (example for `slice_request_forward_01`):
201204

202205
```bash
203206
cd src && ./run_judger.sh slice_request_forward_01 <path_to_result_json.json>
@@ -210,10 +213,6 @@ To do the reimbursement after submission, please do the following:
210213
6. Each test case (6 public + 4 hidden) is worth 10 points, for a total of 100 points. For each case, your score is computed as `min(Your_F1_score × 1.25, 1.0) × 10`.
211214

212215

213-
## How to Submit
214-
215-
Compress your version of `src/` directory ONLY into a file named `proj3_<FirstName>_<LastName>.tar.gz`, and submit it to Brightspace. Note that you should not modify other files outside the directory `src`, e.g., you can not use other Python packages or load external models.
216-
217216
## Contact Us
218217

219218
We will offer a tutorial on Nov 11 (Tue) and release the tutorial slides and recordings, from which you can obtain more details about the structure of `RepoSlice` and guidance on the slicer implementation.

src/memory/IR/U6IR.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def get_all_transitive_callee_functions(
323323
)
324324
return callee_functions
325325

326+
# Helper functions retrieving call sites by callee name
326327
def get_callsites_by_callee_name(
327328
self, current_function: Function, callee_name: str
328329
) -> List[Node]:

0 commit comments

Comments
 (0)