Skip to content

Fix typos #1346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Fix typos #1346

wants to merge 2 commits into from

Conversation

kianmeng
Copy link

Found via codespell -L te,counterfit,afile and typos --hidden --format brief

Found via `codespell -L te,counterfit,afile` and `typos --hidden
--format brief`
@@ -153,7 +153,7 @@ Projects using cmd2
| [Poseidon](https://github.com/CyberReboot/poseidon) | Leverages software-defined networks (SDNs) to acquire and then feed network traffic to a number of machine learning techniques. | |
| [Unipacker](https://github.com/unipacker/unipacker) | Automatic and platform-independent unpacker for Windows binaries based on emulation | |
| [tomcatmanager](https://github.com/tomcatmanager/tomcatmanager) | A command line tool and python library for managing a tomcat server | |
| [Expliot](https://gitlab.com/expliot_framework/expliot) | Internet of Things (IoT) exploitation framework | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the name of the package and not a typo

@@ -5,7 +5,7 @@ Application Name, Description
[Poseidon](https://github.com/CyberReboot/poseidon),Leverages software-defined networks (SDNs) to acquire and then feed network traffic to a number of machine learning techniques.
[Unipacker](https://github.com/unipacker/unipacker),Automatic and platform-independent unpacker for Windows binaries based on emulation
[tomcatmanager](https://github.com/tomcatmanager/tomcatmanager),A command line tool and python library for managing a tomcat server
[Expliot](https://gitlab.com/expliot_framework/expliot),Internet of Things (IoT) exploitation framework
[Exploit](https://gitlab.com/expliot_framework/expliot),Internet of Things (IoT) exploitation framework
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same name of package not a typo

@@ -6,10 +6,10 @@ Genre:



Name: Microsoft/ Azure Counterfit
Name: Microsoft/ Azure Counterfeit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also name of a package

Copy link
Member

@kmvanbrunt kmvanbrunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this pull request. I appreciate you fixing our typos.
However, a few of the changes are incorrect. Please make the requested changes.

@@ -153,7 +153,7 @@ Projects using cmd2
| [Poseidon](https://github.com/CyberReboot/poseidon) | Leverages software-defined networks (SDNs) to acquire and then feed network traffic to a number of machine learning techniques. | |
| [Unipacker](https://github.com/unipacker/unipacker) | Automatic and platform-independent unpacker for Windows binaries based on emulation | |
| [tomcatmanager](https://github.com/tomcatmanager/tomcatmanager) | A command line tool and python library for managing a tomcat server | |
| [Expliot](https://gitlab.com/expliot_framework/expliot) | Internet of Things (IoT) exploitation framework | |
| [Exploit](https://gitlab.com/expliot_framework/expliot) | Internet of Things (IoT) exploitation framework | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Expliot" is the name of the software. It's not a typo.

@@ -5,7 +5,7 @@ Application Name, Description
[Poseidon](https://github.com/CyberReboot/poseidon),Leverages software-defined networks (SDNs) to acquire and then feed network traffic to a number of machine learning techniques.
[Unipacker](https://github.com/unipacker/unipacker),Automatic and platform-independent unpacker for Windows binaries based on emulation
[tomcatmanager](https://github.com/tomcatmanager/tomcatmanager),A command line tool and python library for managing a tomcat server
[Expliot](https://gitlab.com/expliot_framework/expliot),Internet of Things (IoT) exploitation framework
[Exploit](https://gitlab.com/expliot_framework/expliot),Internet of Things (IoT) exploitation framework
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Expliot" is the name of the software. It's not a typo.

@@ -6,10 +6,10 @@ Genre:



Name: Microsoft/ Azure Counterfit
Name: Microsoft/ Azure Counterfeit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Azure Counterfit" is the name of the software. It's not a typo.

Source Code: https://github.com/Azure/counterfit
Status: Active
Description: Counterfit is a command-line tool and generic automation layer for assessing the security of machine learning systems.
Description: Counterfeit is a command-line tool and generic automation layer for assessing the security of machine learning systems.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Azure Counterfit" is the name of the software. It's not a typo.

@@ -876,16 +876,16 @@ def test_find_editor_not_specified():


def test_similarity():
suggested_command = cu.suggest_similar("comand", ["command", "UNRELATED", "NOT_SIMILAR"])
suggested_command = cu.suggest_similar("command", ["command", "UNRELATED", "NOT_SIMILAR"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unit test requires "command" to be misspelled. It's not a typo.

assert suggested_command == "command"
suggested_command = cu.suggest_similar("command", ["COMMAND", "acommands"])
assert suggested_command == "COMMAND"


def test_similarity_without_good_canididates():
suggested_command = cu.suggest_similar("comand", ["UNRELATED", "NOT_SIMILAR"])
suggested_command = cu.suggest_similar("command", ["UNRELATED", "NOT_SIMILAR"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unit test requires "command" to be misspelled. It's not a typo.

assert suggested_command is None
suggested_command = cu.suggest_similar("comand", [])
suggested_command = cu.suggest_similar("command", [])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This unit test requires "command" to be misspelled. It's not a typo.

@tleonhardt
Copy link
Member

@kianmeng Thanks for this PR. We appreciate the typos you fixed. If you can address comments from the two of us to fix the things which actually are not typos, we would be happy to merge this in. Thanks again!

@kmvanbrunt
Copy link
Member

Closing since I'm doing this in another branch.

@kianmeng
Copy link
Author

@tleonhardt @kmvanbrunt Sorry guys, just saw your messages.

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.

3 participants