Skip to content

Homework/01 basic - #43

Open
caoxhe wants to merge 7 commits into
eesast:homework/01-basicfrom
caoxhe:main
Open

Homework/01 basic#43
caoxhe wants to merge 7 commits into
eesast:homework/01-basicfrom
caoxhe:main

Conversation

@caoxhe

@caoxhe caoxhe commented Jul 30, 2026

Copy link
Copy Markdown

暑培:队式作业提交

基本信息

  • 姓名:曹烜赫
  • 班级:无55
  • 学号:2025010295

提交说明

Copilot AI lite review requested due to automatic review settings July 30, 2026 14:24
@mergify mergify Bot added the homework Homework PR, will not be merged label Jul 30, 2026

This comment was marked as outdated.

@caoxhe caoxhe changed the title 01-basic 作业提交 Homework/01 basic- #44 Jul 31, 2026
@caoxhe caoxhe changed the title Homework/01 basic- #44 Homework/01 basic Jul 31, 2026
Copilot AI review requested due to automatic review settings August 4, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Not ready to approve

WorkQueue<T>.TryDequeue uses ?? on Queue<T>.Dequeue(), which does not compile for value-type queues (e.g., WorkQueue<int> used by tests).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

}
Monitor.Wait(_items);
}
item = _items.Dequeue() ?? throw new InvalidOperationException("Queue is empty.");
Copilot AI review requested due to automatic review settings August 5, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

WorkQueue<T>.TryDequeue currently uses ?? on a generic T, which will not compile for value-type instantiations used by existing tests (e.g. WorkQueue<int>).

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details

Suppressed comments (2)

src/LocalCli/Program.cs:116

  • Local variable names elsewhere in this file don’t use a leading underscore; _logfiles looks like a private field and reduces readability. Rename it to a normal local name.
            var _logfiles = analyzer.GetLogFiles();
            foreach (var file in _logfiles)

docs/02-multithreading/report.md:126

  • The referenced path docs/02-multiheading/guidance.md appears to be a typo; the actual directory is docs/02-multithreading/.
- 第二次:我借助了AI完成CLI:提示词为"根据 `docs/02-multiheading/guidance.md` 中对于 T2.3 的要求,完成 `Program.cs`"
  • Files reviewed: 8/10 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

}
Monitor.Wait(_items);
}
item = _items.Dequeue() ?? throw new InvalidOperationException("Queue is empty.");
@mergify mergify Bot mentioned this pull request Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

homework Homework PR, will not be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants