Skip to content

2024280057—孟佳霖 数字调制解调实验#20

Closed
Mplus0 wants to merge 2 commits into
jwentong:mainfrom
Mplus0:main
Closed

2024280057—孟佳霖 数字调制解调实验#20
Mplus0 wants to merge 2 commits into
jwentong:mainfrom
Mplus0:main

Conversation

@Mplus0
Copy link
Copy Markdown

@Mplus0 Mplus0 commented Apr 24, 2026

本次提交完成了以下实验任务:

  • 任务1:完成 BPSK 调制函数实现
  • 任务2:完成 QPSK 调制函数实现
  • 任务3:完成 16-QAM 调制函数实现
  • 任务4:完成 BPSK / QPSK / 16-QAM 解调函数实现(选做)
  • 任务5:完成 BER 性能测试与性能对比曲线绘制(选做)
    已生成结果文件:
  • BPSK 星座图
  • QPSK 星座图
  • 16-QAM 星座图
  • BER 对比图及各调制方式 BER 曲线图

@Mplus0 Mplus0 changed the title 完成数字调制解调实验 2024280057—孟佳霖 数字调制解调实验 Apr 24, 2026
@Mplus0 Mplus0 closed this Apr 24, 2026
@Mplus0 Mplus0 reopened this Apr 24, 2026
@Mplus0
Copy link
Copy Markdown
Author

Mplus0 commented Apr 24, 2026

附加实验结果图片
16qam_ber
16qam_constellation
ber_comparison
bpsk_ber
bpsk_constellation
qpsk_ber
qpsk_constellation
test_plot

@jwentong jwentong closed this Apr 28, 2026
@jwentong jwentong reopened this Apr 28, 2026
@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @Mplus0

============================================================
数字调制解调实验 - 自动评分系统
============================================================

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

2️⃣  BPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

3️⃣  QPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

4️⃣  16-QAM调制测试 (20分)
  通过测试: 0/1
  得分: 0/20

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

6️⃣  代码质量检查 (pylint)
  ⚠️ 代码质量一般 (6.0/10): 0分

7️⃣  选做任务加分
  ✅ 解调功能已实现: +10分

============================================================
总分: 15/100
等级: F (不及格)
============================================================

详细评分报告已保存到: grade_report.json


📊 详细测试结果

点击查看BPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 7 items

grading/test_bpsk.py::TestBPSK::test_basic_mapping PASSED                [ 14%]
grading/test_bpsk.py::TestBPSK::test_all_zeros PASSED                    [ 28%]
grading/test_bpsk.py::TestBPSK::test_all_ones PASSED                     [ 42%]
grading/test_bpsk.py::TestBPSK::test_symbol_values PASSED                [ 57%]
grading/test_bpsk.py::TestBPSK::test_random_sequence PASSED              [ 71%]
grading/test_bpsk.py::TestBPSK::test_large_sequence PASSED               [ 85%]
grading/test_bpsk.py::test_constellation_file_exists SKIPPED (BPSK星...) [100%]

========================= 6 passed, 1 skipped in 0.50s =========================

点击查看QPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qpsk.py::TestQPSK::test_input_length_validation PASSED      [ 11%]
grading/test_qpsk.py::TestQPSK::test_output_length PASSED                [ 22%]
grading/test_qpsk.py::TestQPSK::test_gray_code_mapping PASSED            [ 33%]
grading/test_qpsk.py::TestQPSK::test_unit_energy PASSED                  [ 44%]
grading/test_qpsk.py::TestQPSK::test_four_constellation_points PASSED    [ 55%]
grading/test_qpsk.py::TestQPSK::test_phase_distribution PASSED           [ 66%]
grading/test_qpsk.py::TestQPSK::test_average_power PASSED                [ 77%]
grading/test_qpsk.py::TestQPSK::test_consecutive_pairs PASSED            [ 88%]
grading/test_qpsk.py::test_constellation_file_exists SKIPPED (QPSK星...) [100%]

========================= 8 passed, 1 skipped in 0.45s =========================

点击查看16-QAM测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qam16.py::TestQAM16::test_input_length_validation PASSED    [ 11%]
grading/test_qam16.py::TestQAM16::test_output_length PASSED              [ 22%]
grading/test_qam16.py::TestQAM16::test_sixteen_constellation_points PASSED [ 33%]
grading/test_qam16.py::TestQAM16::test_iq_component_values PASSED        [ 44%]
grading/test_qam16.py::TestQAM16::test_power_normalization PASSED        [ 55%]
grading/test_qam16.py::TestQAM16::test_gray_code_mapping PASSED          [ 66%]
grading/test_qam16.py::TestQAM16::test_symbol_distribution PASSED        [ 77%]
grading/test_qam16.py::TestQAM16::test_corner_points PASSED              [ 88%]
grading/test_qam16.py::test_constellation_file_exists SKIPPED (16-QA...) [100%]

