20231026 test
Proj CDeepFuzz Paper Reading: Balancing Effectiveness and Flakiness of Non-Deterministic Machine Learning Tests
## Abstract 背景:In fact, some of the latest findings suggest that the existence of adversarial attacks may be an inherent weakness of deep learning mod ......
Proj CDeepFuzz Paper Reading: COMET: Coverage-guided Model Generation For Deep Learning Library Testing
## Abstract 背景:已有的方法(Muffin, Lemon, Cradle) can cover at most 34.1% layer inputs, 25.9% layer parameter values, and 15.6% layer sequences. 本文:COMET Gi ......
Postman 中 Tests 解密脚本 CryptoJS-AES-ECB-128
参考链接:http://jser.io/2014/08/19/how-to-use-aes-in-crypto-js-to-encrypt-and-decrypt Aug 19, 2014 //打印查看需解密的内容 console.log(pm.response.json().data) // 一般 ......
test20230905
#### 写在前面的话 $80+80+100+30=290 , \text{rank3}$ ,发现自己还是太菜了。 这次比赛挂大分,算下来掉了 $40$ 分。本质上还是我自己对于问题的考虑不够全面,思维不够严谨。不好评价。 ### T1 题目描述:现在有 $n$ 个区间,你需要选出一些区间,然后设这 ......
Proj CDeepFuzz Paper Reading: Differential Testing of Cross Deep Learning Framework APIs: Revealing Inconsistencies and Vulnerabilities
## Abstract 背景:目前对cross-framework conversion中的inconsistencies和security bugs的研究少有 本文:TensorScope Task: test cross-frame APIs in Machine Learning Librar ......
2023.9.4 Online test
#### A 有一家公司,现在有 $n(n\le 5e5)$ 人来应聘,每个人有两个属性 $a,b$。 表示他最多可以连续工作 $a$ 小时,表示它两次工作之间的间隔必须大于等于 $b$ 小时。 现在要雇佣最少的人,满足能够按某种排列无限工作。 若当前雇佣了若干人,能无限工作的条件是 $\sum a ......
Proj CDeepFuzz Paper Reading: DeepTest: automated testing of deep-neural-network-driven autonomous cars
## Abstract 本文: DeepTest Task: a systematic testing tool for DNN-driven vehicles Method: 1. generated test cases with real-world changes like rain, fo ......
Proj CDeepFuzz Paper Reading: DeepGauge: multi-granularity testing criteria for deep learning systems
## Abstract 本文: DeepGauge Task: provide multi-granularity testing criteria for DL systems Method: multi-granularity testing criteria for DL systems: 1 ......
test20230904
#### 写在前面的话 今天考试 $60+100+100+20=280$, $\text{rank1}$ ,但一定是运气好。T4 因为没有考虑周全所以挂了 $10$ 分。 我也意识到考试代码实现的精确离不开日常的练习,不能不重视模板的熟练。争取以后考试可以做到不挂分。 ### T1 简要题意:有若干 ......
Proj CDeepFuzz Paper Reading: Combinatorial Testing for Deep Learning Systems
## Abstract 本文:DeepCT Task: Testing DL Models with Combinatorial Testing Method: 1. 将输出值的空间离散化为区间,以便覆盖每个区间,对不同层内的神经元交互进⾏采样,并减少必须执⾏的测试输⼊的数量。 2. a set o ......
mvn test 执行testng测试用例
maven项目,把testng用例放在test目录下,配置pom.xml 文件如下,执行mvn test 能自动执行testng里面的用例。 pom文件配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww ......
@Test 报错
问题:使用jdbc事务连接数据库时,用到@Test 进行测试,一直爆红。 解决: 1. 快捷键:Alt+Enter,查看错误原因,无法导入junit4依赖; 2. 在file --> Project Structure中引入Junit4依赖 在第(2.3)个步骤中导入idea中lib下的jar包 3 ......
Proj CDeepFuzz Paper Reading: ACETest: Automated Constraint Extraction for Testing Deep Learning Operators
## Abstract Github: https://github.com/shijy16/ACETest 背景: 1. DL operators 用来计算多维tensors,很重要 本文:ACETest Task: automatically extract input validation c ......
基准测试(Benchmark Test)
>基准测试,也称之为性能测试,是一种用于衡量计算机系统,软件应用或硬件组件性能的测试方法。基准测试旨在通过运行一系列标准化的任务场景来测量系统的性能表现,从而帮助评估系统的各种指标,如响应时间、吞吐量、延迟、资源利用率等。 基准测试的目的在于比较不同系统、不同配置或不同实现之间的性能差异,或者在系统 ......
test20230830
# $\text{Luogu2860}$ ## 题目简述 给定一张 $n$ 个点 $m$ 条边的无向图,问至少添加多少条边才可以将图补成一张边双图。 ## 思路点拨 警钟长鸣:图可能不连通。 我们考虑如果一个子图就是边双那么就可以不管他,自然缩边双之后考虑树上问题。怎么补全呢?就是每一次挑选出树的直 ......
VSCODE 关闭 go 的test缓存
`Ctrl + ,` 进入设置,搜索 `go testFlags` ![image](https://img2023.cnblogs.com/blog/2146100/202308/2146100-20230829233851922-925799478.png) 点击 `Edit in settin ......
Proj CDeepFuzz Paper Reading: Aries: Efficient Testing of Deep Neural Networks via Labeling-Free Accuracy Estimation
## Abstract 背景: 1. the de facto standard to assess the quality of DNNs in the industry is to check their performance (accuracy) on a collected set of ......
Proj CDeepFuzz Paper Reading: SyRust: automatic testing of Rust libraries with semantic-aware program synthesis
## Abstract 背景: 1. unsafe能够绕开rust type system 2. rust libraries中常有许多unsafe keyword 本文:SyRust Task: fuzz Rust library APIs Challenge: synthesize well-t ......
test
☕ 在博客园中安装皮肤 ⚡ 仅需几步就能在你的博客园快速安装皮肤;🎬 如果感到力不从心,我还精心制作了「视频教程」供你参考;👾 当你的配置出现语法错误时,可能无法进入博客了。不用担心,随时都可以点击 博客后台 - 博客园 进入博客园后台页面,重新配置。1打开你的博客首页 -> 管理 -> 设置 ......
Proj CDeepFuzz Paper Reading: Deepxplore: Automated whitebox testing of deep learning systems
## Abstract 背景:现有的深度学习测试在很⼤程度上依赖于⼿动标记的数据,因此通常⽆法暴露罕⻅输⼊的错误⾏为。 本文:DeepXplore Task: a white-box framework to test DL Models 方法: 1. neuron coverage 2. diff ......
Vue Components Testing All In One
Vue Components Testing All In One
TDD / 测试驱动开发
......
报错test_features2d.cpp:51:10: fatal error: features2d/test/test_detectors_regression.impl.hpp: 没有那个文件
问题描述: ubuntu18.04安装opencv4.5.1+contrib 报错test_features2d.cpp:51:10: fatal error: features2d/test/test_detectors_regression.impl.hpp: 没有那个文件或目录 解决方法如题, ......
Debian testing更新遇到依赖错误
gnustep-base-runtime : Depends: gnustep-base-common (= 1.29.0-6) but 1.28.1+really1.28.0-5 is to be installed Bing答案 Clear out the local repository of ......
test0822考试总结
#### 写在前面的话 $\text{Rank2}$ ,$100+100+30+0$ ,可惜还是太菜了。 发现自己的博弈论还是不会,并且做过的题目有点少。 ## 最长不互质子序列 ### 题目描述 现在有一个长度为 $n$ 的序列 $a$ ,我们希望找到一个最长的子序列满足相邻两个数不互质。求这个最 ......
全网最不墨迹解决方法,使用python3 worksheet.save()方式 出现:Test_list.worksheet.save("test_list.xlsx") AttributeError: 'Worksheet' object has no attribute 'save'
这是因为Worksheet对象没有save方法。要保存Excel工作簿,你需要使用Workbook对象的save方法。 下面是一个修正后的示例代码: from openpyxl import Workbook # 创建一个工作簿 workbook = Workbook() # 选择默认的活动工作表 ......
111test
##基本解法 **数位dp就是换一种暴力枚举的方式,使得新的枚举方式符合dp的性质,提前预处理好即可。** 我们可以用$f(n)$表示$[0,n]$的所有满足条件的个数,那么求$[l,r]$的答案就可以用$f(r)-f(l-1)$得到,相当于前缀和思想。也就是说我们只需要求出$f(n)$即可。 那么 ......
传token给食物类,通过新写一个test.py去调用登录类和食物类
#\libs\request_test.pyfrom libs.login_my import Login from libs.food_my import Food # 调用登录获得token l=Login() t=l.login(is_need_token=True) # 将登录获得的toke ......
test1
[toc] # 1 ## 1.1 1111111111 ``` code ``` # 2 ## 2.1 2.1.1.1.1.1 ## 2.2 2.2.2.2.2 >1 >111 >1 >111 ......
test20230817考试总结(思维训练)
# 前言 这一次思维训练,我感觉到了巨佬们的强大,也感受到了我与巨佬们的差距。 | A | B | C | D | E | F | | | | | | | | | **√** | **√** | **√** | **√** | **✖** | **√** | # A ## Problem 给定一个长 ......