• 请不要在回答技术问题时复制粘贴 AI 生成的内容
shylockhg
V2EX  ›  程序员

Github copilot 震惊我了

  •  1
     
  •   shylockhg · Jul 17, 2023 · 4021 views
    This topic created in 1206 days ago, the information mentioned may be changed or developed.

    刚浏览完 https://en.cppreference.com/w/cpp/regex/ecmascript ,然后写代码,copilot 居然在注释里给我补全了这个参考链接。。

    9 replies  •  2023-07-18 15:32:14 +08:00
    fqy12300
    fqy12300
    Jul 17, 2023
    1
    会不会是巧合?
    malusama
    malusama
    Jul 17, 2023
    2
    搜索 github.com 的代码确实有不少文件里都有这个注释啊
    NoOneNoBody
    NoOneNoBody
    Jul 17, 2023❤️2
    3
    我怎么想起隔壁监听那帖子 🐶
    dayeye2006199
    dayeye2006199
    Jul 18, 2023
    4
    想多了,就是训练数据里面提多人提到这个链接了。

    AI 没那么神奇
    cherryas
    cherryas
    Jul 18, 2023❤️1
    5
    很正常,copilot 会读你的剪切板
    neptuno
    neptuno
    Jul 18, 2023
    6
    之前还补全出了很多公司名称呢,可能有些人把公司代码上传到 public 代码库了
    flexbug
    flexbug
    Jul 18, 2023
    7
    我之前玩过这个,让他用 python 写一个贪吃蛇游戏,然后补全了一堆,我一搜一看是 CSDN 上面的
    shylockhg
    shylockhg
    OP
    Jul 18, 2023
    8
    @cherryas 剪切板没有,我专门看过
    vituralfuture
    vituralfuture
    Jul 18, 2023 via Android
    9
    我也经常遇到类似的情况,刚刚在浏览器里看了 BOM 的某个属性,然后切换到 webstorm ,一输入 window ,居然把我刚刚学的那个属性给补全了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1373 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 20:46 · PVG 04:46 · LAX 12:46 · JFK 15:46
    ♥ Do have faith in what you're doing.