========================= 8 passed, 1 skipped in 0.45s =========================

点击查看报告检查详情
==================================================
实验报告检查
==================================================
❌ 未找到实验报告文件 (REPORT.md)
扣分: -15分

最终报告得分: 0


💡 提示

  • 如果测试未通过,请查看上方的详细错误信息
  • 修改代码后重新提交会触发自动评分
  • 完整评分报告可在 Actions 的 Artifacts 中下载

评分时间: 2026/4/28 21:51:03

@jwentong jwentong closed this Apr 28, 2026
@jwentong jwentong reopened this Apr 28, 2026
@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @Mplus0

============================================================
数字调制解调实验 - 自动评分系统
============================================================

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

2️⃣  BPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

3️⃣  QPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

4️⃣  16-QAM调制测试 (20分)
  通过测试: 0/1
  得分: 0/20

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

6️⃣  代码质量检查 (pylint)
  ⚠️ 代码质量一般 (6.0/10): 0分

7️⃣  选做任务加分
  ✅ 解调功能已实现: +10分

============================================================
总分: 15/100
等级: F (不及格)
============================================================

详细评分报告已保存到: grade_report.json


📊 详细测试结果

点击查看BPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 7 items

grading/test_bpsk.py::TestBPSK::test_basic_mapping PASSED                [ 14%]
grading/test_bpsk.py::TestBPSK::test_all_zeros PASSED                    [ 28%]
grading/test_bpsk.py::TestBPSK::test_all_ones PASSED                     [ 42%]
grading/test_bpsk.py::TestBPSK::test_symbol_values PASSED                [ 57%]
grading/test_bpsk.py::TestBPSK::test_random_sequence PASSED              [ 71%]
grading/test_bpsk.py::TestBPSK::test_large_sequence PASSED               [ 85%]
grading/test_bpsk.py::test_constellation_file_exists SKIPPED (BPSK星...) [100%]

========================= 6 passed, 1 skipped in 0.45s =========================

点击查看QPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qpsk.py::TestQPSK::test_input_length_validation PASSED      [ 11%]
grading/test_qpsk.py::TestQPSK::test_output_length PASSED                [ 22%]
grading/test_qpsk.py::TestQPSK::test_gray_code_mapping PASSED            [ 33%]
grading/test_qpsk.py::TestQPSK::test_unit_energy PASSED                  [ 44%]
grading/test_qpsk.py::TestQPSK::test_four_constellation_points PASSED    [ 55%]
grading/test_qpsk.py::TestQPSK::test_phase_distribution PASSED           [ 66%]
grading/test_qpsk.py::TestQPSK::test_average_power PASSED                [ 77%]
grading/test_qpsk.py::TestQPSK::test_consecutive_pairs PASSED            [ 88%]
grading/test_qpsk.py::test_constellation_file_exists SKIPPED (QPSK星...) [100%]

========================= 8 passed, 1 skipped in 0.44s =========================

点击查看16-QAM测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qam16.py::TestQAM16::test_input_length_validation PASSED    [ 11%]
grading/test_qam16.py::TestQAM16::test_output_length PASSED              [ 22%]
grading/test_qam16.py::TestQAM16::test_sixteen_constellation_points PASSED [ 33%]
grading/test_qam16.py::TestQAM16::test_iq_component_values PASSED        [ 44%]
grading/test_qam16.py::TestQAM16::test_power_normalization PASSED        [ 55%]
grading/test_qam16.py::TestQAM16::test_gray_code_mapping PASSED          [ 66%]
grading/test_qam16.py::TestQAM16::test_symbol_distribution PASSED        [ 77%]
grading/test_qam16.py::TestQAM16::test_corner_points PASSED              [ 88%]
grading/test_qam16.py::test_constellation_file_exists SKIPPED (16-QA...) [100%]

========================= 8 passed, 1 skipped in 0.45s =========================

点击查看报告检查详情
==================================================
实验报告检查
==================================================
❌ 未找到实验报告文件 (REPORT.md)
扣分: -15分

最终报告得分: 0


💡 提示

  • 如果测试未通过,请查看上方的详细错误信息
  • 修改代码后重新提交会触发自动评分
  • 完整评分报告可在 Actions 的 Artifacts 中下载

评分时间: 2026/4/28 22:17:41

@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @Mplus0

