Skip to content

实验02-谭榆铃-2023280502#10

Open
tanyuling226 wants to merge 3 commits into
jwentong:mainfrom
tanyuling226:complete-channel-coding-equalization
Open

实验02-谭榆铃-2023280502#10
tanyuling226 wants to merge 3 commits into
jwentong:mainfrom
tanyuling226:complete-channel-coding-equalization

Conversation

@tanyuling226
Copy link
Copy Markdown

完成信道编码与信道均衡综合实验。

主要内容:

  • 实现 Hamming(7,4) 编码、伴随式计算和单比特纠错译码
  • 实现 ZF 均衡器、FIR 滤波和 LMS 自适应均衡器
  • 完成卷积码/Viterbi 选做实现
  • 完成 REPORT.md 实验报告
  • 限制 NumPy <2,避免 Matplotlib 二进制兼容问题

验证:

  • python -m pytest grading -v:16 passed
  • PYTHONUTF8=1 python grading/calculate_grade.py:100/100

@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @tanyuling226

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

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️⃣ 代码质量检查
  ✅ 代码质量优秀 (9.22/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.54s =========================

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.42s =========================

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

@tanyuling226 tanyuling226 changed the title 实验02-谭榆铃-2023280502Complete channel coding equalization 实验02-谭榆铃-2023280502 May 14, 2026
@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @tanyuling226

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

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️⃣ 代码质量检查
  ✅ 代码质量优秀 (9.22/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.34s ===============================

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 中下载。

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