Skip to content

实验02-齐宇恒-2024140044#19

Open
EchoTreee wants to merge 3 commits into
jwentong:mainfrom
EchoTreee:main
Open

实验02-齐宇恒-2024140044#19
EchoTreee wants to merge 3 commits into
jwentong:mainfrom
EchoTreee:main

Conversation

@EchoTreee
Copy link
Copy Markdown

完成内容

  • Part 1: Hamming(7,4) 编码/伴随式/单比特纠错 + 选做卷积码/Viterbi 译码
  • Part 2: ZF 均衡器 + FIR 滤波 + LMS 自适应均衡
  • 修复 Matplotlib 中文字体(Noto Sans CJK JP)
  • 生成 coding_ber_curve.png / equalization_eye_comparison.png / equalization_mse_curve.png
  • 本地评分: 100/100 (A)

实现 Hamming(7,4) 编解码、ZF/LMS 均衡器、选做卷积码/Viterbi 译码,修复中文字体配置。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

ghost commented May 15, 2026

🤖 自动评分结果

提交者: @EchoTreee

============================================================
信道编码与信道均衡实验 - 自动评分系统
============================================================

1️⃣ 环境配置测试 (5分)
  ✅ 环境测试通过: +5分

2️⃣ Part 1:信道编码测试 (35分)
  通过测试: 7/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 25/35

3️⃣ Part 2:信道均衡测试 (35分)
  通过测试: 7/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 25/35

4️⃣ 实验报告检查 (15分)
  报告得分: 15/15

5️⃣ 代码质量检查
  ✅ 代码质量优秀 (8.99/10): +5分

6️⃣ 选做任务加分
  ✅ 卷积码/Viterbi选做已实现: +10分

============================================================
总分: 85/100
等级: B (良好)
============================================================
详细评分报告已保存到: grade_report.json

Part 1 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part1_coding.py::TestHamming74::test_known_encoding PASSED  [ 12%]
grading/test_part1_coding.py::TestHamming74::test_multiple_blocks_length PASSED [ 25%]
grading/test_part1_coding.py::TestHamming74::test_codewords_have_zero_syndrome PASSED [ 37%]
grading/test_part1_coding.py::TestHamming74::test_single_error_syndrome_matches_column PASSED [ 50%]
grading/test_part1_coding.py::TestHamming74::test_decode_without_error PASSED [ 62%]
grading/test_part1_coding.py::TestHamming74::test_decode_all_single_bit_errors PASSED [ 75%]
grading/test_part1_coding.py::TestHamming74::test_invalid_input_length PASSED [ 87%]
grading/test_part1_coding.py::test_coding_result_file_exists SKIPPED     [100%]

========================= 7 passed, 1 skipped in 1.37s =========================