============================================================
数字调制解调实验 - 自动评分系统
============================================================

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

2️⃣  BPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

3️⃣  QPSK调制测试 (25分)
  通过测试: 0/1
  得分: 0/25

4️⃣  16-QAM调制测试 (20分)
  通过测试: 0/1
  得分: 0/20

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

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

7️⃣  选做任务加分
  ✅ 解调功能已实现: +10分

============================================================
总分: 35/100
等级: F (不及格)
============================================================

详细评分报告已保存到: grade_report.json


📊 详细测试结果

点击查看BPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 7 items

grading/test_bpsk.py::TestBPSK::test_basic_mapping PASSED                [ 14%]
grading/test_bpsk.py::TestBPSK::test_all_zeros PASSED                    [ 28%]
grading/test_bpsk.py::TestBPSK::test_all_ones PASSED                     [ 42%]
grading/test_bpsk.py::TestBPSK::test_symbol_values PASSED                [ 57%]
grading/test_bpsk.py::TestBPSK::test_random_sequence PASSED              [ 71%]
grading/test_bpsk.py::TestBPSK::test_large_sequence PASSED               [ 85%]
grading/test_bpsk.py::test_constellation_file_exists SKIPPED (BPSK星...) [100%]

========================= 6 passed, 1 skipped in 0.42s =========================

点击查看QPSK测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qpsk.py::TestQPSK::test_input_length_validation PASSED      [ 11%]
grading/test_qpsk.py::TestQPSK::test_output_length PASSED                [ 22%]
grading/test_qpsk.py::TestQPSK::test_gray_code_mapping PASSED            [ 33%]
grading/test_qpsk.py::TestQPSK::test_unit_energy PASSED                  [ 44%]
grading/test_qpsk.py::TestQPSK::test_four_constellation_points PASSED    [ 55%]
grading/test_qpsk.py::TestQPSK::test_phase_distribution PASSED           [ 66%]
grading/test_qpsk.py::TestQPSK::test_average_power PASSED                [ 77%]
grading/test_qpsk.py::TestQPSK::test_consecutive_pairs PASSED            [ 88%]
grading/test_qpsk.py::test_constellation_file_exists SKIPPED (QPSK星...) [100%]

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

点击查看16-QAM测试详情
============================= 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-modulation-experiment/wireless-modulation-experiment
plugins: cov-7.1.0
collecting ... collected 9 items

grading/test_qam16.py::TestQAM16::test_input_length_validation PASSED    [ 11%]
grading/test_qam16.py::TestQAM16::test_output_length PASSED              [ 22%]
grading/test_qam16.py::TestQAM16::test_sixteen_constellation_points PASSED [ 33%]
grading/test_qam16.py::TestQAM16::test_iq_component_values PASSED        [ 44%]
grading/test_qam16.py::TestQAM16::test_power_normalization PASSED        [ 55%]
grading/test_qam16.py::TestQAM16::test_gray_code_mapping PASSED          [ 66%]
grading/test_qam16.py::TestQAM16::test_symbol_distribution PASSED        [ 77%]
grading/test_qam16.py::TestQAM16::test_corner_points PASSED              [ 88%]
grading/test_qam16.py::test_constellation_file_exists SKIPPED (16-QA...) [100%]

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

点击查看报告检查详情
==================================================
实验报告检查
==================================================
✅ 找到报告文件: REPORT.md

评分详情:
  ✅ 字数达标 (7733字)
  📋 章节完整性: 6/6 (12分)
  ✅ 包含图片引用 (4张)
  ✅ 包含代码示例 (5处)
  ✅ 包含参考文献

报告得分: 15/15

最终报告得分: 15


💡 提示

  • 如果测试未通过,请查看上方的详细错误信息
  • 修改代码后重新提交会触发自动评分
  • 完整评分报告可在 Actions 的 Artifacts 中下载

评分时间: 2026/4/29 18:46:56

@Mplus0
Copy link
Copy Markdown
Author

Mplus0 commented Apr 29, 2026

本次提交完成了以下实验任务:

  • 任务1:完成 BPSK 调制函数实现
  • 任务2:完成 QPSK 调制函数实现
  • 任务3:完成 16-QAM 调制函数实现
  • 任务4:完成 BPSK / QPSK / 16-QAM 解调函数实现(选做)
  • 任务5:完成 BER 性能测试与性能对比曲线绘制(选做)
    已生成结果文件:
  • BPSK 星座图
  • QPSK 星座图
  • 16-QAM 星座图
  • BER 对比图及各调制方式 BER 曲线图

@Mplus0 Mplus0 closed this Apr 29, 2026
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.

2 participants