Part 2 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_identity PASSED [ 12%]
grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_matches_convolution PASSED [ 25%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_length PASSED [ 37%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_reduces_isi_near_center PASSED [ 50%]
grading/test_part2_equalization.py::TestEqualization::test_lms_equalizer_shapes PASSED [ 62%]
grading/test_part2_equalization.py::TestEqualization::test_lms_error_decreases_on_training PASSED [ 75%]
grading/test_part2_equalization.py::TestEqualization::test_invalid_inputs PASSED [ 87%]
grading/test_part2_equalization.py::test_equalization_result_files_exist SKIPPED [100%]

========================= 7 passed, 1 skipped in 0.41s =========================

完整评分报告可在 Actions Artifacts 中下载。

@github-actions
Copy link
Copy Markdown

ghost commented May 15, 2026

🤖 自动评分结果

提交者: @EchoTreee

============================================================
信道编码与信道均衡实验 - 自动评分系统
============================================================

1️⃣ 环境配置测试 (5分)
  ✅ 环境测试通过: +5分

2️⃣ Part 1:信道编码测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

3️⃣ Part 2:信道均衡测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

4️⃣ 实验报告检查 (15分)
  报告得分: 15/15

5️⃣ 代码质量检查
  ✅ 代码质量优秀 (8.99/10): +5分

6️⃣ 选做任务加分
  ✅ 卷积码/Viterbi选做已实现: +10分

============================================================
总分: 100/100
等级: A (优秀)
============================================================
详细评分报告已保存到: grade_report.json

Part 1 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part1_coding.py::TestHamming74::test_known_encoding PASSED  [ 12%]
grading/test_part1_coding.py::TestHamming74::test_multiple_blocks_length PASSED [ 25%]
grading/test_part1_coding.py::TestHamming74::test_codewords_have_zero_syndrome PASSED [ 37%]
grading/test_part1_coding.py::TestHamming74::test_single_error_syndrome_matches_column PASSED [ 50%]
grading/test_part1_coding.py::TestHamming74::test_decode_without_error PASSED [ 62%]
grading/test_part1_coding.py::TestHamming74::test_decode_all_single_bit_errors PASSED [ 75%]
grading/test_part1_coding.py::TestHamming74::test_invalid_input_length PASSED [ 87%]
grading/test_part1_coding.py::test_coding_result_file_exists PASSED      [100%]

============================== 8 passed in 1.57s ===============================

Part 2 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_identity PASSED [ 12%]
grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_matches_convolution PASSED [ 25%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_length PASSED [ 37%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_reduces_isi_near_center PASSED [ 50%]
grading/test_part2_equalization.py::TestEqualization::test_lms_equalizer_shapes PASSED [ 62%]
grading/test_part2_equalization.py::TestEqualization::test_lms_error_decreases_on_training PASSED [ 75%]
grading/test_part2_equalization.py::TestEqualization::test_invalid_inputs PASSED [ 87%]
grading/test_part2_equalization.py::test_equalization_result_files_exist PASSED [100%]

============================== 8 passed in 0.42s ===============================

完整评分报告可在 Actions Artifacts 中下载。

@github-actions
Copy link
Copy Markdown

ghost commented May 15, 2026

🤖 自动评分结果

提交者: @EchoTreee

============================================================
信道编码与信道均衡实验 - 自动评分系统
============================================================

1️⃣ 环境配置测试 (5分)
  ✅ 环境测试通过: +5分

2️⃣ Part 1:信道编码测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

3️⃣ Part 2:信道均衡测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

4️⃣ 实验报告检查 (15分)
  报告得分: 15/15

5️⃣ 代码质量检查
  ✅ 代码质量优秀 (8.99/10): +5分

6️⃣ 选做任务加分
  ✅ 卷积码/Viterbi选做已实现: +10分

============================================================
总分: 100/100
等级: A (优秀)
============================================================
详细评分报告已保存到: grade_report.json

Part 1 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part1_coding.py::TestHamming74::test_known_encoding PASSED  [ 12%]
grading/test_part1_coding.py::TestHamming74::test_multiple_blocks_length PASSED [ 25%]
grading/test_part1_coding.py::TestHamming74::test_codewords_have_zero_syndrome PASSED [ 37%]
grading/test_part1_coding.py::TestHamming74::test_single_error_syndrome_matches_column PASSED [ 50%]
grading/test_part1_coding.py::TestHamming74::test_decode_without_error PASSED [ 62%]
grading/test_part1_coding.py::TestHamming74::test_decode_all_single_bit_errors PASSED [ 75%]
grading/test_part1_coding.py::TestHamming74::test_invalid_input_length PASSED [ 87%]
grading/test_part1_coding.py::test_coding_result_file_exists PASSED      [100%]

============================== 8 passed in 0.82s ===============================

Part 2 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_identity PASSED [ 12%]
grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_matches_convolution PASSED [ 25%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_length PASSED [ 37%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_reduces_isi_near_center PASSED [ 50%]
grading/test_part2_equalization.py::TestEqualization::test_lms_equalizer_shapes PASSED [ 62%]
grading/test_part2_equalization.py::TestEqualization::test_lms_error_decreases_on_training PASSED [ 75%]
grading/test_part2_equalization.py::TestEqualization::test_invalid_inputs PASSED [ 87%]
grading/test_part2_equalization.py::test_equalization_result_files_exist PASSED [100%]

============================== 8 passed in 0.43s ===============================

完整评分报告可在 Actions Artifacts 中下载。

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.

1 participant